From 1bfb2efbb6075a0c4f34770433b4b3c5a7c3b0e7 Mon Sep 17 00:00:00 2001 From: Matthew Leibowitz Date: Wed, 29 Jun 2022 15:47:08 +0200 Subject: [PATCH] Re-generated the docs --- .../2.88.1/SkiaSharp.SceneGraph.md | 25 ++++ .../2.88.1/SkiaSharp.Skottie.md | 51 +++++++ .../2.88.1/SkiaSharp.Views.Windows.md | 141 ++++++++++++++++++ docs | 2 +- 4 files changed, 218 insertions(+), 1 deletion(-) create mode 100644 changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.SceneGraph.md create mode 100644 changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.Skottie.md create mode 100644 changelogs/SkiaSharp.Views.Uno.WinUI/2.88.1/SkiaSharp.Views.Windows.md diff --git a/changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.SceneGraph.md b/changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.SceneGraph.md new file mode 100644 index 0000000000..d9322dd892 --- /dev/null +++ b/changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.SceneGraph.md @@ -0,0 +1,25 @@ +# API diff: SkiaSharp.SceneGraph.dll + +## SkiaSharp.SceneGraph.dll + +> Assembly Version Changed: 2.88.0.0 vs 0.0.0.0 + +### New Namespace SkiaSharp.SceneGraph + +#### New Type: SkiaSharp.SceneGraph.InvalidationController + +```csharp +public class InvalidationController : SkiaSharp.SKObject, System.IDisposable { + // constructors + public InvalidationController (); + // properties + public SkiaSharp.SKRect Bounds { get; } + // methods + public void Begin (); + protected override void DisposeNative (); + public void End (); + public void Invalidate (SkiaSharp.SKRect rect, SkiaSharp.SKMatrix matrix); + public void Reset (); +} +``` + diff --git a/changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.Skottie.md b/changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.Skottie.md new file mode 100644 index 0000000000..3f2516e4c9 --- /dev/null +++ b/changelogs/SkiaSharp.Skottie/2.88.1/SkiaSharp.Skottie.md @@ -0,0 +1,51 @@ +# API diff: SkiaSharp.Skottie.dll + +## SkiaSharp.Skottie.dll + +> Assembly Version Changed: 2.88.0.0 vs 0.0.0.0 + +### New Namespace SkiaSharp.Skottie + +#### New Type: SkiaSharp.Skottie.Animation + +```csharp +public class Animation : SkiaSharp.SKObject, System.IDisposable { + // properties + public System.TimeSpan Duration { get; } + public double Fps { get; } + public double InPoint { get; } + public double OutPoint { get; } + public SkiaSharp.SKSize Size { get; } + public string Version { get; } + // methods + public static Animation Create (SkiaSharp.SKData data); + public static Animation Create (SkiaSharp.SKStream stream); + public static Animation Create (System.IO.Stream stream); + public static Animation Create (string path); + protected override void DisposeNative (); + public static Animation Parse (string json); + public void Render (SkiaSharp.SKCanvas canvas, SkiaSharp.SKRect dst); + public void Render (SkiaSharp.SKCanvas canvas, SkiaSharp.SKRect dst, AnimationRenderFlags flags); + public void Seek (double percent, SkiaSharp.SceneGraph.InvalidationController ic); + public void SeekFrame (double frame, SkiaSharp.SceneGraph.InvalidationController ic); + public void SeekFrameTime (double seconds, SkiaSharp.SceneGraph.InvalidationController ic); + public void SeekFrameTime (System.TimeSpan time, SkiaSharp.SceneGraph.InvalidationController ic); + public static bool TryCreate (SkiaSharp.SKData data, out Animation animation); + public static bool TryCreate (SkiaSharp.SKStream stream, out Animation animation); + public static bool TryCreate (System.IO.Stream stream, out Animation animation); + public static bool TryCreate (string path, out Animation animation); + public static bool TryParse (string json, out Animation animation); +} +``` + +#### New Type: SkiaSharp.Skottie.AnimationRenderFlags + +```csharp +[Serializable] +[Flags] +public enum AnimationRenderFlags { + DisableTopLevelClipping = 2, + SkipTopLevelIsolation = 1, +} +``` + diff --git a/changelogs/SkiaSharp.Views.Uno.WinUI/2.88.1/SkiaSharp.Views.Windows.md b/changelogs/SkiaSharp.Views.Uno.WinUI/2.88.1/SkiaSharp.Views.Windows.md new file mode 100644 index 0000000000..95202cb314 --- /dev/null +++ b/changelogs/SkiaSharp.Views.Uno.WinUI/2.88.1/SkiaSharp.Views.Windows.md @@ -0,0 +1,141 @@ +# API diff: SkiaSharp.Views.Windows.dll + +## SkiaSharp.Views.Windows.dll + +> Assembly Version Changed: 2.88.0.0 vs 0.0.0.0 + +### New Namespace SkiaSharp.Views.Windows + +#### New Type: SkiaSharp.Views.Windows.Extensions + +```csharp +public static class Extensions { + // methods + public static System.Drawing.PointF ToDrawingPoint (this SkiaSharp.SKPoint point); + public static System.Drawing.Point ToDrawingPoint (this SkiaSharp.SKPointI point); + public static System.Drawing.RectangleF ToDrawingRect (this SkiaSharp.SKRect rect); + public static System.Drawing.Rectangle ToDrawingRect (this SkiaSharp.SKRectI rect); + public static System.Drawing.SizeF ToDrawingSize (this SkiaSharp.SKSize size); + public static System.Drawing.Size ToDrawingSize (this SkiaSharp.SKSizeI size); + public static SkiaSharp.SKPointI ToSKPoint (this System.Drawing.Point point); + public static SkiaSharp.SKPoint ToSKPoint (this System.Drawing.PointF point); + public static SkiaSharp.SKRectI ToSKRect (this System.Drawing.Rectangle rect); + public static SkiaSharp.SKRect ToSKRect (this System.Drawing.RectangleF rect); + public static SkiaSharp.SKSizeI ToSKSize (this System.Drawing.Size size); + public static SkiaSharp.SKSize ToSKSize (this System.Drawing.SizeF size); +} +``` + +#### New Type: SkiaSharp.Views.Windows.GlobalStaticResources + +```csharp +public sealed class GlobalStaticResources { + // constructors + public GlobalStaticResources (); + // methods + + [Obsolete] +public static object FindResource (string name); + public static void Initialize (); + public static void RegisterDefaultStyles (); + public static void RegisterResourceDictionariesBySource (); +} +``` + +#### New Type: SkiaSharp.Views.Windows.SKPaintGLSurfaceEventArgs + +```csharp +public class SKPaintGLSurfaceEventArgs : System.EventArgs { + // constructors + public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget); + + [Obsolete] +public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget); + public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType); + public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKImageInfo info); + + [Obsolete] +public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType, SkiaSharp.GRGlFramebufferInfo glInfo); + public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKImageInfo info, SkiaSharp.SKImageInfo rawInfo); + // properties + public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; } + public SkiaSharp.SKColorType ColorType { get; } + public SkiaSharp.SKImageInfo Info { get; } + public SkiaSharp.GRSurfaceOrigin Origin { get; } + public SkiaSharp.SKImageInfo RawInfo { get; } + + [Obsolete] +public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; } + public SkiaSharp.SKSurface Surface { get; } +} +``` + +#### New Type: SkiaSharp.Views.Windows.SKPaintSurfaceEventArgs + +```csharp +public class SKPaintSurfaceEventArgs : System.EventArgs { + // constructors + public SKPaintSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info); + public SKPaintSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info, SkiaSharp.SKImageInfo rawInfo); + // properties + public SkiaSharp.SKImageInfo Info { get; } + public SkiaSharp.SKImageInfo RawInfo { get; } + public SkiaSharp.SKSurface Surface { get; } +} +``` + +#### New Type: SkiaSharp.Views.Windows.SKSwapChainPanel + +```csharp +public class SKSwapChainPanel : Microsoft.UI.Xaml.FrameworkElement { + // constructors + public SKSwapChainPanel (); + // properties + public SkiaSharp.SKSize CanvasSize { get; } + public double ContentsScale { get; } + public bool DrawInBackground { get; set; } + public bool EnableRenderLoop { get; set; } + public SkiaSharp.GRContext GRContext { get; } + public static bool RaiseOnUnsupported { get; set; } + // events + public event System.EventHandler PaintSurface; + // methods + public void Invalidate (); + protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e); +} +``` + +#### New Type: SkiaSharp.Views.Windows.SKXamlCanvas + +```csharp +public class SKXamlCanvas : Microsoft.UI.Xaml.Controls.Canvas { + // constructors + public SKXamlCanvas (); + // properties + public SkiaSharp.SKSize CanvasSize { get; } + public double Dpi { get; } + public bool IgnorePixelScaling { get; set; } + // events + public event System.EventHandler PaintSurface; + // methods + public void Invalidate (); + protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e); +} +``` + +#### New Type: SkiaSharp.Views.Windows.UWPExtensions + +```csharp +public static class UWPExtensions { + // methods + public static Windows.UI.Color ToColor (this SkiaSharp.SKColor color); + public static Windows.Foundation.Point ToPoint (this SkiaSharp.SKPoint point); + public static Windows.Foundation.Rect ToRect (this SkiaSharp.SKRect rect); + public static SkiaSharp.SKColor ToSKColor (this Windows.UI.Color color); + public static SkiaSharp.SKPoint ToSKPoint (this Windows.Foundation.Point point); + public static SkiaSharp.SKRect ToSKRect (this Windows.Foundation.Rect rect); + public static SkiaSharp.SKSize ToSKSize (this Windows.Foundation.Size size); + public static Windows.Foundation.Size ToSize (this SkiaSharp.SKSize size); +} +``` + diff --git a/docs b/docs index 1b6a018f40..6cf1350e4a 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 1b6a018f40336f28c460e98e3bff86510cd92af3 +Subproject commit 6cf1350e4ab3c9ec6c4e711fecd7ff2ab7be4089