Back to Skiasharp

API diff: SkiaSharp.Views.Windows.dll

changelogs/SkiaSharp.Views.WinUI/3.116.0/SkiaSharp.Views.Windows.md

3.119.23.2 KB
Original Source

API diff: SkiaSharp.Views.Windows.dll

SkiaSharp.Views.Windows.dll

Assembly Version Changed: 3.116.0.0 vs 2.88.0.0

Namespace SkiaSharp.Views.Windows

Type Changed: SkiaSharp.Views.Windows.SKPaintGLSurfaceEventArgs

Removed constructors:

csharp
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);

[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.GRGlFramebufferInfo glInfo);

Removed property:

csharp
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }

Removed Type SkiaSharp.Views.Windows.Extensions

New Type: SkiaSharp.Views.Windows.AngleSwapChainPanel

csharp
public class AngleSwapChainPanel : Microsoft.UI.Xaml.Controls.SwapChainPanel, Microsoft.UI.Composition.IAnimationObject, Microsoft.UI.Composition.IVisualElement, Microsoft.UI.Composition.IVisualElement2, System.IEquatable<Microsoft.UI.Xaml.Controls.Grid>, System.IEquatable<Microsoft.UI.Xaml.Controls.Panel>, System.IEquatable<Microsoft.UI.Xaml.Controls.SwapChainPanel>, System.IEquatable<Microsoft.UI.Xaml.DependencyObject>, System.IEquatable<Microsoft.UI.Xaml.FrameworkElement>, System.IEquatable<Microsoft.UI.Xaml.UIElement>, System.Runtime.InteropServices.ICustomQueryInterface, System.Runtime.InteropServices.IDynamicInterfaceCastable, WinRT.IWinRTObject {
	// 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);
}

New Type: SkiaSharp.Views.Windows.SKSwapChainPanel

csharp
public class SKSwapChainPanel : SkiaSharp.Views.Windows.AngleSwapChainPanel, Microsoft.UI.Composition.IAnimationObject, Microsoft.UI.Composition.IVisualElement, Microsoft.UI.Composition.IVisualElement2, System.IEquatable<Microsoft.UI.Xaml.Controls.Grid>, System.IEquatable<Microsoft.UI.Xaml.Controls.Panel>, System.IEquatable<Microsoft.UI.Xaml.Controls.SwapChainPanel>, System.IEquatable<Microsoft.UI.Xaml.DependencyObject>, System.IEquatable<Microsoft.UI.Xaml.FrameworkElement>, System.IEquatable<Microsoft.UI.Xaml.UIElement>, System.Runtime.InteropServices.ICustomQueryInterface, System.Runtime.InteropServices.IDynamicInterfaceCastable, WinRT.IWinRTObject {
	// 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);
}