A cross-platform UI framework for .NET
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

31 lines
802 B

using System;
using Avalonia.Media.Imaging;
using Avalonia.Media.Immutable;
using Avalonia.Metadata;
using Avalonia.Platform;
using Avalonia.Rendering.Composition.Drawing;
namespace Avalonia.Media
{
[NotClientImplementable]
public interface ISceneBrush : ITileBrush
{
ISceneBrushContent? CreateContent();
}
[NotClientImplementable]
public interface ISceneBrushContent : IImmutableBrush, IDisposable
{
ITileBrush Brush { get; }
Rect Rect { get; }
void Render(IDrawingContextImpl context, Matrix? transform);
internal bool UseScalableRasterization { get; }
}
internal class ImmutableSceneBrush : ImmutableTileBrush
{
public ImmutableSceneBrush(ITileBrush source) : base(source)
{
}
}
}