Re-generate all the docs
This commit is contained in:
Родитель
bee6a8a313
Коммит
2daba1d5d3
|
@ -48,7 +48,8 @@ var SUPPORT_VULKAN = SUPPORT_VULKAN_VAR == "1" || SUPPORT_VULKAN_VAR.ToLower ()
|
|||
|
||||
var MDocPath = Context.Tools.Resolve ("mdoc.exe");
|
||||
|
||||
DirectoryPath DOCS_PATH = MakeAbsolute(ROOT_PATH.Combine("docs/SkiaSharpAPI"));
|
||||
DirectoryPath DOCS_ROOT_PATH = ROOT_PATH.Combine("docs");
|
||||
DirectoryPath DOCS_PATH = DOCS_ROOT_PATH.Combine("SkiaSharpAPI");
|
||||
|
||||
var PREVIEW_LABEL = Argument ("previewLabel", EnvironmentVariable ("PREVIEW_LABEL") ?? "preview");
|
||||
var FEATURE_NAME = EnvironmentVariable ("FEATURE_NAME") ?? "";
|
||||
|
|
|
@ -87,6 +87,10 @@ Task ("docs-api-diff")
|
|||
};
|
||||
|
||||
foreach (var id in TRACKED_NUGETS.Keys) {
|
||||
// skip doc generation for NativeAssets as that has nothing but a native binary
|
||||
if (id.Contains ("NativeAssets"))
|
||||
continue;
|
||||
|
||||
Information ($"Comparing the assemblies in '{id}'...");
|
||||
|
||||
var version = GetVersion (id);
|
||||
|
@ -143,7 +147,15 @@ Task ("docs-api-diff-past")
|
|||
comparer.SaveAssemblyApiInfo = true;
|
||||
comparer.SaveAssemblyMarkdownDiff = true;
|
||||
|
||||
// some parts of SkiaSharp depend on other parts
|
||||
foreach (var dir in GetDirectories($"{PACKAGE_CACHE_PATH}/skiasharp/*/lib/netstandard2.0"))
|
||||
comparer.SearchPaths.Add(dir.FullPath);
|
||||
|
||||
foreach (var id in TRACKED_NUGETS.Keys) {
|
||||
// skip doc generation for NativeAssets as that has nothing but a native binary
|
||||
if (id.Contains ("NativeAssets"))
|
||||
continue;
|
||||
|
||||
Information ($"Comparing the assemblies in '{id}'...");
|
||||
|
||||
var allVersions = await NuGetVersions.GetAllAsync (id);
|
||||
|
@ -197,10 +209,14 @@ Task ("docs-update-frameworks")
|
|||
|
||||
// generate the temp frameworks.xml
|
||||
var xFrameworks = new XElement ("Frameworks");
|
||||
var monikers = new List<string> ();
|
||||
foreach (var id in TRACKED_NUGETS.Keys) {
|
||||
// skip doc generation for Uno, this is the same as UWP and it is not needed
|
||||
if (id.StartsWith ("SkiaSharp.Views.Uno"))
|
||||
continue;
|
||||
// skip doc generation for NativeAssets as that has nothing but a native binary
|
||||
if (id.Contains ("NativeAssets"))
|
||||
continue;
|
||||
|
||||
// get the versions
|
||||
Information ($"Comparing the assemblies in '{id}'...");
|
||||
|
@ -212,10 +228,10 @@ Task ("docs-update-frameworks")
|
|||
var dev = new NuGetVersion (GetVersion (id));
|
||||
allVersions = allVersions.Union (new [] { dev }).ToArray ();
|
||||
|
||||
// "merge" the patches
|
||||
// "merge" the patches so we only care about major.minor
|
||||
var merged = new Dictionary<string, NuGetVersion> ();
|
||||
foreach (var version in allVersions) {
|
||||
merged [$"{version.Major}.{version.Minor}.{version.Patch}"] = version;
|
||||
merged [$"{version.Major}.{version.Minor}"] = version;
|
||||
}
|
||||
|
||||
foreach (var version in merged) {
|
||||
|
@ -235,6 +251,8 @@ Task ("docs-update-frameworks")
|
|||
continue;
|
||||
else
|
||||
moniker = $"skiasharp-views-forms-{version.Key}";
|
||||
else if (id.StartsWith ("SkiaSharp.Views.Maui"))
|
||||
moniker = $"skiasharp-views-maui-{version.Key}";
|
||||
else if (id.StartsWith ("SkiaSharp.Views"))
|
||||
moniker = $"skiasharp-views-{version.Key}";
|
||||
else if (platform == null)
|
||||
|
@ -243,7 +261,8 @@ Task ("docs-update-frameworks")
|
|||
moniker = $"{id.ToLower ().Replace (".", "-")}-{platform}-{version.Key}";
|
||||
|
||||
// add the node to the frameworks.xml
|
||||
if (xFrameworks.Elements ("Framework")?.Any (e => e.Attribute ("Name").Value == moniker) != true) {
|
||||
if (!monikers.Contains (moniker)) {
|
||||
monikers.Add (moniker);
|
||||
xFrameworks.Add (
|
||||
new XElement ("Framework",
|
||||
new XAttribute ("Name", moniker),
|
||||
|
@ -257,12 +276,19 @@ Task ("docs-update-frameworks")
|
|||
}
|
||||
}
|
||||
}
|
||||
monikers.Sort ();
|
||||
|
||||
// save the frameworks.xml
|
||||
var fwxml = $"{docsTempPath}/frameworks.xml";
|
||||
var xdoc = new XDocument (xFrameworks);
|
||||
xdoc.Save (fwxml);
|
||||
|
||||
// update the docs json
|
||||
var docsJsonPath = DOCS_ROOT_PATH.CombineWithFilePath (".openpublishing.publish.config.json");
|
||||
var docsJson = ParseJsonFromFile (docsJsonPath);
|
||||
docsJson ["docsets_to_publish"][0]["monikers"] = new JArray (monikers.ToArray ());
|
||||
SerializeJsonToPrettyFile (docsJsonPath, docsJson);
|
||||
|
||||
// generate doc files
|
||||
comparer = await CreateNuGetDiffAsync ();
|
||||
var refArgs = string.Join (" ", comparer.SearchPaths.Select (r => $"--lib=\"{r}\""));
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: HarfBuzzSharp.dll
|
||||
|
||||
## HarfBuzzSharp.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: HarfBuzzSharp.dll
|
||||
|
||||
## HarfBuzzSharp.dll
|
||||
|
||||
> No changes.
|
|
@ -9,7 +9,7 @@
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Blob(IntPtr, int, MemoryMode, ReleaseDelegate releaseDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public Blob (IntPtr data, uint length, MemoryMode mode, object userData, BlobReleaseDelegate releaseDelegate);
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.HarfBuzz.dll
|
||||
|
||||
## SkiaSharp.HarfBuzz.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.HarfBuzz.dll
|
||||
|
||||
## SkiaSharp.HarfBuzz.dll
|
||||
|
||||
> No changes.
|
|
@ -35,7 +35,7 @@ public class SKPaintGLSurfaceEventArgs : System.EventArgs {
|
|||
// constructors
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
|
||||
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
|
||||
// properties
|
||||
|
@ -43,7 +43,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
public SkiaSharp.SKColorType ColorType { get; }
|
||||
public SkiaSharp.GRSurfaceOrigin Origin { get; }
|
||||
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Desktop.Common.dll
|
||||
|
||||
## SkiaSharp.Views.Desktop.Common.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Desktop.Common.dll
|
||||
|
||||
## SkiaSharp.Views.Desktop.Common.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -84,7 +84,7 @@ public sealed class SKBitmapImageSource : Xamarin.Forms.ImageSource, System.Comp
|
|||
#### New Type: SkiaSharp.Views.Forms.SKCanvasView
|
||||
|
||||
```csharp
|
||||
public class SKCanvasView : Xamarin.Forms.View, ISKCanvasViewController, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
public class SKCanvasView : Xamarin.Forms.View, ISKCanvasViewController, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
// constructors
|
||||
public SKCanvasView ();
|
||||
// fields
|
||||
|
@ -131,7 +131,7 @@ public abstract class SKCanvasViewRendererBase`2 : Xamarin.Forms.Platform.GTK.Vi
|
|||
#### New Type: SkiaSharp.Views.Forms.SKGLView
|
||||
|
||||
```csharp
|
||||
public class SKGLView : Xamarin.Forms.View, ISKGLViewController, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
public class SKGLView : Xamarin.Forms.View, ISKGLViewController, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
// constructors
|
||||
public SKGLView ();
|
||||
// fields
|
||||
|
@ -201,7 +201,7 @@ public class SKPaintGLSurfaceEventArgs : System.EventArgs {
|
|||
// constructors
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
|
||||
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
|
||||
// properties
|
||||
|
@ -209,7 +209,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
public SkiaSharp.SKColorType ColorType { get; }
|
||||
public SkiaSharp.GRSurfaceOrigin Origin { get; }
|
||||
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -70,7 +70,7 @@ public sealed class SKBitmapImageSource : Xamarin.Forms.ImageSource, System.Comp
|
|||
#### New Type: SkiaSharp.Views.Forms.SKCanvasView
|
||||
|
||||
```csharp
|
||||
public class SKCanvasView : Xamarin.Forms.View, ISKCanvasViewController, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
public class SKCanvasView : Xamarin.Forms.View, ISKCanvasViewController, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
// constructors
|
||||
public SKCanvasView ();
|
||||
// fields
|
||||
|
@ -117,7 +117,7 @@ public abstract class SKCanvasViewRendererBase`2 : Xamarin.Forms.Platform.WPF.Vi
|
|||
#### New Type: SkiaSharp.Views.Forms.SKGLView
|
||||
|
||||
```csharp
|
||||
public class SKGLView : Xamarin.Forms.View, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
public class SKGLView : Xamarin.Forms.View, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
// constructors
|
||||
public SKGLView ();
|
||||
// fields
|
||||
|
@ -171,7 +171,7 @@ public abstract class SKGLViewRendererBase`2 : Xamarin.Forms.Platform.WPF.ViewRe
|
|||
#### New Type: SkiaSharp.Views.Forms.SKHostedGLControl
|
||||
|
||||
```csharp
|
||||
public class SKHostedGLControl : System.Windows.Forms.Integration.WindowsFormsHost, System.ComponentModel.ISupportInitialize, System.IDisposable, System.Windows.IFrameworkInputElement, System.Windows.IInputElement, System.Windows.Interop.IKeyboardInputSink, System.Windows.Interop.IWin32Window, System.Windows.Markup.IQueryAmbient, System.Windows.Media.Animation.IAnimatable {
|
||||
public class SKHostedGLControl : System.Windows.Forms.Integration.WindowsFormsHost, System.ComponentModel.ISupportInitialize, System.IDisposable, System.Windows.IFrameworkInputElement, System.Windows.IInputElement, System.Windows.Interop.IWin32Window, System.Windows.Markup.IQueryAmbient, System.Windows.Media.Animation.IAnimatable {
|
||||
// constructors
|
||||
public SKHostedGLControl ();
|
||||
public SKHostedGLControl (OpenTK.Graphics.GraphicsMode mode);
|
||||
|
@ -236,7 +236,7 @@ public class SKPaintGLSurfaceEventArgs : System.EventArgs {
|
|||
// constructors
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
|
||||
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
|
||||
// properties
|
||||
|
@ -244,7 +244,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
public SkiaSharp.SKColorType ColorType { get; }
|
||||
public SkiaSharp.GRSurfaceOrigin Origin { get; }
|
||||
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -28,7 +28,7 @@ public static class Extensions {
|
|||
#### New Type: SkiaSharp.Views.Forms.SKCanvasView
|
||||
|
||||
```csharp
|
||||
public class SKCanvasView : Xamarin.Forms.View, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.INameScope {
|
||||
public class SKCanvasView : Xamarin.Forms.View, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
// constructors
|
||||
public SKCanvasView ();
|
||||
// properties
|
||||
|
@ -44,7 +44,7 @@ public class SKCanvasView : Xamarin.Forms.View, System.ComponentModel.INotifyPro
|
|||
#### New Type: SkiaSharp.Views.Forms.SKGLView
|
||||
|
||||
```csharp
|
||||
public class SKGLView : Xamarin.Forms.View, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.INameScope {
|
||||
public class SKGLView : Xamarin.Forms.View, System.ComponentModel.INotifyPropertyChanged, Xamarin.Forms.IAnimatable, Xamarin.Forms.IElementController, Xamarin.Forms.IGestureRecognizers, Xamarin.Forms.ITabStopElement, Xamarin.Forms.IViewController, Xamarin.Forms.IVisualElementController, Xamarin.Forms.Internals.IDynamicResourceHandler, Xamarin.Forms.Internals.IGestureController, Xamarin.Forms.Internals.INameScope, Xamarin.Forms.Internals.INavigationProxy {
|
||||
// constructors
|
||||
public SKGLView ();
|
||||
// fields
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -11,7 +11,7 @@
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -25,7 +25,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Forms.dll
|
||||
|
||||
## SkiaSharp.Views.Forms.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Gtk.dll
|
||||
|
||||
## SkiaSharp.Views.Gtk.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Gtk.dll
|
||||
|
||||
## SkiaSharp.Views.Gtk.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Gtk3.dll
|
||||
|
||||
## SkiaSharp.Views.Gtk3.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Gtk3.dll
|
||||
|
||||
## SkiaSharp.Views.Gtk3.dll
|
||||
|
||||
> No changes.
|
|
@ -45,7 +45,7 @@ public class SKPaintGLSurfaceEventArgs : System.EventArgs {
|
|||
// constructors
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
|
||||
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[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.SKColorType colorType, SkiaSharp.GRGlFramebufferInfo glInfo);
|
||||
|
@ -54,7 +54,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
public SkiaSharp.SKColorType ColorType { get; }
|
||||
public SkiaSharp.GRSurfaceOrigin Origin { get; }
|
||||
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
|
@ -75,7 +75,7 @@ public class SKPaintSurfaceEventArgs : System.EventArgs {
|
|||
#### New Type: SkiaSharp.Views.UWP.SKXamlCanvas
|
||||
|
||||
```csharp
|
||||
public class SKXamlCanvas : Windows.UI.Xaml.FrameworkElement, System.Collections.IEnumerable, System.IDisposable, Uno.UI.DataBinding.IWeakReferenceProvider, Windows.UI.Composition.IAnimationObject, Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.IDataContextProvider, Windows.UI.Xaml.IDependencyObjectStoreProvider, Windows.UI.Xaml.IFrameworkElement, Windows.UI.Xaml.ILayoutConstraints, Windows.UI.Xaml.IUIElement {
|
||||
public class SKXamlCanvas : Windows.UI.Xaml.FrameworkElement, System.Collections.IEnumerable, Uno.UI.DataBinding.IWeakReferenceProvider, Windows.UI.Composition.IAnimationObject, Windows.UI.Composition.IVisualElement, Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.IDataContextProvider, Windows.UI.Xaml.IDependencyObjectParse, Windows.UI.Xaml.IDependencyObjectStoreProvider, Windows.UI.Xaml.ILayoutConstraints {
|
||||
// constructors
|
||||
public SKXamlCanvas ();
|
||||
// properties
|
||||
|
|
|
@ -2,12 +2,80 @@
|
|||
|
||||
## SkiaSharp.Views.UWP.dll
|
||||
|
||||
### Namespace SkiaSharp.Views.UWP
|
||||
> Assembly Version Changed: 2.80.0.0 vs 0.0.0.0
|
||||
|
||||
### New Namespace SkiaSharp.Views.UWP
|
||||
|
||||
#### New Type: SkiaSharp.Views.UWP.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.UWP.GlobalStaticResources
|
||||
|
||||
```csharp
|
||||
public sealed class GlobalStaticResources {
|
||||
// constructors
|
||||
public GlobalStaticResources ();
|
||||
// methods
|
||||
public static object FindResource (string name);
|
||||
public static void Initialize ();
|
||||
}
|
||||
```
|
||||
|
||||
#### New Type: SkiaSharp.Views.UWP.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.SKColorType colorType, SkiaSharp.GRGlFramebufferInfo glInfo);
|
||||
// properties
|
||||
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
|
||||
public SkiaSharp.SKColorType ColorType { get; }
|
||||
public SkiaSharp.GRSurfaceOrigin Origin { get; }
|
||||
|
||||
[Obsolete]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
```
|
||||
|
||||
#### New Type: SkiaSharp.Views.UWP.SKPaintSurfaceEventArgs
|
||||
|
||||
```csharp
|
||||
public class SKPaintSurfaceEventArgs : System.EventArgs {
|
||||
// constructors
|
||||
public SKPaintSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
// properties
|
||||
public SkiaSharp.SKImageInfo Info { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
```
|
||||
|
||||
#### New Type: SkiaSharp.Views.UWP.SKSwapChainPanel
|
||||
|
||||
```csharp
|
||||
public class SKSwapChainPanel : Windows.UI.Xaml.FrameworkElement, System.Collections.IEnumerable, System.IDisposable, Uno.UI.DataBinding.IWeakReferenceProvider, Windows.UI.Composition.IAnimationObject, Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.IDataContextProvider, Windows.UI.Xaml.IDependencyObjectStoreProvider, Windows.UI.Xaml.IFrameworkElement, Windows.UI.Xaml.ILayoutConstraints, Windows.UI.Xaml.IUIElement {
|
||||
public class SKSwapChainPanel : Windows.UI.Xaml.FrameworkElement, System.Collections.IEnumerable, Uno.UI.DataBinding.IWeakReferenceProvider, Windows.UI.Composition.IAnimationObject, Windows.UI.Composition.IVisualElement, Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.IDataContextProvider, Windows.UI.Xaml.IDependencyObjectParse, Windows.UI.Xaml.IDependencyObjectStoreProvider, Windows.UI.Xaml.ILayoutConstraints {
|
||||
// constructors
|
||||
public SKSwapChainPanel ();
|
||||
// properties
|
||||
|
@ -24,5 +92,37 @@ public class SKSwapChainPanel : Windows.UI.Xaml.FrameworkElement, System.Collect
|
|||
}
|
||||
```
|
||||
|
||||
#### New Type: SkiaSharp.Views.UWP.SKXamlCanvas
|
||||
|
||||
```csharp
|
||||
public class SKXamlCanvas : Windows.UI.Xaml.FrameworkElement, System.Collections.IEnumerable, Uno.UI.DataBinding.IWeakReferenceProvider, Windows.UI.Composition.IAnimationObject, Windows.UI.Composition.IVisualElement, Windows.UI.Xaml.DependencyObject, Windows.UI.Xaml.IDataContextProvider, Windows.UI.Xaml.IDependencyObjectParse, Windows.UI.Xaml.IDependencyObjectStoreProvider, Windows.UI.Xaml.ILayoutConstraints {
|
||||
// constructors
|
||||
public SKXamlCanvas ();
|
||||
// properties
|
||||
public SkiaSharp.SKSize CanvasSize { get; }
|
||||
public double Dpi { get; }
|
||||
public bool IgnorePixelScaling { get; set; }
|
||||
// events
|
||||
public event System.EventHandler<SKPaintSurfaceEventArgs> PaintSurface;
|
||||
// methods
|
||||
public void Invalidate ();
|
||||
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
||||
}
|
||||
```
|
||||
|
||||
#### New Type: SkiaSharp.Views.UWP.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);
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("This method is provided for binary backward compatibility. It will always return null.")]
|
||||
[Obsolete ()]
|
||||
public static object FindResource (string name);
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.UWP.dll
|
||||
|
||||
## SkiaSharp.Views.UWP.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.WPF.dll
|
||||
|
||||
## SkiaSharp.Views.WPF.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.WPF.dll
|
||||
|
||||
## SkiaSharp.Views.WPF.dll
|
||||
|
||||
> No changes.
|
|
@ -33,7 +33,7 @@ public class SKPaintGLSurfaceEventArgs : System.EventArgs {
|
|||
// constructors
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
|
||||
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[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.SKColorType colorType, SkiaSharp.GRGlFramebufferInfo glInfo);
|
||||
|
@ -42,7 +42,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
public SkiaSharp.SKColorType ColorType { get; }
|
||||
public SkiaSharp.GRSurfaceOrigin Origin { get; }
|
||||
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
public SkiaSharp.SKSurface Surface { get; }
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ public class SKPaintSurfaceEventArgs : System.EventArgs {
|
|||
#### New Type: SkiaSharp.Views.Windows.SKXamlCanvas
|
||||
|
||||
```csharp
|
||||
public class SKXamlCanvas : Microsoft.UI.Xaml.Controls.Canvas, Microsoft.UI.Composition.IAnimationObject, Microsoft.UI.Composition.IVisualElement, Microsoft.UI.Composition.IVisualElement2, System.IEquatable<Microsoft.UI.Xaml.Controls.Canvas>, System.IEquatable<Microsoft.UI.Xaml.Controls.Panel>, System.IEquatable<Microsoft.UI.Xaml.DependencyObject>, System.IEquatable<Microsoft.UI.Xaml.FrameworkElement>, System.IEquatable<Microsoft.UI.Xaml.UIElement>, System.Runtime.InteropServices.ICustomQueryInterface, WinRT.IWinRTObject {
|
||||
public class SKXamlCanvas : Microsoft.UI.Xaml.Controls.Canvas, Microsoft.UI.Composition.IAnimationObject, Microsoft.UI.Composition.IVisualElement, Microsoft.UI.Composition.IVisualElement2, System.IEquatable<Microsoft.UI.Xaml.Controls.Canvas>, System.IEquatable<Microsoft.UI.Xaml.Controls.Panel>, 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 SKXamlCanvas ();
|
||||
// properties
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Windows.dll
|
||||
|
||||
## SkiaSharp.Views.Windows.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.WindowsForms.dll
|
||||
|
||||
## SkiaSharp.Views.WindowsForms.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.WindowsForms.dll
|
||||
|
||||
## SkiaSharp.Views.WindowsForms.dll
|
||||
|
||||
> No changes.
|
|
@ -72,7 +72,7 @@ public class SKCanvasView : Android.Views.View, Android.Graphics.Drawables.Drawa
|
|||
#### New Type: SkiaSharp.Views.Android.SKGLSurfaceView
|
||||
|
||||
```csharp
|
||||
public class SKGLSurfaceView : Android.Opengl.GLSurfaceView, Android.Graphics.Drawables.Drawable.ICallback, Android.Runtime.IJavaObject, Android.Views.Accessibility.IAccessibilityEventSource, Android.Views.ISurfaceHolderCallback, Android.Views.KeyEvent.ICallback, Java.Interop.IJavaPeerable, System.IDisposable {
|
||||
public class SKGLSurfaceView : Android.Opengl.GLSurfaceView, Android.Graphics.Drawables.Drawable.ICallback, Android.Runtime.IJavaObject, Android.Views.Accessibility.IAccessibilityEventSource, Android.Views.ISurfaceHolderCallback, Android.Views.ISurfaceHolderCallback2, Android.Views.KeyEvent.ICallback, Java.Interop.IJavaPeerable, System.IDisposable {
|
||||
// constructors
|
||||
public SKGLSurfaceView (Android.Content.Context context);
|
||||
public SKGLSurfaceView (Android.Content.Context context, Android.Util.IAttributeSet attrs);
|
||||
|
|
|
@ -95,7 +95,7 @@ public class SKCanvasLayer : CoreAnimation.CALayer, CoreAnimation.ICAMediaTiming
|
|||
#### New Type: SkiaSharp.Views.Mac.SKCanvasView
|
||||
|
||||
```csharp
|
||||
public class SKCanvasView : AppKit.NSView, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
|
||||
public class SKCanvasView : AppKit.NSView, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserActivityRestoring, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
|
||||
// constructors
|
||||
public SKCanvasView ();
|
||||
public SKCanvasView (CoreGraphics.CGRect frame);
|
||||
|
@ -133,7 +133,7 @@ public class SKGLLayer : CoreAnimation.CAOpenGLLayer, CoreAnimation.ICAMediaTimi
|
|||
#### New Type: SkiaSharp.Views.Mac.SKGLView
|
||||
|
||||
```csharp
|
||||
public class SKGLView : AppKit.NSOpenGLView, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
|
||||
public class SKGLView : AppKit.NSOpenGLView, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserActivityRestoring, AppKit.INSUserInterfaceItemIdentification, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.IDisposable, System.IEquatable<Foundation.NSObject> {
|
||||
// constructors
|
||||
public SKGLView ();
|
||||
public SKGLView (CoreGraphics.CGRect frame);
|
||||
|
|
|
@ -85,7 +85,7 @@ public class SKCanvasLayer : CoreAnimation.CALayer, CoreAnimation.ICAMediaTiming
|
|||
#### New Type: SkiaSharp.Views.iOS.SKCanvasView
|
||||
|
||||
```csharp
|
||||
public class SKCanvasView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
public class SKCanvasView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUILargeContentViewerItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUIResponderStandardEditActions, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
// constructors
|
||||
public SKCanvasView ();
|
||||
public SKCanvasView (CoreGraphics.CGRect frame);
|
||||
|
@ -125,7 +125,7 @@ public class SKGLLayer : CoreAnimation.CAEAGLLayer, CoreAnimation.ICAMediaTiming
|
|||
#### New Type: SkiaSharp.Views.iOS.SKGLView
|
||||
|
||||
```csharp
|
||||
public class SKGLView : GLKit.GLKView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, GLKit.IGLKViewDelegate, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
public class SKGLView : GLKit.GLKView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, GLKit.IGLKViewDelegate, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUILargeContentViewerItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUIResponderStandardEditActions, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
// constructors
|
||||
public SKGLView ();
|
||||
public SKGLView (CoreGraphics.CGRect frame);
|
||||
|
|
|
@ -85,7 +85,7 @@ public class SKCanvasLayer : CoreAnimation.CALayer, CoreAnimation.ICAMediaTiming
|
|||
#### New Type: SkiaSharp.Views.tvOS.SKCanvasView
|
||||
|
||||
```csharp
|
||||
public class SKCanvasView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
public class SKCanvasView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUIResponderStandardEditActions, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
// constructors
|
||||
public SKCanvasView ();
|
||||
public SKCanvasView (CoreGraphics.CGRect frame);
|
||||
|
@ -125,7 +125,7 @@ public class SKGLLayer : CoreAnimation.CAEAGLLayer, CoreAnimation.ICAMediaTiming
|
|||
#### New Type: SkiaSharp.Views.tvOS.SKGLView
|
||||
|
||||
```csharp
|
||||
public class SKGLView : GLKit.GLKView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, GLKit.IGLKViewDelegate, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
public class SKGLView : GLKit.GLKView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, GLKit.IGLKViewDelegate, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUIResponderStandardEditActions, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
// constructors
|
||||
public SKGLView ();
|
||||
public SKGLView (CoreGraphics.CGRect frame);
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Android.dll
|
||||
|
||||
## SkiaSharp.Views.Android.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Desktop.dll
|
||||
|
||||
## SkiaSharp.Views.Desktop.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Mac.dll
|
||||
|
||||
## SkiaSharp.Views.Mac.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.UWP.dll
|
||||
|
||||
## SkiaSharp.Views.UWP.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.WPF.dll
|
||||
|
||||
## SkiaSharp.Views.WPF.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.iOS.dll
|
||||
|
||||
## SkiaSharp.Views.iOS.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.tvOS.dll
|
||||
|
||||
## SkiaSharp.Views.tvOS.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Android.dll
|
||||
|
||||
## SkiaSharp.Views.Android.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Desktop.dll
|
||||
|
||||
## SkiaSharp.Views.Desktop.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Mac.dll
|
||||
|
||||
## SkiaSharp.Views.Mac.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.UWP.dll
|
||||
|
||||
## SkiaSharp.Views.UWP.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.WPF.dll
|
||||
|
||||
## SkiaSharp.Views.WPF.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.iOS.dll
|
||||
|
||||
## SkiaSharp.Views.iOS.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.tvOS.dll
|
||||
|
||||
## SkiaSharp.Views.tvOS.dll
|
||||
|
||||
> No changes.
|
|
@ -11,7 +11,7 @@
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
protected virtual void OnDraw (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -33,7 +33,7 @@ public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void SetRenderer (SKGLSurfaceView.ISKRenderer renderer);
|
||||
```
|
||||
|
||||
|
@ -49,7 +49,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
protected virtual void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -78,7 +78,7 @@ public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void SetRenderer (SKGLTextureView.ISKRenderer renderer);
|
||||
```
|
||||
|
||||
|
@ -94,7 +94,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
protected virtual void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -117,7 +117,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -131,7 +131,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -25,7 +25,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public ISKCanvasLayerDelegate SKDelegate { get; set; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -34,7 +34,7 @@ protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -50,14 +50,14 @@ protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public ISKGLLayerDelegate SKDelegate { get; set; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -73,7 +73,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -89,7 +89,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -103,7 +103,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -25,7 +25,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ Modified properties:
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -44,7 +44,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public ISKCanvasLayerDelegate SKDelegate { get; set; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -34,7 +34,7 @@ protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -50,14 +50,14 @@ protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public ISKGLLayerDelegate SKDelegate { get; set; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -73,7 +73,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -89,7 +89,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -103,7 +103,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -11,14 +11,14 @@
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public ISKCanvasLayerDelegate SKDelegate { get; set; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -34,7 +34,7 @@ protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
|
||||
```
|
||||
|
||||
|
@ -50,14 +50,14 @@ protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use PaintSurface instead.")]
|
||||
[Obsolete ()]
|
||||
public ISKGLLayerDelegate SKDelegate { get; set; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -73,7 +73,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
|
||||
[Obsolete ()]
|
||||
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -89,7 +89,7 @@ protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
|
||||
```
|
||||
|
||||
|
@ -103,7 +103,7 @@ public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBacke
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BackendRenderTarget instead.")]
|
||||
[Obsolete ()]
|
||||
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Android.dll
|
||||
|
||||
## SkiaSharp.Views.Android.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Desktop.dll
|
||||
|
||||
## SkiaSharp.Views.Desktop.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Mac.dll
|
||||
|
||||
## SkiaSharp.Views.Mac.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Tizen.dll
|
||||
|
||||
## SkiaSharp.Views.Tizen.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.UWP.dll
|
||||
|
||||
## SkiaSharp.Views.UWP.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.iOS.dll
|
||||
|
||||
## SkiaSharp.Views.iOS.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.tvOS.dll
|
||||
|
||||
## SkiaSharp.Views.tvOS.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.watchOS.dll
|
||||
|
||||
## SkiaSharp.Views.watchOS.dll
|
||||
|
||||
> No changes.
|
|
@ -7,7 +7,7 @@
|
|||
#### New Type: SkiaSharp.Views.Mac.SKMetalView
|
||||
|
||||
```csharp
|
||||
public class SKMetalView : MetalKit.MTKView, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserInterfaceItemIdentification, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, MetalKit.IMTKViewDelegate, ObjCRuntime.INativeObject, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject> {
|
||||
public class SKMetalView : MetalKit.MTKView, AppKit.INSAccessibility, AppKit.INSAccessibilityElementProtocol, AppKit.INSAppearanceCustomization, AppKit.INSDraggingDestination, AppKit.INSTouchBarProvider, AppKit.INSUserActivityRestoring, AppKit.INSUserInterfaceItemIdentification, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, MetalKit.IMTKViewDelegate, ObjCRuntime.INativeObject, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject> {
|
||||
// constructors
|
||||
public SKMetalView ();
|
||||
public SKMetalView (CoreGraphics.CGRect frame);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#### New Type: SkiaSharp.Views.iOS.SKMetalView
|
||||
|
||||
```csharp
|
||||
public class SKMetalView : MetalKit.MTKView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, MetalKit.IMTKViewDelegate, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUILargeContentViewerItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
public class SKMetalView : MetalKit.MTKView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, MetalKit.IMTKViewDelegate, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable<Foundation.NSObject>, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUILargeContentViewerItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUIResponderStandardEditActions, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring {
|
||||
// constructors
|
||||
public SKMetalView ();
|
||||
public SKMetalView (CoreGraphics.CGRect frame);
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Android.dll
|
||||
|
||||
## SkiaSharp.Views.Android.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Desktop.dll
|
||||
|
||||
## SkiaSharp.Views.Desktop.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Mac.dll
|
||||
|
||||
## SkiaSharp.Views.Mac.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.Tizen.dll
|
||||
|
||||
## SkiaSharp.Views.Tizen.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.UWP.dll
|
||||
|
||||
## SkiaSharp.Views.UWP.dll
|
||||
|
||||
> No changes.
|
|
@ -0,0 +1,16 @@
|
|||
# API diff: SkiaSharp.Views.iOS.dll
|
||||
|
||||
## SkiaSharp.Views.iOS.dll
|
||||
|
||||
### Namespace SkiaSharp.Views.iOS
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.iOS.SKCanvasView
|
||||
|
||||
Added method:
|
||||
|
||||
```csharp
|
||||
public override void WillMoveToWindow (UIKit.UIWindow window);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
# API diff: SkiaSharp.Views.tvOS.dll
|
||||
|
||||
## SkiaSharp.Views.tvOS.dll
|
||||
|
||||
### Namespace SkiaSharp.Views.tvOS
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.tvOS.SKCanvasView
|
||||
|
||||
Added method:
|
||||
|
||||
```csharp
|
||||
public override void WillMoveToWindow (UIKit.UIWindow window);
|
||||
```
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Views.watchOS.dll
|
||||
|
||||
## SkiaSharp.Views.watchOS.dll
|
||||
|
||||
> No changes.
|
|
@ -6,15 +6,6 @@
|
|||
|
||||
### Namespace SkiaSharp.Views.iOS
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.iOS.SKCanvasView
|
||||
|
||||
Added method:
|
||||
|
||||
```csharp
|
||||
public override void WillMoveToWindow (UIKit.UIWindow window);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs
|
||||
|
||||
Obsoleted constructors:
|
||||
|
|
|
@ -6,15 +6,6 @@
|
|||
|
||||
### Namespace SkiaSharp.Views.tvOS
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.tvOS.SKCanvasView
|
||||
|
||||
Added method:
|
||||
|
||||
```csharp
|
||||
public override void WillMoveToWindow (UIKit.UIWindow window);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs
|
||||
|
||||
Obsoleted constructors:
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#### New Type: SkiaSharp.GRSharpVkBackendContext
|
||||
|
||||
```csharp
|
||||
public class GRSharpVkBackendContext : SkiaSharp.GRVkBackendContext, System.IDisposable {
|
||||
public class GRSharpVkBackendContext : SkiaSharp.GRVkBackendContext {
|
||||
// constructors
|
||||
public GRSharpVkBackendContext ();
|
||||
// properties
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.Vulkan.SharpVk.dll
|
||||
|
||||
## SkiaSharp.Vulkan.SharpVk.dll
|
||||
|
||||
> No changes.
|
|
@ -18,7 +18,7 @@ public void Flush (GRContextFlushBits flagsBitfield);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateNativeGlInterface() or CreateDefaultInterface() instead. This method will be removed in the next release.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface CreateNativeInterface ();
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Flush() instead.")]
|
||||
[Obsolete ()]
|
||||
public void Flush (GRContextFlushBits flagsBitfield);
|
||||
```
|
||||
|
||||
|
@ -53,11 +53,11 @@ public SKRectI ClipDeviceBounds { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use ClipPath(SKPath, SKClipOperation, bool) instead.")]
|
||||
[Obsolete ()]
|
||||
public void ClipPath (SKPath path, SKRegionOperation operation, bool antialias);
|
||||
[Obsolete ("Use ClipRect(SKRect, SKClipOperation, bool) instead.")]
|
||||
[Obsolete ()]
|
||||
public void ClipRect (SKRect rect, SKRegionOperation operation, bool antialias);
|
||||
[Obsolete ("Use DrawColor(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawColor (SKColor color, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
@ -130,9 +130,9 @@ public static bool TryParse (string hexString, out SKColor color);
|
|||
Obsoleted fields:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use MaxColorCubeDimension instead.")]
|
||||
[Obsolete ()]
|
||||
public static const int MaxCubeSize;
|
||||
[Obsolete ("Use MinColorCubeDimension instead.")]
|
||||
[Obsolete ()]
|
||||
public static const int MinCubeSize;
|
||||
```
|
||||
|
||||
|
@ -165,7 +165,7 @@ public void Close ();
|
|||
Obsoleted fields:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use UltraExpanded instead.")]
|
||||
[Obsolete ()]
|
||||
UltaExpanded = 9,
|
||||
```
|
||||
|
||||
|
@ -181,7 +181,7 @@ UltraExpanded = 9,
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateDisplacementMapEffect instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImageFilter CreateCompose (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
@ -207,7 +207,7 @@ Modified methods:
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use MapPoint instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPoint MapXY (float x, float y);
|
||||
```
|
||||
|
||||
|
@ -227,7 +227,7 @@ public static void PreConcat (ref SKMatrix target, SKMatrix matrix);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use BlendMode instead.")]
|
||||
[Obsolete ()]
|
||||
public SKXferMode XferMode { get; set; }
|
||||
```
|
||||
|
||||
|
@ -282,7 +282,7 @@ public SKPath Simplify ();
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Create1DPath(SKPath, float, float, SKPath1DPathEffectStyle) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKPathEffect Create1DPath (SKPath path, float advance, float phase, SkPath1DPathEffectStyle style);
|
||||
```
|
||||
|
||||
|
|
|
@ -56,9 +56,9 @@ public void SetPixels (IntPtr pixels, SKColorTable ct);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (string text, SKPoint[] points, SKPaint paint);
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (IntPtr buffer, int length, SKPoint[] points, SKPaint paint);
|
||||
```
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public bool HasPriorFrame { get; set; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorFilter CreateXferMode (SKColor c, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
@ -67,7 +67,7 @@ Added method:
|
|||
|
||||
```csharp
|
||||
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKColorFilter CreateBlendMode (SKColor c, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
@ -102,7 +102,7 @@ public static SKMaskFilter CreateShadow (float occluderHeight, SKPoint3 lightPos
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CullRect instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRect Bounds { get; }
|
||||
```
|
||||
|
||||
|
@ -128,7 +128,7 @@ Modified methods:
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateCompose(SKShader, SKShader, SKBlendMode) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKShader CreateCompose (SKShader shaderA, SKShader shaderB, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@ public bool InstallMaskPixels (SKMask mask);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (string text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
```
|
||||
|
||||
|
@ -44,7 +44,7 @@ public SKData DrawNamedDestinationAnnotation (SKPoint point, string value);
|
|||
public void DrawPositionedText (byte[] text, SKPoint[] points, SKPaint paint);
|
||||
public void DrawText (byte[] text, float x, float y, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
public void DrawTextOnPath (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
public void DrawTextOnPath (string text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
@ -138,7 +138,7 @@ public void AddPoly (SKPoint[] points, bool close);
|
|||
Obsoleted fields:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKStrokeJoin.Miter instead.")]
|
||||
[Obsolete ()]
|
||||
Mitter = 0,
|
||||
```
|
||||
|
||||
|
|
|
@ -82,13 +82,13 @@ public SKColor GetUnPreMultipliedColor (int index);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKData.Empty instead.")]
|
||||
[Obsolete ()]
|
||||
public SKData ();
|
||||
[Obsolete ("Use SKData.CreateCopy(byte[]) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKData (byte[] bytes);
|
||||
[Obsolete ("Use SKData.CreateCopy(byte[], ulong) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKData (byte[] bytes, ulong length);
|
||||
[Obsolete ("Use SKData.CreateCopy(IntPtr, ulong) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKData (IntPtr bytes, ulong length);
|
||||
```
|
||||
|
||||
|
@ -130,9 +130,9 @@ public bool IsTextureBacked { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromData (SKData data);
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromData (SKData data, SKRectI subset);
|
||||
```
|
||||
|
||||
|
@ -212,11 +212,11 @@ public long RowBytes64 { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use AddPath(SKPath, SKPathAddMode) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPath (SKPath other, SKPath.AddMode mode);
|
||||
[Obsolete ("Use AddPath(SKPath, ref SKMatrix, SKPathAddMode) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPath (SKPath other, ref SKMatrix matrix, SKPath.AddMode mode);
|
||||
[Obsolete ("Use AddPath(SKPath, float, float, SKPathAddMode) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode);
|
||||
```
|
||||
|
||||
|
@ -274,7 +274,7 @@ public SKPathVerb Peek ();
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetMatrix(float, out SKMatrix, SKPathMeasureMatrixFlags) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool GetMatrix (float distance, out SKMatrix matrix, SKPathMeasure.MatrixFlags flags);
|
||||
```
|
||||
|
||||
|
@ -351,7 +351,7 @@ public sealed delegate SKDataReleaseDelegate : System.MulticastDelegate, System.
|
|||
#### New Type: SkiaSharp.SKFrontBufferedStream
|
||||
|
||||
```csharp
|
||||
public class SKFrontBufferedStream : System.IO.Stream, System.IDisposable {
|
||||
public class SKFrontBufferedStream : System.IO.Stream, System.IAsyncDisposable, System.IDisposable {
|
||||
// constructors
|
||||
public SKFrontBufferedStream (System.IO.Stream stream);
|
||||
public SKFrontBufferedStream (System.IO.Stream stream, bool disposeUnderlyingStream);
|
||||
|
|
|
@ -102,7 +102,7 @@ public SKImage ToTextureImage (GRContext context);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Encode(SKEncodedImageFormat, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKData Encode (SKImageEncodeFormat format, int quality);
|
||||
```
|
||||
|
||||
|
|
|
@ -71,9 +71,9 @@ public SKColorSpace ColorSpace { get; }
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use LocalClipBounds instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRect ClipBounds { get; }
|
||||
[Obsolete ("Use DeviceClipBounds instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRectI ClipDeviceBounds { get; }
|
||||
```
|
||||
|
||||
|
@ -87,9 +87,9 @@ public SKRect LocalClipBounds { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetLocalClipBounds instead.")]
|
||||
[Obsolete ()]
|
||||
public bool GetClipBounds (ref SKRect bounds);
|
||||
[Obsolete ("Use GetDeviceClipBounds instead.")]
|
||||
[Obsolete ()]
|
||||
public bool GetClipDeviceBounds (ref SKRectI bounds);
|
||||
```
|
||||
|
||||
|
@ -108,11 +108,11 @@ Removed fields:
|
|||
```csharp
|
||||
public static const int MaxColorCubeDimension;
|
||||
|
||||
[Obsolete ("Use MaxColorCubeDimension instead.")]
|
||||
[Obsolete]
|
||||
public static const int MaxCubeSize;
|
||||
public static const int MinColorCubeDimension;
|
||||
|
||||
[Obsolete ("Use MinColorCubeDimension instead.")]
|
||||
[Obsolete]
|
||||
public static const int MinCubeSize;
|
||||
```
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ public SKBitmap (SKImageInfo info, SKColorTable ctable, SKBitmapAllocFlags flags
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPixmap.ReadPixels instead.")]
|
||||
[Obsolete ()]
|
||||
public bool CopyPixelsTo (IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad);
|
||||
```
|
||||
|
||||
|
@ -93,9 +93,9 @@ public bool IsSrgb { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50 instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix44 ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries);
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50(SKMatrix44) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50);
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Flush() instead.")]
|
||||
[Obsolete]
|
||||
public void Flush (GRContextFlushBits flagsBitfield);
|
||||
```
|
||||
|
||||
|
@ -52,7 +52,7 @@ Modified fields:
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateNativeGlInterface() or CreateDefaultInterface() instead.")]
|
||||
[Obsolete]
|
||||
public static GRGlInterface CreateNativeInterface ();
|
||||
```
|
||||
|
||||
|
@ -83,7 +83,7 @@ Modified fields:
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKPixmap.ReadPixels instead.")]
|
||||
[Obsolete]
|
||||
public bool CopyPixelsTo (IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad);
|
||||
public void LockPixels ();
|
||||
public void UnlockPixels ();
|
||||
|
@ -95,34 +95,34 @@ public void UnlockPixels ();
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use ClipPath(SKPath, SKClipOperation, bool) instead.")]
|
||||
[Obsolete]
|
||||
public void ClipPath (SKPath path, SKRegionOperation operation, bool antialias);
|
||||
|
||||
[Obsolete ("Use ClipRect(SKRect, SKClipOperation, bool) instead.")]
|
||||
[Obsolete]
|
||||
public void ClipRect (SKRect rect, SKRegionOperation operation, bool antialias);
|
||||
|
||||
[Obsolete ("Use DrawColor(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public void DrawColor (SKColor color, SKXferMode mode);
|
||||
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (string text, SKPoint[] points, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (IntPtr buffer, int length, SKPoint[] points, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (string text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use GetLocalClipBounds instead.")]
|
||||
[Obsolete]
|
||||
public bool GetClipBounds (ref SKRect bounds);
|
||||
|
||||
[Obsolete ("Use GetDeviceClipBounds instead.")]
|
||||
[Obsolete]
|
||||
public bool GetClipDeviceBounds (ref SKRectI bounds);
|
||||
```
|
||||
|
||||
|
@ -132,10 +132,10 @@ public bool GetClipDeviceBounds (ref SKRectI bounds);
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKColorFilter CreateBlendMode (SKColor c, SKXferMode mode);
|
||||
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKColorFilter CreateXferMode (SKColor c, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
@ -145,10 +145,10 @@ public static SKColorFilter CreateXferMode (SKColor c, SKXferMode mode);
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50 instead.")]
|
||||
[Obsolete]
|
||||
public static SKMatrix44 ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries);
|
||||
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50(SKMatrix44) instead.")]
|
||||
[Obsolete]
|
||||
public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50);
|
||||
```
|
||||
|
||||
|
@ -158,7 +158,7 @@ public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SK
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Not supported.")]
|
||||
[Obsolete]
|
||||
public static SKData FromMallocMemory (IntPtr bytes, ulong length);
|
||||
```
|
||||
|
||||
|
@ -177,13 +177,13 @@ public void CopyTo (SKWStream dst);
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Encode(SKEncodedImageFormat, int) instead.")]
|
||||
[Obsolete]
|
||||
public SKData Encode (SKImageEncodeFormat format, int quality);
|
||||
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
[Obsolete]
|
||||
public static SKImage FromData (SKData data);
|
||||
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
[Obsolete]
|
||||
public static SKImage FromData (SKData data, SKRectI subset);
|
||||
```
|
||||
|
||||
|
@ -193,7 +193,7 @@ public static SKImage FromData (SKData data, SKRectI subset);
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateDisplacementMapEffect instead.")]
|
||||
[Obsolete]
|
||||
public static SKImageFilter CreateCompose (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
@ -223,7 +223,7 @@ Modified base type:
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use MapPoint instead.")]
|
||||
[Obsolete]
|
||||
public SKPoint MapXY (float x, float y);
|
||||
```
|
||||
|
||||
|
@ -233,13 +233,13 @@ public SKPoint MapXY (float x, float y);
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use AddPath(SKPath, SKPathAddMode) instead.")]
|
||||
[Obsolete]
|
||||
public void AddPath (SKPath other, SKPath.AddMode mode);
|
||||
|
||||
[Obsolete ("Use AddPath(SKPath, ref SKMatrix, SKPathAddMode) instead.")]
|
||||
[Obsolete]
|
||||
public void AddPath (SKPath other, ref SKMatrix matrix, SKPath.AddMode mode);
|
||||
|
||||
[Obsolete ("Use AddPath(SKPath, float, float, SKPathAddMode) instead.")]
|
||||
[Obsolete]
|
||||
public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode);
|
||||
```
|
||||
|
||||
|
@ -249,7 +249,7 @@ public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode);
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Create1DPath(SKPath, float, float, SKPath1DPathEffectStyle) instead.")]
|
||||
[Obsolete]
|
||||
public static SKPathEffect Create1DPath (SKPath path, float advance, float phase, SkPath1DPathEffectStyle style);
|
||||
```
|
||||
|
||||
|
@ -259,7 +259,7 @@ public static SKPathEffect Create1DPath (SKPath path, float advance, float phase
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use GetMatrix(float, out SKMatrix, SKPathMeasureMatrixFlags) instead.")]
|
||||
[Obsolete]
|
||||
public bool GetMatrix (float distance, out SKMatrix matrix, SKPathMeasure.MatrixFlags flags);
|
||||
```
|
||||
|
||||
|
@ -269,7 +269,7 @@ public bool GetMatrix (float distance, out SKMatrix matrix, SKPathMeasure.Matrix
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateCompose(SKShader, SKShader, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKShader CreateCompose (SKShader shaderA, SKShader shaderB, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Flush() instead.")]
|
||||
[Obsolete]
|
||||
public void Flush (GRContextFlushBits flagsBitfield);
|
||||
```
|
||||
|
||||
|
@ -65,7 +65,7 @@ Small = 64,
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateNativeGlInterface() or CreateDefaultInterface() instead.")]
|
||||
[Obsolete]
|
||||
public static GRGlInterface CreateNativeInterface ();
|
||||
```
|
||||
|
||||
|
@ -102,7 +102,7 @@ Modified fields:
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKPixmap.ReadPixels instead.")]
|
||||
[Obsolete]
|
||||
public bool CopyPixelsTo (IntPtr dst, int dstSize, int dstRowBytes, bool preserveDstPad);
|
||||
public void LockPixels ();
|
||||
public void UnlockPixels ();
|
||||
|
@ -114,44 +114,44 @@ public void UnlockPixels ();
|
|||
Removed properties:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use LocalClipBounds instead.")]
|
||||
[Obsolete]
|
||||
public SKRect ClipBounds { get; }
|
||||
|
||||
[Obsolete ("Use DeviceClipBounds instead.")]
|
||||
[Obsolete]
|
||||
public SKRectI ClipDeviceBounds { get; }
|
||||
```
|
||||
|
||||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use ClipPath(SKPath, SKClipOperation, bool) instead.")]
|
||||
[Obsolete]
|
||||
public void ClipPath (SKPath path, SKRegionOperation operation, bool antialias);
|
||||
|
||||
[Obsolete ("Use ClipRect(SKRect, SKClipOperation, bool) instead.")]
|
||||
[Obsolete]
|
||||
public void ClipRect (SKRect rect, SKRegionOperation operation, bool antialias);
|
||||
|
||||
[Obsolete ("Use DrawColor(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public void DrawColor (SKColor color, SKXferMode mode);
|
||||
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (string text, SKPoint[] points, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawPositionedText instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (IntPtr buffer, int length, SKPoint[] points, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (string text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use DrawTextOnPath instead.")]
|
||||
[Obsolete]
|
||||
public void DrawText (IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
|
||||
[Obsolete ("Use GetLocalClipBounds instead.")]
|
||||
[Obsolete]
|
||||
public bool GetClipBounds (ref SKRect bounds);
|
||||
|
||||
[Obsolete ("Use GetDeviceClipBounds instead.")]
|
||||
[Obsolete]
|
||||
public bool GetClipDeviceBounds (ref SKRectI bounds);
|
||||
```
|
||||
|
||||
|
@ -185,10 +185,10 @@ public void DrawTextOnPath (IntPtr buffer, int length, SKPath path, SKPoint offs
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKColorFilter CreateBlendMode (SKColor c, SKXferMode mode);
|
||||
|
||||
[Obsolete ("Use CreateBlendMode(SKColor, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKColorFilter CreateXferMode (SKColor c, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
@ -198,10 +198,10 @@ public static SKColorFilter CreateXferMode (SKColor c, SKXferMode mode);
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50 instead.")]
|
||||
[Obsolete]
|
||||
public static SKMatrix44 ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries);
|
||||
|
||||
[Obsolete ("Use SKColorSpacePrimaries.ToXyzD50(SKMatrix44) instead.")]
|
||||
[Obsolete]
|
||||
public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SKMatrix44 toXyzD50);
|
||||
```
|
||||
|
||||
|
@ -211,23 +211,23 @@ public static bool ConvertPrimariesToXyzD50 (SKColorSpacePrimaries primaries, SK
|
|||
Removed constructors:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKData.Empty instead.")]
|
||||
[Obsolete]
|
||||
public SKData ();
|
||||
|
||||
[Obsolete ("Use SKData.CreateCopy(byte[]) instead.")]
|
||||
[Obsolete]
|
||||
public SKData (byte[] bytes);
|
||||
|
||||
[Obsolete ("Use SKData.CreateCopy(byte[], ulong) instead.")]
|
||||
[Obsolete]
|
||||
public SKData (byte[] bytes, ulong length);
|
||||
|
||||
[Obsolete ("Use SKData.CreateCopy(IntPtr, ulong) instead.")]
|
||||
[Obsolete]
|
||||
public SKData (IntPtr bytes, ulong length);
|
||||
```
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Not supported.")]
|
||||
[Obsolete]
|
||||
public static SKData FromMallocMemory (IntPtr bytes, ulong length);
|
||||
```
|
||||
|
||||
|
@ -237,9 +237,9 @@ public static SKData FromMallocMemory (IntPtr bytes, ulong length);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreatePdf(SKWStream, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKDocument CreatePdf (string path, float dpi);
|
||||
[Obsolete ("Use CreateXps(SKWStream, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKDocument CreateXps (string path, float dpi);
|
||||
```
|
||||
|
||||
|
@ -284,7 +284,7 @@ public static SKWStream OpenStream (string path);
|
|||
Removed value:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use UltraExpanded instead.")]
|
||||
[Obsolete]
|
||||
UltaExpanded = 9,
|
||||
```
|
||||
|
||||
|
@ -300,13 +300,13 @@ public bool IsLazyGenerated { get; }
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Encode(SKEncodedImageFormat, int) instead.")]
|
||||
[Obsolete]
|
||||
public SKData Encode (SKImageEncodeFormat format, int quality);
|
||||
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
[Obsolete]
|
||||
public static SKImage FromData (SKData data);
|
||||
|
||||
[Obsolete ("Use FromEncodedData instead.")]
|
||||
[Obsolete]
|
||||
public static SKImage FromData (SKData data, SKRectI subset);
|
||||
```
|
||||
|
||||
|
@ -328,7 +328,7 @@ public static SKImage FromTexture (GRContext context, GRGlBackendTextureDesc des
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateDisplacementMapEffect instead.")]
|
||||
[Obsolete]
|
||||
public static SKImageFilter CreateCompose (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
@ -393,7 +393,7 @@ protected override bool OnWrite (IntPtr buffer, IntPtr size);
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use MapPoint instead.")]
|
||||
[Obsolete]
|
||||
public SKPoint MapXY (float x, float y);
|
||||
```
|
||||
|
||||
|
@ -403,7 +403,7 @@ public SKPoint MapXY (float x, float y);
|
|||
Removed property:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use BlendMode instead.")]
|
||||
[Obsolete]
|
||||
public SKXferMode XferMode { get; set; }
|
||||
```
|
||||
|
||||
|
@ -421,13 +421,13 @@ public long BreakText (string text, float maxWidth, out float measuredWidth, out
|
|||
Removed methods:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use AddPath(SKPath, SKPathAddMode) instead.")]
|
||||
[Obsolete]
|
||||
public void AddPath (SKPath other, SKPath.AddMode mode);
|
||||
|
||||
[Obsolete ("Use AddPath(SKPath, ref SKMatrix, SKPathAddMode) instead.")]
|
||||
[Obsolete]
|
||||
public void AddPath (SKPath other, ref SKMatrix matrix, SKPath.AddMode mode);
|
||||
|
||||
[Obsolete ("Use AddPath(SKPath, float, float, SKPathAddMode) instead.")]
|
||||
[Obsolete]
|
||||
public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode);
|
||||
```
|
||||
|
||||
|
@ -437,7 +437,7 @@ public void AddPath (SKPath other, float dx, float dy, SKPath.AddMode mode);
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use Create1DPath(SKPath, float, float, SKPath1DPathEffectStyle) instead.")]
|
||||
[Obsolete]
|
||||
public static SKPathEffect Create1DPath (SKPath path, float advance, float phase, SkPath1DPathEffectStyle style);
|
||||
```
|
||||
|
||||
|
@ -447,7 +447,7 @@ public static SKPathEffect Create1DPath (SKPath path, float advance, float phase
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use GetMatrix(float, out SKMatrix, SKPathMeasureMatrixFlags) instead.")]
|
||||
[Obsolete]
|
||||
public bool GetMatrix (float distance, out SKMatrix matrix, SKPathMeasure.MatrixFlags flags);
|
||||
```
|
||||
|
||||
|
@ -457,7 +457,7 @@ public bool GetMatrix (float distance, out SKMatrix matrix, SKPathMeasure.Matrix
|
|||
Removed property:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CullRect instead.")]
|
||||
[Obsolete]
|
||||
public SKRect Bounds { get; }
|
||||
```
|
||||
|
||||
|
@ -478,7 +478,7 @@ public SKPixmap WithColorType (SKColorType newColorType);
|
|||
Removed method:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use CreateCompose(SKShader, SKShader, SKBlendMode) instead.")]
|
||||
[Obsolete]
|
||||
public static SKShader CreateCompose (SKShader shaderA, SKShader shaderB, SKXferMode mode);
|
||||
```
|
||||
|
||||
|
@ -497,7 +497,7 @@ public int Peek (IntPtr buffer, int size);
|
|||
Removed value:
|
||||
|
||||
```csharp
|
||||
[Obsolete ("Use SKStrokeJoin.Miter instead.")]
|
||||
[Obsolete]
|
||||
Mitter = 0,
|
||||
```
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKPixmap.Encode instead.")]
|
||||
[Obsolete ()]
|
||||
public bool Encode (SKWStream dst, SKEncodedImageFormat format, int quality);
|
||||
```
|
||||
|
||||
|
@ -29,7 +29,7 @@ public void DrawRoundRect (SKRoundRect rect, SKPaint paint);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use AddRoundRect instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRoundedRect (SKRect rect, float rx, float ry, SKPathDirection dir);
|
||||
```
|
||||
|
||||
|
|
|
@ -42,9 +42,9 @@ public static GRContext Create (GRBackend backend, IntPtr backendContext, GRCont
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Create(GRBackend, GRGlInterface) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRContext Create (GRBackend backend, IntPtr backendContext);
|
||||
[Obsolete ("Use GetMaxSurfaceSampleCount(SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public int GetRecommendedSampleCount (GRPixelConfig config, float dpi);
|
||||
```
|
||||
|
||||
|
@ -133,9 +133,9 @@ Modified fields:
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use SKBitmap(SKImageInfo) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKBitmap (SKImageInfo info, SKColorTable ctable);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use SKBitmap(SKImageInfo, SKBitmapAllocFlags) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKBitmap (SKImageInfo info, SKColorTable ctable, SKBitmapAllocFlags flags);
|
||||
```
|
||||
|
||||
|
@ -148,28 +148,28 @@ public SKBitmap (SKImageInfo info, SKBitmapAllocFlags flags);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported.")]
|
||||
[Obsolete ()]
|
||||
public SKColorTable ColorTable { get; }
|
||||
```
|
||||
|
||||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixel(int, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPMColor GetIndex8Color (int x, int y);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use InstallPixels(SKImageInfo, IntPtr, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool InstallPixels (SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use InstallPixels(SKImageInfo, IntPtr, int, SKBitmapReleaseDelegate, object) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool InstallPixels (SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable, SKBitmapReleaseDelegate releaseProc, object context);
|
||||
[Obsolete ("Use ScalePixels(SKBitmap, SKFilterQuality) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool Resize (SKBitmap dst, SKBitmapResizeMethod method);
|
||||
[Obsolete ("Use Resize(SKImageInfo, SKFilterQuality) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKBitmap Resize (SKImageInfo info, SKBitmapResizeMethod method);
|
||||
[Obsolete ("Use ScalePixels(SKBitmap, SKFilterQuality) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Resize (SKBitmap dst, SKBitmap src, SKBitmapResizeMethod method);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported.")]
|
||||
[Obsolete ()]
|
||||
public void SetColorTable (SKColorTable ct);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use SetPixels(IntPtr) instead.")]
|
||||
[Obsolete ()]
|
||||
public void SetPixels (IntPtr pixels, SKColorTable ct);
|
||||
```
|
||||
|
||||
|
@ -207,7 +207,7 @@ public SKEncodedInfo EncodedInfo { get; }
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use EncodedOrigin instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecOrigin Origin { get; }
|
||||
```
|
||||
|
||||
|
@ -220,25 +220,25 @@ public SKEncodedOrigin EncodedOrigin { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, SKColorTable colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, IntPtr colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, SKCodecOptions options, SKColorTable colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, SKCodecOptions options, IntPtr colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, int, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, SKColorTable colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, int, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, IntPtr colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use StartIncrementalDecode(SKImageInfo, IntPtr, int, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult StartIncrementalDecode (SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, SKColorTable colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use StartIncrementalDecode(SKImageInfo, IntPtr, int, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult StartIncrementalDecode (SKImageInfo info, IntPtr pixels, int rowBytes, SKCodecOptions options, IntPtr colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use StartScanlineDecode(SKImageInfo, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult StartScanlineDecode (SKImageInfo info, SKCodecOptions options, SKColorTable colorTable, ref int colorTableCount);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use StartScanlineDecode(SKImageInfo, SKCodecOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKCodecResult StartScanlineDecode (SKImageInfo info, SKCodecOptions options, IntPtr colorTable, ref int colorTableCount);
|
||||
```
|
||||
|
||||
|
@ -370,7 +370,7 @@ Modified methods:
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreatePdf(SKWStream, SKDocumentPdfMetadata) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKDocument CreatePdf (SKWStream stream, SKDocumentPdfMetadata metadata, float dpi);
|
||||
```
|
||||
|
||||
|
@ -485,31 +485,31 @@ Obsoleted methods:
|
|||
```diff
|
||||
[Obsolete ()]
|
||||
public SKData Encode (SKPixelSerializer serializer);
|
||||
[Obsolete ("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromAdoptedTexture (GRContext context, GRBackendTextureDesc desc);
|
||||
[Obsolete ("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromAdoptedTexture (GRContext context, GRGlBackendTextureDesc desc);
|
||||
[Obsolete ("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromAdoptedTexture (GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha);
|
||||
[Obsolete ("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromAdoptedTexture (GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha);
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use FromPixelCopy(SKImageInfo, IntPtr, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromPixelCopy (SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRBackendTextureDesc desc);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRGlBackendTextureDesc desc);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha, SKImageTextureReleaseDelegate releaseProc);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha, SKImageTextureReleaseDelegate releaseProc);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate, object) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRBackendTextureDesc desc, SKAlphaType alpha, SKImageTextureReleaseDelegate releaseProc, object releaseContext);
|
||||
[Obsolete ("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate, object) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromTexture (GRContext context, GRGlBackendTextureDesc desc, SKAlphaType alpha, SKImageTextureReleaseDelegate releaseProc, object releaseContext);
|
||||
```
|
||||
|
||||
|
@ -551,9 +551,9 @@ public static SKImageFilter CreatePictureForLocalspace (SKPicture picture, SKRec
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateMerge(SKImageFilter[], SKImageFilter.CropRect) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImageFilter CreateMerge (SKImageFilter[] filters, SKBlendMode[] modes, SKImageFilter.CropRect cropRect);
|
||||
[Obsolete ("Use CreateMerge(SKImageFilter, SKImageFilter, SKImageFilter.CropRect) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImageFilter CreateMerge (SKImageFilter first, SKImageFilter second, SKBlendMode mode, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
@ -634,9 +634,9 @@ public static const int TableMaxLength;
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKBlurMaskFilterFlags flags);
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float, SKRect) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder, SKBlurMaskFilterFlags flags);
|
||||
```
|
||||
|
||||
|
@ -758,7 +758,7 @@ protected virtual bool OnUseEncodedData (IntPtr data, IntPtr length);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use SKPixmap(SKImageInfo, IntPtr, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPixmap (SKImageInfo info, IntPtr addr, int rowBytes, SKColorTable ctable);
|
||||
```
|
||||
|
||||
|
@ -777,7 +777,7 @@ public SKPixmap (SKImageInfo info, IntPtr addr, int rowBytes);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported.")]
|
||||
[Obsolete ()]
|
||||
public SKColorTable ColorTable { get; }
|
||||
```
|
||||
|
||||
|
@ -792,9 +792,9 @@ public SKSizeI Size { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The Index8 color type and color table is no longer supported. Use Reset(SKImageInfo, IntPtr, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public void Reset (SKImageInfo info, IntPtr addr, int rowBytes, SKColorTable ctable);
|
||||
[Obsolete ("Use ScalePixels(SKPixmap, SKFilterQuality) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Resize (SKPixmap dst, SKPixmap src, SKBitmapResizeMethod method);
|
||||
```
|
||||
|
||||
|
@ -906,7 +906,7 @@ public bool ReadUInt32 (out uint buffer);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SurfaceProperties instead.")]
|
||||
[Obsolete ()]
|
||||
public SKSurfaceProps SurfaceProps { get; }
|
||||
```
|
||||
|
||||
|
@ -919,41 +919,41 @@ public SKSurfaceProperties SurfaceProperties { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Create(GRContext, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, GRBackendRenderTargetDesc desc);
|
||||
[Obsolete ("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, GRBackendTextureDesc desc);
|
||||
[Obsolete ("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, GRGlBackendTextureDesc desc);
|
||||
[Obsolete ("Use Create(SKImageInfo, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (SKImageInfo info, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(SKPixmap, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (SKPixmap pixmap, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(GRContext, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, GRBackendRenderTargetDesc desc, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, GRGlBackendTextureDesc desc, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(SKImageInfo, IntPtr, rowBytes, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (SKImageInfo info, IntPtr pixels, int rowBytes, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(SKImageInfo) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (int width, int height, SKColorType colorType, SKAlphaType alphaType);
|
||||
[Obsolete ("Use Create(GRContext, bool, SKImageInfo, int, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (GRContext context, bool budgeted, SKImageInfo info, int sampleCount, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(SKImageInfo, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (int width, int height, SKColorType colorType, SKAlphaType alphaType, SKSurfaceProps props);
|
||||
[Obsolete ("Use Create(SKImageInfo, IntPtr, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (int width, int height, SKColorType colorType, SKAlphaType alphaType, IntPtr pixels, int rowBytes);
|
||||
[Obsolete ("Use Create(SKImageInfo, IntPtr, int, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface Create (int width, int height, SKColorType colorType, SKAlphaType alphaType, IntPtr pixels, int rowBytes, SKSurfaceProps props);
|
||||
[Obsolete ("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface CreateAsRenderTarget (GRContext context, GRBackendTextureDesc desc);
|
||||
[Obsolete ("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface CreateAsRenderTarget (GRContext context, GRGlBackendTextureDesc desc);
|
||||
[Obsolete ("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface CreateAsRenderTarget (GRContext context, GRBackendTextureDesc desc, SKSurfaceProps props);
|
||||
[Obsolete ("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProperties) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKSurface CreateAsRenderTarget (GRContext context, GRGlBackendTextureDesc desc, SKSurfaceProps props);
|
||||
```
|
||||
|
||||
|
@ -1004,7 +1004,7 @@ public static SKSurface CreateNull (int width, int height);
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use FontWeight and FontSlant instead.")]
|
||||
[Obsolete ()]
|
||||
public SKTypefaceStyle Style { get; }
|
||||
```
|
||||
|
||||
|
@ -1018,11 +1018,11 @@ public SKFontStyle FontStyle { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetGlyphs(string, out ushort[]) instead.")]
|
||||
[Obsolete ()]
|
||||
public int CharsToGlyphs (string chars, out ushort[] glyphs);
|
||||
[Obsolete ("Use GetGlyphs(IntPtr, int, SKEncoding, out ushort[]) instead.")]
|
||||
[Obsolete ()]
|
||||
public int CharsToGlyphs (IntPtr str, int strlen, SKEncoding encoding, out ushort[] glyphs);
|
||||
[Obsolete ("Use FromFamilyName(string, SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKTypeface FromFamilyName (string familyName, SKTypefaceStyle style);
|
||||
[Obsolete ()]
|
||||
public static SKTypeface FromTypeface (SKTypeface typeface, SKTypefaceStyle style);
|
||||
|
@ -1090,7 +1090,7 @@ public static byte[] GetEncodedText (string text, SKEncoding encoding);
|
|||
public class GRBackendRenderTarget : SkiaSharp.SKObject, System.IDisposable {
|
||||
// constructors
|
||||
|
||||
[Obsolete ("Use GRBackendRenderTarget(int, int, int, int, GRGlFramebufferInfo) instead.")]
|
||||
[Obsolete]
|
||||
public GRBackendRenderTarget (GRBackend backend, GRBackendRenderTargetDesc desc);
|
||||
public GRBackendRenderTarget (int width, int height, int sampleCount, int stencilBits, GRGlFramebufferInfo glInfo);
|
||||
// properties
|
||||
|
@ -1115,10 +1115,10 @@ public GRBackendRenderTarget (GRBackend backend, GRBackendRenderTargetDesc desc)
|
|||
public class GRBackendTexture : SkiaSharp.SKObject, System.IDisposable {
|
||||
// constructors
|
||||
|
||||
[Obsolete ("Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.")]
|
||||
[Obsolete]
|
||||
public GRBackendTexture (GRBackendTextureDesc desc);
|
||||
|
||||
[Obsolete ("Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.")]
|
||||
[Obsolete]
|
||||
public GRBackendTexture (GRGlBackendTextureDesc desc);
|
||||
public GRBackendTexture (int width, int height, bool mipmapped, GRGlTextureInfo glInfo);
|
||||
// properties
|
||||
|
|
|
@ -96,13 +96,13 @@ public SKColorSpaceType Type { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateRgb (SKColorSpaceRenderTargetGamma, SKColorSpaceGamut) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceRenderTargetGamma gamma, SKColorSpaceGamut gamut, SKColorSpaceFlags flags);
|
||||
[Obsolete ("Use CreateRgb (SKColorSpaceRenderTargetGamma, SKMatrix44) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceRenderTargetGamma gamma, SKMatrix44 toXyzD50, SKColorSpaceFlags flags);
|
||||
[Obsolete ("Use CreateRgb (SKColorSpaceTransferFn, SKColorSpaceGamut) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut, SKColorSpaceFlags flags);
|
||||
[Obsolete ("Use CreateRgb (SKColorSpaceTransferFn, SKMatrix44) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn coeffs, SKMatrix44 toXyzD50, SKColorSpaceFlags flags);
|
||||
```
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
# API diff: SkiaSharp.dll
|
||||
|
||||
## SkiaSharp.dll
|
||||
|
||||
> No changes.
|
|
@ -343,7 +343,7 @@ public static bool op_Inequality (SKHighContrastConfig left, SKHighContrastConfi
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use FromPixels (SKImageInfo, SKData, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImage FromPixelData (SKImageInfo info, SKData data, int rowBytes);
|
||||
```
|
||||
|
||||
|
@ -472,23 +472,23 @@ public bool IsInvertible { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use MapRect(SKRect) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void MapRect (ref SKMatrix matrix, out SKRect dest, ref SKRect source);
|
||||
[Obsolete ("Use PostConcat(SKMatrix) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void PostConcat (ref SKMatrix target, SKMatrix matrix);
|
||||
[Obsolete ("Use PostConcat(SKMatrix) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void PostConcat (ref SKMatrix target, ref SKMatrix matrix);
|
||||
[Obsolete ("Use PreConcat(SKMatrix) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void PreConcat (ref SKMatrix target, SKMatrix matrix);
|
||||
[Obsolete ("Use PreConcat(SKMatrix) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void PreConcat (ref SKMatrix target, ref SKMatrix matrix);
|
||||
[Obsolete ("Use CreateRotation(float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void Rotate (ref SKMatrix matrix, float radians);
|
||||
[Obsolete ("Use CreateRotation(float, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void Rotate (ref SKMatrix matrix, float radians, float pivotx, float pivoty);
|
||||
[Obsolete ("Use CreateRotationDegrees(float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void RotateDegrees (ref SKMatrix matrix, float degrees);
|
||||
[Obsolete ("Use CreateRotationDegrees(float, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static void RotateDegrees (ref SKMatrix matrix, float degrees, float pivotx, float pivoty);
|
||||
[Obsolete ()]
|
||||
public void SetScaleTranslate (float sx, float sy, float tx, float ty);
|
||||
|
@ -601,15 +601,15 @@ public SKShader ToShader (SKShaderTileMode tmx, SKShaderTileMode tmy, SKMatrix l
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Encode(SKWStream, SKJpegEncoderOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Encode (SKWStream dst, SKPixmap src, SKJpegEncoderOptions options);
|
||||
[Obsolete ("Use Encode(SKWStream, SKPngEncoderOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Encode (SKWStream dst, SKPixmap src, SKPngEncoderOptions options);
|
||||
[Obsolete ("Use Encode(SKWStream, SKWebpEncoderOptions) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Encode (SKWStream dst, SKPixmap src, SKWebpEncoderOptions options);
|
||||
[Obsolete ("Use Encode(SKWStream, SKEncodedImageFormat, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Encode (SKWStream dst, SKBitmap src, SKEncodedImageFormat format, int quality);
|
||||
[Obsolete ("Use Encode(SKWStream, SKEncodedImageFormat, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public static bool Encode (SKWStream dst, SKPixmap src, SKEncodedImageFormat encoder, int quality);
|
||||
```
|
||||
|
||||
|
@ -865,7 +865,7 @@ public static bool op_Inequality (SKSurfaceProps left, SKSurfaceProps right);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Create(SKRect, Stream) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKCanvas Create (SKRect bounds, SKXmlWriter writer);
|
||||
```
|
||||
|
||||
|
@ -897,31 +897,31 @@ public int GlyphCount { get; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CountGlyphs(byte[], SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public int CountGlyphs (byte[] str, SKEncoding encoding);
|
||||
[Obsolete ("Use CountGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public int CountGlyphs (System.ReadOnlySpan<byte> str, SKEncoding encoding);
|
||||
[Obsolete ("Use CountGlyphs(string) instead.")]
|
||||
[Obsolete ()]
|
||||
public int CountGlyphs (string str, SKEncoding encoding);
|
||||
[Obsolete ("Use CountGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public int CountGlyphs (IntPtr str, int strLen, SKEncoding encoding);
|
||||
[Obsolete ("Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public ushort[] GetGlyphs (byte[] text, SKEncoding encoding);
|
||||
[Obsolete ("Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public ushort[] GetGlyphs (System.ReadOnlySpan<byte> text, SKEncoding encoding);
|
||||
[Obsolete ("Use GetGlyphs(string) instead.")]
|
||||
[Obsolete ()]
|
||||
public ushort[] GetGlyphs (string text, SKEncoding encoding);
|
||||
[Obsolete ("Use GetGlyphs(string) instead.")]
|
||||
[Obsolete ()]
|
||||
public int GetGlyphs (string text, out ushort[] glyphs);
|
||||
[Obsolete ("Use GetGlyphs(byte[], SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public int GetGlyphs (byte[] text, SKEncoding encoding, out ushort[] glyphs);
|
||||
[Obsolete ("Use GetGlyphs(IntPtr, int, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public ushort[] GetGlyphs (IntPtr text, int length, SKEncoding encoding);
|
||||
[Obsolete ("Use GetGlyphs(ReadOnlySpan<byte>, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public int GetGlyphs (System.ReadOnlySpan<byte> text, SKEncoding encoding, out ushort[] glyphs);
|
||||
[Obsolete ("Use GetGlyphs(string) instead.")]
|
||||
[Obsolete ()]
|
||||
public int GetGlyphs (string text, SKEncoding encoding, out ushort[] glyphs);
|
||||
[Obsolete ("Use GetGlyphs(IntPtr, int, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public int GetGlyphs (IntPtr text, int length, SKEncoding encoding, out ushort[] glyphs);
|
||||
```
|
||||
|
||||
|
@ -978,7 +978,7 @@ public static SKTextEncoding ToTextEncoding (this SKEncoding encoding);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetEncodedText(string, SKTextEncoding) instead.")]
|
||||
[Obsolete ()]
|
||||
public static byte[] GetEncodedText (string text, SKEncoding encoding);
|
||||
```
|
||||
|
||||
|
|
|
@ -38,13 +38,13 @@ public GRBackendTexture (int width, int height, GRVkImageInfo vkInfo);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateGl() instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRContext Create (GRBackend backend);
|
||||
[Obsolete ("Use CreateGl(GRGlInterface) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRContext Create (GRBackend backend, GRGlInterface backendContext);
|
||||
[Obsolete ("Use GetResourceCacheLimit() instead.")]
|
||||
[Obsolete ()]
|
||||
public void GetResourceCacheLimits (out int maxResources, out long maxResourceBytes);
|
||||
[Obsolete ("Use SetResourceCacheLimit(long) instead.")]
|
||||
[Obsolete ()]
|
||||
public void SetResourceCacheLimits (int maxResources, long maxResourceBytes);
|
||||
```
|
||||
|
||||
|
@ -62,29 +62,29 @@ public void SetResourceCacheLimit (long maxResourceBytes);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateAngle(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleAngleInterface (GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use CreateAngle(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleAngleInterface (object context, GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use CreateOpenGl(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleGlInterface (GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use CreateOpenGl(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleGlInterface (object context, GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use CreateGles(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleGlesInterface (GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use CreateGles(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleGlesInterface (object context, GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use Create(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleInterface (GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use Create(GRGlGetProcedureAddressDelegate) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface AssembleInterface (object context, GRGlGetProcDelegate get);
|
||||
[Obsolete ("Use Create() instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface CreateDefaultInterface ();
|
||||
[Obsolete ("Use Create() instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface CreateNativeAngleInterface ();
|
||||
[Obsolete ("Use CreateEvas(IntPtr) instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface CreateNativeEvasInterface (IntPtr evas);
|
||||
[Obsolete ("Use Create() instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRGlInterface CreateNativeGlInterface ();
|
||||
```
|
||||
|
||||
|
@ -106,11 +106,11 @@ public static GRGlInterface CreateWebGl (GRGlGetProcedureAddressDelegate get);
|
|||
Obsoleted fields:
|
||||
|
||||
```diff
|
||||
[Obsolete ("The pixel configuration 'floating-point RG' is no longer supported in the native library.")]
|
||||
[Obsolete ()]
|
||||
RgFloat = 12,
|
||||
[Obsolete ("The pixel configuration 'floating-point RGBA' is no longer supported in the native library.")]
|
||||
[Obsolete ()]
|
||||
RgbaFloat = 11,
|
||||
[Obsolete ("The pixel configuration 'sBGRA 8888' is no longer supported in the native library.")]
|
||||
[Obsolete ()]
|
||||
Sbgra8888 = 9,
|
||||
```
|
||||
|
||||
|
@ -145,7 +145,7 @@ public SKBitmap (int width, int height, SKColorType colorType, SKAlphaType alpha
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetAddress instead.")]
|
||||
[Obsolete ()]
|
||||
public IntPtr GetAddr (int x, int y);
|
||||
[Obsolete ()]
|
||||
public ushort GetAddr16 (int x, int y);
|
||||
|
@ -167,27 +167,27 @@ public IntPtr GetAddress (int x, int y);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawPositionedText (byte[] text, SKPoint[] points, SKPaint paint);
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawPositionedText (string text, SKPoint[] points, SKPaint paint);
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawPositionedText (IntPtr buffer, int length, SKPoint[] points, SKPaint paint);
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (byte[] text, SKPoint p, SKPaint paint);
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (byte[] text, float x, float y, SKPaint paint);
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (IntPtr buffer, int length, SKPoint p, SKPaint paint);
|
||||
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawText (IntPtr buffer, int length, float x, float y, SKPaint paint);
|
||||
[Obsolete ("Use DrawTextOnPath(string, SKPath, SKPoint, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawTextOnPath (byte[] text, SKPath path, SKPoint offset, SKPaint paint);
|
||||
[Obsolete ("Use DrawTextOnPath(string, SKPath, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawTextOnPath (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
[Obsolete ("Use DrawTextOnPath(string, SKPath, SKPoint, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawTextOnPath (IntPtr buffer, int length, SKPath path, SKPoint offset, SKPaint paint);
|
||||
[Obsolete ("Use DrawTextOnPath(string, SKPath, float, float, SKPaint) instead.")]
|
||||
[Obsolete ()]
|
||||
public void DrawTextOnPath (IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint);
|
||||
```
|
||||
|
||||
|
@ -215,7 +215,7 @@ Obsoleted properties:
|
|||
Obsoleted properties:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetNumericalTransferFunction() instead.")]
|
||||
[Obsolete ()]
|
||||
public SKNamedGamma NamedGamma { get; }
|
||||
[Obsolete ()]
|
||||
public SKColorSpaceType Type { get; }
|
||||
|
@ -224,23 +224,23 @@ Obsoleted properties:
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceRenderTargetGamma gamma, SKColorSpaceGamut gamut);
|
||||
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceRenderTargetGamma gamma, SKMatrix44 toXyzD50);
|
||||
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut);
|
||||
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn coeffs, SKMatrix44 toXyzD50);
|
||||
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKNamedGamma gamma, SKColorSpaceGamut gamut);
|
||||
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorSpace CreateRgb (SKNamedGamma gamma, SKMatrix44 toXyzD50);
|
||||
[Obsolete ()]
|
||||
public SKMatrix44 FromXyzD50 ();
|
||||
[Obsolete ("Use ToColorSpaceXyz() instead.")]
|
||||
[Obsolete ()]
|
||||
public SKMatrix44 ToXyzD50 ();
|
||||
[Obsolete ("Use ToColorSpaceXyz(out SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool ToXyzD50 (SKMatrix44 toXyzD50);
|
||||
```
|
||||
|
||||
|
@ -265,9 +265,9 @@ public SKColorSpace ToSrgbGamma ();
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use ToColorSpaceXyz() instead.")]
|
||||
[Obsolete ()]
|
||||
public SKMatrix44 ToXyzD50 ();
|
||||
[Obsolete ("Use ToColorSpaceXyz(out SKColorSpaceXyz) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool ToXyzD50 (SKMatrix44 toXyzD50);
|
||||
```
|
||||
|
||||
|
@ -314,7 +314,7 @@ RgbaF32 = 12,
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use ToTextureImage(GRContext) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKImage ToTextureImage (GRContext context, SKColorSpace colorspace);
|
||||
```
|
||||
|
||||
|
@ -330,11 +330,11 @@ public SKImage ToTextureImage (GRContext context, bool mipmapped);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateDisplacementMapEffect(SKColorChannel, SKColorChannel, float, SKImageFilter, SKImageFilter, SKImageFilter.CropRect) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImageFilter CreateDisplacementMapEffect (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
[Obsolete ("Use CreateDropShadow or CreateDropShadowOnly instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImageFilter CreateDropShadow (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKDropShadowImageFilterShadowMode shadowMode, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
[Obsolete ("Use CreateMatrixConvolution(SKSizeI, float[], float, float, SKPointI, SKShaderTileMode, bool, SKImageFilter, SKImageFilter.CropRect) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKImageFilter CreateMatrixConvolution (SKSizeI kernelSize, float[] kernel, float gain, float bias, SKPointI kernelOffset, SKMatrixConvolutionTileMode tileMode, bool convolveAlpha, SKImageFilter input, SKImageFilter.CropRect cropRect);
|
||||
```
|
||||
|
||||
|
@ -354,7 +354,7 @@ public static SKImageFilter CreateMatrixConvolution (SKSizeI kernelSize, float[]
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKJpegEncoderOptions(int, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKJpegEncoderOptions (int quality, SKJpegEncoderDownsample downsample, SKJpegEncoderAlphaOption alphaOption, SKTransferFunctionBehavior blendBehavior);
|
||||
```
|
||||
|
||||
|
@ -371,9 +371,9 @@ Obsoleted properties:
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder);
|
||||
[Obsolete ("Use CreateBlur(SKBlurStyle, float, bool) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder, bool respectCTM);
|
||||
```
|
||||
|
||||
|
@ -398,23 +398,23 @@ Sdf = 5,
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use CreateIdentity() instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeIdentity ();
|
||||
[Obsolete ("Use CreateRotation(float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeRotation (float radians);
|
||||
[Obsolete ("Use CreateRotation(float, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeRotation (float radians, float pivotx, float pivoty);
|
||||
[Obsolete ("Use CreateRotationDegrees(float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeRotationDegrees (float degrees);
|
||||
[Obsolete ("Use CreateRotationDegrees(float, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeRotationDegrees (float degrees, float pivotx, float pivoty);
|
||||
[Obsolete ("Use CreateScale(float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeScale (float sx, float sy);
|
||||
[Obsolete ("Use CreateScale(float, float, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeScale (float sx, float sy, float pivotX, float pivotY);
|
||||
[Obsolete ("Use CreateSkew(float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeSkew (float sx, float sy);
|
||||
[Obsolete ("Use CreateTranslation(float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKMatrix MakeTranslation (float dx, float dy);
|
||||
```
|
||||
|
||||
|
@ -463,7 +463,7 @@ public SKColorF ColorF { get; set; }
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use GetFontMetrics (out SKFontMetrics) instead.")]
|
||||
[Obsolete ()]
|
||||
public float GetFontMetrics (out SKFontMetrics metrics, float scale);
|
||||
```
|
||||
|
||||
|
@ -533,7 +533,7 @@ public bool ToWinding (SKPath result);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use Next(SKPoint[]) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPathVerb Next (SKPoint[] points, bool doConsumeDegenerates, bool exact);
|
||||
```
|
||||
|
||||
|
@ -566,7 +566,7 @@ public SKPathVerb Next (System.Span<SKPoint> points);
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use ReadPixels(SKImageInfo, IntPtr, int, int, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public bool ReadPixels (SKImageInfo dstInfo, IntPtr dstPixels, int dstRowBytes, int srcX, int srcY, SKTransferFunctionBehavior behavior);
|
||||
```
|
||||
|
||||
|
@ -576,7 +576,7 @@ Obsoleted methods:
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Using SKPngEncoderOptions(SKPngEncoderFilterFlags, int) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPngEncoderOptions (SKPngEncoderFilterFlags filterFlags, int zLibLevel, SKTransferFunctionBehavior unpremulBehavior);
|
||||
```
|
||||
|
||||
|
@ -674,89 +674,89 @@ public void GetIntercepts (float upperBounds, float lowerBounds, System.Span<flo
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions, SKRect? bounds);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, SKRect bounds);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, byte[] text, uint[] clusters);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, string text, uint[] clusters);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters, SKRect? bounds);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, byte[] text, uint[] clusters, SKRect bounds);
|
||||
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, string text, uint[] clusters, SKRect bounds);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions, SKRect? bounds);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, SKRect bounds);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, byte[] text, uint[] clusters);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, string text, uint[] clusters);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters, SKRect? bounds);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, byte[] text, uint[] clusters, SKRect bounds);
|
||||
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, string text, uint[] clusters, SKRect bounds);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs, SKRect? bounds);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, SKRect bounds);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters, SKRect? bounds);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters, SKRect bounds);
|
||||
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters, SKRect bounds);
|
||||
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y);
|
||||
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y, int textByteCount);
|
||||
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y, SKRect? bounds);
|
||||
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y, int textByteCount, SKRect? bounds);
|
||||
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count);
|
||||
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count, int textByteCount);
|
||||
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count, SKRect? bounds);
|
||||
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count, int textByteCount, SKRect? bounds);
|
||||
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y);
|
||||
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y, int textByteCount);
|
||||
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y, SKRect? bounds);
|
||||
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y, int textByteCount, SKRect? bounds);
|
||||
```
|
||||
|
||||
|
@ -794,7 +794,7 @@ public SKFont ToFont (float size, float scaleX, float skewX);
|
|||
Obsoleted constructors:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKWebpEncoderOptions(SKWebpEncoderCompression, float) instead.")]
|
||||
[Obsolete ()]
|
||||
public SKWebpEncoderOptions (SKWebpEncoderCompression compression, float quality, SKTransferFunctionBehavior unpremulBehavior);
|
||||
```
|
||||
|
||||
|
@ -811,11 +811,11 @@ Obsoleted properties:
|
|||
Obsoleted methods:
|
||||
|
||||
```diff
|
||||
[Obsolete ("Use SKColorType instead.")]
|
||||
[Obsolete ()]
|
||||
public static SKColorType ToColorType (this GRPixelConfig config);
|
||||
[Obsolete ("Use SKColorType instead.")]
|
||||
[Obsolete ()]
|
||||
public static uint ToGlSizedFormat (this GRPixelConfig config);
|
||||
[Obsolete ("Use SKColorType instead.")]
|
||||
[Obsolete ()]
|
||||
public static GRPixelConfig ToPixelConfig (this SKColorType colorType);
|
||||
[Obsolete ()]
|
||||
public static SKTextEncoding ToTextEncoding (this SKEncoding encoding);
|
||||
|
@ -825,7 +825,7 @@ Added methods:
|
|||
|
||||
```csharp
|
||||
|
||||
[Obsolete ("Use SKColorChannel instead.")]
|
||||
[Obsolete]
|
||||
public static SKColorChannel ToColorChannel (this SKDisplacementMapEffectChannelSelectorType channelSelectorType);
|
||||
|
||||
[Obsolete]
|
||||
|
@ -840,7 +840,7 @@ public static SKColorSpaceXyz ToColorSpaceXyz (this SKColorSpaceGamut gamut);
|
|||
[Obsolete]
|
||||
public static SKColorSpaceXyz ToColorSpaceXyz (this SKMatrix44 matrix);
|
||||
|
||||
[Obsolete ("Use SKShaderTileMode instead.")]
|
||||
[Obsolete]
|
||||
public static SKShaderTileMode ToShaderTileMode (this SKMatrixConvolutionTileMode tileMode);
|
||||
```
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче