changelogs/SkiaSharp.Views.WinUI/3.0.0/SkiaSharp.Views.Windows.md
Assembly Version Changed: 3.0.0.0 vs 2.88.0.0
Removed constructors:
[Obsolete]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
[Obsolete]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.GRGlFramebufferInfo glInfo);
Removed property:
[Obsolete]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
public class AngleSwapChainPanel : Microsoft.UI.Xaml.Controls.SwapChainPanel {
// constructors
public AngleSwapChainPanel ();
// properties
public double ContentsScale { get; }
public bool DrawInBackground { get; set; }
public bool EnableRenderLoop { get; set; }
// methods
public void Invalidate ();
protected virtual void OnDestroyingContext ();
protected virtual void OnRenderFrame (Windows.Foundation.Rect rect);
}
public class SKSwapChainPanel : SkiaSharp.Views.Windows.AngleSwapChainPanel {
// constructors
public SKSwapChainPanel ();
// properties
public SkiaSharp.SKSize CanvasSize { get; }
public SkiaSharp.GRContext GRContext { get; }
// events
public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
// methods
protected override void OnDestroyingContext ();
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
protected override void OnRenderFrame (Windows.Foundation.Rect rect);
}