diff --git a/binding/Binding/Definitions.cs b/binding/Binding/Definitions.cs index b4ed597d41..2e38d97a0a 100644 --- a/binding/Binding/Definitions.cs +++ b/binding/Binding/Definitions.cs @@ -19,6 +19,18 @@ public enum SKCodecResult { Unimplemented, } + [Obsolete ("Use SKEncodedOrigin instead.")] + public enum SKCodecOrigin { + TopLeft = 1, + TopRight = 2, + BottomRight = 3, + BottomLeft = 4, + LeftTop = 5, + RightTop = 6, + RightBottom = 7, + LeftBottom = 8, + } + public enum SKEncodedOrigin { TopLeft = 1, TopRight = 2, diff --git a/binding/Binding/GRBackendRenderTarget.cs b/binding/Binding/GRBackendRenderTarget.cs index b5de8878d3..bba1a62357 100644 --- a/binding/Binding/GRBackendRenderTarget.cs +++ b/binding/Binding/GRBackendRenderTarget.cs @@ -18,7 +18,7 @@ public GRBackendRenderTarget (GRBackend backend, GRBackendRenderTargetDesc desc) case GRBackend.Metal: throw new NotSupportedException (); case GRBackend.OpenGL: - var glInfo = new GRGlFramebufferInfo ((uint)desc.RenderTargetHandle, desc.Config.ToSizedFormat ()); + var glInfo = new GRGlFramebufferInfo ((uint)desc.RenderTargetHandle, desc.Config.ToGlSizedFormat ()); CreateGl (desc.Width, desc.Height, desc.SampleCount, desc.StencilBits, glInfo); break; case GRBackend.Vulkan: diff --git a/binding/Binding/GRBackendTexture.cs b/binding/Binding/GRBackendTexture.cs index 8e4e852dee..2016a3db6c 100644 --- a/binding/Binding/GRBackendTexture.cs +++ b/binding/Binding/GRBackendTexture.cs @@ -17,7 +17,7 @@ public GRBackendTexture (GRGlBackendTextureDesc desc) { var handle = desc.TextureHandle; if (handle.Format == 0) { - handle.Format = desc.Config.ToSizedFormat (); + handle.Format = desc.Config.ToGlSizedFormat (); } CreateGl (desc.Width, desc.Height, false, handle); } @@ -29,7 +29,7 @@ public GRBackendTexture (GRBackendTextureDesc desc) var handlePtr = desc.TextureHandle; var oldHandle = PtrToStructure (handlePtr); - var handle = new GRGlTextureInfo (oldHandle.fTarget, oldHandle.fID, desc.Config.ToSizedFormat ()); + var handle = new GRGlTextureInfo (oldHandle.fTarget, oldHandle.fID, desc.Config.ToGlSizedFormat ()); CreateGl (desc.Width, desc.Height, false, handle); } @@ -62,6 +62,8 @@ protected override void Dispose (bool disposing) public int Height => SkiaApi.gr_backendtexture_get_height (Handle); public bool HasMipMaps => SkiaApi.gr_backendtexture_has_mipmaps (Handle); public GRBackend Backend => SkiaApi.gr_backendtexture_get_backend (Handle); + public SKSizeI Size => new SKSizeI (Width, Height); + public SKRectI Rect => new SKRectI (0, 0, Width, Height); public GRGlTextureInfo GetGlTextureInfo () { diff --git a/binding/Binding/GRDefinitions.cs b/binding/Binding/GRDefinitions.cs index 08b6c6875f..b0b8902ba3 100644 --- a/binding/Binding/GRDefinitions.cs +++ b/binding/Binding/GRDefinitions.cs @@ -197,7 +197,7 @@ public struct GRGlBackendTextureDesc public static partial class SkiaExtensions { - public static uint ToSizedFormat (this SKColorType colorType) + public static uint ToGlSizedFormat (this SKColorType colorType) { switch (colorType) { case SKColorType.Unknown: @@ -227,7 +227,7 @@ public static uint ToSizedFormat (this SKColorType colorType) } } - public static uint ToSizedFormat (this GRPixelConfig config) + public static uint ToGlSizedFormat (this GRPixelConfig config) { switch (config) { case GRPixelConfig.Alpha8: diff --git a/binding/Binding/SKCodec.cs b/binding/Binding/SKCodec.cs index 088fb0f2cc..4130e43c96 100644 --- a/binding/Binding/SKCodec.cs +++ b/binding/Binding/SKCodec.cs @@ -5,7 +5,6 @@ namespace SkiaSharp { // TODO: `Create(...)` should have overloads that accept a SKPngChunkReader // TODO: missing the `QueryYuv8` and `GetYuv8Planes` members - // TODO: might be useful to wrap `GetFrameInfo` (single result) public class SKCodec : SKObject { @@ -36,7 +35,10 @@ public SKImageInfo Info { } } - public SKEncodedOrigin Origin { + [Obsolete ("Use EncodedOrigin instead.")] + public SKCodecOrigin Origin => (SKCodecOrigin)EncodedOrigin; + + public SKEncodedOrigin EncodedOrigin { get { return SkiaApi.sk_codec_get_origin (Handle); } } @@ -123,8 +125,9 @@ public SKCodecResult GetPixels (SKImageInfo info, IntPtr pixels, int rowBytes, S fPriorFrame = options.PriorFrame, fPremulBehavior = options.PremulBehavior, }; + var subset = default(SKRectI); if (options.HasSubset) { - var subset = options.Subset.Value; + subset = options.Subset.Value; nOptions.fSubset = ⊂ } return SkiaApi.sk_codec_get_pixels (Handle, ref nInfo, pixels, (IntPtr)rowBytes, ref nOptions); @@ -198,8 +201,9 @@ public SKCodecResult StartIncrementalDecode (SKImageInfo info, IntPtr pixels, in fPriorFrame = options.PriorFrame, fPremulBehavior = options.PremulBehavior, }; + var subset = default (SKRectI); if (options.HasSubset) { - var subset = options.Subset.Value; + subset = options.Subset.Value; nOptions.fSubset = ⊂ } @@ -247,8 +251,9 @@ public SKCodecResult StartScanlineDecode (SKImageInfo info, SKCodecOptions optio fPriorFrame = options.PriorFrame, fPremulBehavior = options.PremulBehavior, }; + var subset = default (SKRectI); if (options.HasSubset) { - var subset = options.Subset.Value; + subset = options.Subset.Value; nOptions.fSubset = ⊂ } diff --git a/binding/Binding/SKFontManager.cs b/binding/Binding/SKFontManager.cs index be45a0bc6b..0480104f77 100644 --- a/binding/Binding/SKFontManager.cs +++ b/binding/Binding/SKFontManager.cs @@ -1,5 +1,7 @@ using System; +using System.Collections.Generic; using System.IO; +using System.Linq; namespace SkiaSharp { @@ -24,6 +26,15 @@ protected override void Dispose (bool disposing) public int FontFamilyCount => SkiaApi.sk_fontmgr_count_families (Handle); + public IEnumerable FontFamilies { + get { + var count = FontFamilyCount; + for (var i = 0; i < count; i++) { + yield return GetFamilyName (i); + } + } + } + public string GetFamilyName (int index) { using (var str = new SKString ()) { @@ -32,22 +43,14 @@ public string GetFamilyName (int index) } } - public string[] GetFontFamilies () - { - var count = FontFamilyCount; - var families = new string[count]; - for (int i = 0; i < count; i++) { - families[i] = GetFamilyName (i); - } - return families; - } + public string[] GetFontFamilies () => FontFamilies.ToArray (); - public SKFontStyleSet CreateStyleSet (int index) + public SKFontStyleSet GetFontStyles (int index) { return GetObject (SkiaApi.sk_fontmgr_create_styleset (Handle, index)); } - public SKFontStyleSet MatchFamily (string familyName) + public SKFontStyleSet GetFontStyles (string familyName) { return GetObject (SkiaApi.sk_fontmgr_match_family (Handle, familyName)); } @@ -60,7 +63,6 @@ public SKTypeface MatchFamily (string familyName, SKFontStyle style) return GetObject (SkiaApi.sk_fontmgr_match_family_style (Handle, familyName, style.Handle)); } - [Obsolete] public SKTypeface MatchTypeface (SKTypeface face, SKFontStyle style) { if (face == null) @@ -71,7 +73,7 @@ public SKTypeface MatchTypeface (SKTypeface face, SKFontStyle style) return GetObject (SkiaApi.sk_fontmgr_match_face_style (Handle, face.Handle, style.Handle)); } - public SKTypeface FromFile (string path, int index = 0) + public SKTypeface CreateTypeface (string path, int index = 0) { if (path == null) throw new ArgumentNullException (nameof (path)); @@ -80,12 +82,12 @@ public SKTypeface FromFile (string path, int index = 0) if (stream == null) { return null; } else { - return FromStream (stream, index); + return CreateTypeface (stream, index); } } } - public SKTypeface FromStream (Stream stream, int index = 0) + public SKTypeface CreateTypeface (Stream stream, int index = 0) { if (stream == null) throw new ArgumentNullException (nameof (stream)); @@ -103,10 +105,10 @@ public SKTypeface FromStream (Stream stream, int index = 0) fontStream = null; } - return FromStream (new SKManagedStream (stream, true), index); + return CreateTypeface (new SKManagedStream (stream, true), index); } - public SKTypeface FromStream (SKStreamAsset stream, int index = 0) + public SKTypeface CreateTypeface (SKStreamAsset stream, int index = 0) { if (stream == null) throw new ArgumentNullException (nameof (stream)); @@ -116,7 +118,7 @@ public SKTypeface FromStream (SKStreamAsset stream, int index = 0) return typeface; } - public SKTypeface FromData (SKData data, int index = 0) + public SKTypeface CreateTypeface (SKData data, int index = 0) { if (data == null) throw new ArgumentNullException (nameof (data)); diff --git a/binding/Binding/SKFontStyleSet.cs b/binding/Binding/SKFontStyleSet.cs index d604f93a14..c1da4a0ab9 100644 --- a/binding/Binding/SKFontStyleSet.cs +++ b/binding/Binding/SKFontStyleSet.cs @@ -1,8 +1,10 @@ using System; +using System.Collections; +using System.Collections.Generic; namespace SkiaSharp { - public class SKFontStyleSet : SKObject + public class SKFontStyleSet : SKObject, IEnumerable, IReadOnlyCollection, IReadOnlyList { [Preserve] internal SKFontStyleSet (IntPtr handle, bool owns) @@ -26,12 +28,13 @@ protected override void Dispose (bool disposing) public int Count => SkiaApi.sk_fontstyleset_get_count (Handle); - public void GetStyle(int index, out SKFontStyle fontStyle, out string styleName) + public SKFontStyle this[int index] => GetStyle (index); + + public string GetStyleName (int index) { - fontStyle = new SKFontStyle (); using (var str = new SKString ()) { - SkiaApi.sk_fontstyleset_get_style (Handle, index, fontStyle.Handle, str.Handle); - styleName = (string)str; + SkiaApi.sk_fontstyleset_get_style (Handle, index, IntPtr.Zero, str.Handle); + return (string)str; } } @@ -50,5 +53,24 @@ public SKTypeface CreateTypeface (SKFontStyle style) return GetObject (SkiaApi.sk_fontstyleset_match_style (Handle, style.Handle)); } + + public IEnumerator GetEnumerator () => GetStyles ().GetEnumerator (); + + IEnumerator IEnumerable.GetEnumerator () => GetStyles ().GetEnumerator (); + + private IEnumerable GetStyles () + { + var count = Count; + for (var i = 0; i < count; i++) { + yield return GetStyle (i); + } + } + + private SKFontStyle GetStyle (int index) + { + var fontStyle = new SKFontStyle (); + SkiaApi.sk_fontstyleset_get_style (Handle, index, fontStyle.Handle, IntPtr.Zero); + return fontStyle; + } } } diff --git a/binding/Binding/SKImage.cs b/binding/Binding/SKImage.cs index 0ea482b37b..6435848e6a 100644 --- a/binding/Binding/SKImage.cs +++ b/binding/Binding/SKImage.cs @@ -356,6 +356,7 @@ public SKData Encode () return GetObject (SkiaApi.sk_image_encode (Handle)); } + [Obsolete] public SKData Encode (SKPixelSerializer serializer) { if (serializer == null) diff --git a/binding/Binding/SKPath.cs b/binding/Binding/SKPath.cs index df1662aab7..612ace51b9 100644 --- a/binding/Binding/SKPath.cs +++ b/binding/Binding/SKPath.cs @@ -527,8 +527,7 @@ public static int ConvertConicToQuads (SKPoint p0, SKPoint p1, SKPoint p2, float public class Iterator : SKNativeObject { - SKPath Path => path; - SKPath path; + private readonly SKPath path; internal Iterator (SKPath path, bool forceClose) : base (SkiaApi.sk_path_create_iter (path.Handle, forceClose ? 1 : 0)) @@ -562,8 +561,7 @@ public SKPathVerb Next (SKPoint [] points, bool doConsumeDegenerates = true, boo public class RawIterator : SKNativeObject { - SKPath Path => path; - SKPath path; + private readonly SKPath path; internal RawIterator (SKPath path) : base (SkiaApi.sk_path_create_rawiter (path.Handle)) diff --git a/binding/Binding/SKPixelSerializer.cs b/binding/Binding/SKPixelSerializer.cs index cce0786cbb..985bfb5a39 100644 --- a/binding/Binding/SKPixelSerializer.cs +++ b/binding/Binding/SKPixelSerializer.cs @@ -2,8 +2,14 @@ namespace SkiaSharp { - public abstract class SKPixelSerializer : IDisposable + [Obsolete] + public abstract class SKPixelSerializer : SKObject { + protected SKPixelSerializer () + : base (IntPtr.Zero, false) + { + } + public bool UseEncodedData (IntPtr data, ulong length) { if (SKObject.SizeOf () == 4 && length > UInt32.MaxValue) @@ -33,16 +39,9 @@ public static SKPixelSerializer Create (Func onUseEncodedD { return new SKSimplePixelSerializer (onUseEncodedData, onEncode); } - - public void Dispose () - { - } - - protected virtual void Dispose (bool disposing) - { - } } + [Obsolete] internal class SKSimplePixelSerializer : SKPixelSerializer { private readonly Func onUseEncodedData; @@ -65,7 +64,7 @@ protected override bool OnUseEncodedData (IntPtr data, IntPtr length) } } - [Obsolete ("Use SKPixelSerializer instead.")] + [Obsolete] public abstract class SKManagedPixelSerializer : SKPixelSerializer { public SKManagedPixelSerializer() diff --git a/binding/Binding/SKTypeface.cs b/binding/Binding/SKTypeface.cs index d40007a773..c182696fdb 100644 --- a/binding/Binding/SKTypeface.cs +++ b/binding/Binding/SKTypeface.cs @@ -30,6 +30,13 @@ protected override void Dispose (bool disposing) base.Dispose (disposing); } + public static SKTypeface Default => GetObject (SkiaApi.sk_typeface_ref_default ()); + + public static SKTypeface CreateDefault () + { + return GetObject (SkiaApi.sk_typeface_create_default ()); + } + [Obsolete ("Use FromFamilyName(string, SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant) instead.")] public static SKTypeface FromFamilyName (string familyName, SKTypefaceStyle style) { diff --git a/binding/Binding/SkiaApi.cs b/binding/Binding/SkiaApi.cs index f6b0d1c198..40bbbda5c4 100755 --- a/binding/Binding/SkiaApi.cs +++ b/binding/Binding/SkiaApi.cs @@ -977,6 +977,10 @@ internal static class SkiaApi // typeface [DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)] + public extern static sk_typeface_t sk_typeface_create_default(); + [DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)] + public extern static sk_typeface_t sk_typeface_ref_default(); + [DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)] public extern static sk_typeface_t sk_typeface_create_from_name_with_font_style([MarshalAs(UnmanagedType.LPStr)] string familyName, sk_fontstyle_t style); [DllImport(SKIA, CallingConvention = CallingConvention.Cdecl)] public extern static sk_typeface_t sk_typeface_create_from_file([MarshalAs(UnmanagedType.LPStr)] string path, int index); diff --git a/build.cake b/build.cake index ff056cbcb6..f964131fe2 100644 --- a/build.cake +++ b/build.cake @@ -27,6 +27,7 @@ var VERBOSITY = (Verbosity) Enum.Parse (typeof(Verbosity), Argument ("v", Argume var SKIP_EXTERNALS = Argument ("skipexternals", Argument ("SkipExternals", "")).ToLower ().Split (','); var PACK_ALL_PLATFORMS = Argument ("packall", Argument ("PackAll", Argument ("PackAllPlatforms", TARGET.ToLower() == "ci" || TARGET.ToLower() == "nuget-only"))); var PRINT_ALL_ENV_VARS = Argument ("printAllEnvVars", false); +var ARTIFACTS_ROOT_URL = Argument ("artifactsRootUrl", ""); var NuGetSources = new [] { MakeAbsolute (Directory ("./output/nugets")).FullPath, "https://api.nuget.org/v3/index.json" }; var NuGetToolPath = Context.Tools.Resolve ("nuget.exe"); @@ -131,7 +132,7 @@ Task ("tests") } else { RunMSBuildWithPlatform ("./tests/SkiaSharp.Desktop.Tests/SkiaSharp.Desktop.Tests.sln", arch); } - RunTests ($"./tests/SkiaSharp.Desktop.Tests/bin/{arch}/Release/SkiaSharp.Tests.dll", null, arch == "x86"); + RunTests ($"./tests/SkiaSharp.Desktop.Tests/bin/{arch}/Release/SkiaSharp.Tests.dll", arch == "x86"); CopyFileToDirectory ($"./tests/SkiaSharp.Desktop.Tests/bin/{arch}/Release/TestResult.xml", $"./output/tests/{platform}/{arch}"); }); @@ -172,8 +173,8 @@ Task ("tests") CleanDirectories ("./tests/packages/harfbuzzsharp*"); EnsureDirectoryExists ("./output/tests/netcore"); RunMSBuildRestoreLocal (netCoreTestProj, "./tests/packages"); - RunNetCoreTests (netCoreTestProj, null); - CopyFileToDirectory ("./tests/SkiaSharp.NetCore.Tests/TestResult.xml", "./output/tests/netcore"); + RunNetCoreTests (netCoreTestProj); + CopyFile ("./tests/SkiaSharp.NetCore.Tests/TestResults/TestResults.xml", "./output/tests/netcore/TestResult.xml"); }); //////////////////////////////////////////////////////////////////////////////////////////////////// @@ -366,7 +367,7 @@ Task ("nuget-only") setVersion (xdoc, ""); xdoc.Save ($"{outDir}/{id}.nuspec"); - setVersion (xdoc, $"-preview-{BUILD_NUMBER}"); + setVersion (xdoc, $"-preview{BUILD_NUMBER}"); xdoc.Save ($"{outDir}/{id}.prerelease.nuspec"); // the legal diff --git a/cake/UpdateDocs.cake b/cake/UpdateDocs.cake index 6cb3e0ab6f..0da5d5f8c6 100644 --- a/cake/UpdateDocs.cake +++ b/cake/UpdateDocs.cake @@ -35,6 +35,31 @@ void CopyChangelogs (DirectoryPath diffRoot, string id, string version) } } +Task ("docs-download-output") + .Does (() => +{ + if (string.IsNullOrEmpty (ARTIFACTS_ROOT_URL)) + throw new Exception ("Specify an artifacts root URL with --artifactsRootUrl="); + + EnsureDirectoryExists ("./output/nugets"); + CleanDirectories ("./output/nugets"); + + foreach (var id in TRACKED_NUGETS.Keys) { + Information ($"Downloading '{id}'..."); + + var version = GetVersion (id); + var name = $"{id}.{version}.nupkg"; + + CleanDirectories ($"./output/{id}"); + DownloadFile ($"{ARTIFACTS_ROOT_URL}/nugets/{name}", $"./output/nugets/{name}"); + Unzip ($"./output/nugets/{name}", $"./output/{id}/nuget"); + } + + CleanDirectories ($"./output/samples"); + DownloadFile ($"{ARTIFACTS_ROOT_URL}/samples.zip", $"./output/samples.zip"); + Unzip ($"./output/samples.zip", $"./output/samples"); +}); + Task ("docs-api-diff") .Does (async () => { @@ -49,12 +74,14 @@ Task ("docs-api-diff") Information ($"Comparing the assemblies in '{id}'..."); var version = GetVersion (id); - var latestVersion = (await NuGetVersions.GetLatestAsync (id)).ToNormalizedString (); + var latestVersion = (await NuGetVersions.GetLatestAsync (id))?.ToNormalizedString (); Debug ($"Version '{latestVersion}' is the latest version of '{id}'..."); // pre-cache so we can have better logs - Debug ($"Caching version '{latestVersion}' of '{id}'..."); - await comparer.ExtractCachedPackageAsync (id, latestVersion); + if (!string.IsNullOrEmpty (latestVersion)) { + Debug ($"Caching version '{latestVersion}' of '{id}'..."); + await comparer.ExtractCachedPackageAsync (id, latestVersion); + } // generate the diff and copy to the changelogs Debug ($"Running a diff on '{latestVersion}' vs '{version}' of '{id}'..."); @@ -207,6 +234,8 @@ Task ("docs-format-docs") float totalTypes = 0; float totalMembers = 0; foreach (var file in docFiles) { + Debug("Processing {0}...", file.FullPath); + var xdoc = XDocument.Load (file.FullPath); // remove IComponent docs as this is just designer @@ -231,6 +260,21 @@ Task ("docs-format-docs") } } + // remove any duplicate AssemblyVersions + if (xdoc.Root.Name == "Type") { + foreach (var info in xdoc.Root.Descendants ("AssemblyInfo")) { + var versions = info.Elements ("AssemblyVersion"); + var newVersions = new List (); + foreach (var version in versions) { + if (newVersions.All (nv => nv.Value != version.Value)) { + newVersions.Add (version); + } + } + versions.Remove (); + info.Add (newVersions.OrderBy (e => e.Value)); + } + } + // Fix the type rename from SkPath1DPathEffectStyle to SKPath1DPathEffectStyle // this breaks linux as it is just a case change and that OS is case sensitive if (xdoc.Root.Name == "Overview") { @@ -261,6 +305,17 @@ Task ("docs-format-docs") } } + // remove empty FrameworkAlternate elements + var emptyAlts = xdoc.Root + .Descendants () + .Where (d => d.Attribute ("FrameworkAlternate") != null && string.IsNullOrEmpty (d.Attribute ("FrameworkAlternate").Value)) + .ToArray (); + foreach (var empty in emptyAlts) { + if (empty?.Parent != null) { + empty.Remove (); + } + } + // count the types without docs var typesWithDocs = xdoc.Root .Elements ("Docs"); @@ -272,7 +327,6 @@ Task ("docs-format-docs") var membersWithDocs = xdoc.Root .Elements ("Members") .Elements ("Member") - .Where (m => m.Attribute ("MemberName")?.Value != "Dispose" && m.Attribute ("MemberName")?.Value != "Finalize") .Elements ("Docs"); totalMembers += membersWithDocs.Count (); var currentMemberCount = membersWithDocs.Count (m => m.Value?.IndexOf ("To be added.") >= 0); diff --git a/cake/UtilsManaged.cake b/cake/UtilsManaged.cake index a8480bf704..32447613e3 100644 --- a/cake/UtilsManaged.cake +++ b/cake/UtilsManaged.cake @@ -85,7 +85,7 @@ var RunProcess = new Action ((process, settings) => } }); -var RunTests = new Action ((testAssembly, skip, is32) => +var RunTests = new Action ((testAssembly, is32) => { var dir = testAssembly.GetDirectory (); var settings = new XUnit2Settings { @@ -97,22 +97,17 @@ var RunTests = new Action ((testAssembly, skip, is32) WorkingDirectory = dir, ArgumentCustomization = args => args.Append ("-verbose"), }; - if (skip != null) { - settings.TraitsToExclude.Add ("Category", skip); - } XUnit2 (new [] { testAssembly }, settings); }); -var RunNetCoreTests = new Action ((testAssembly, skip) => +var RunNetCoreTests = new Action ((testAssembly) => { var dir = testAssembly.GetDirectory (); - string skipString = ""; - if (skip != null) { - foreach (var s in skip) { - skipString += $" -notrait \"Category={skip}\""; - } - } - DotNetCoreTool(testAssembly, "xunit", $"-verbose -parallel none -xml \"TestResult.xml\" {skipString}", new DotNetCoreToolSettings { + DotNetCoreTest(testAssembly.GetFilename().ToString(), new DotNetCoreTestSettings { + Configuration = "Release", + NoRestore = true, + TestAdapterPath = ".", + Logger = "xunit", WorkingDirectory = dir, }); }); diff --git a/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.iOS.md b/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.iOS.md index 48ecab1624..f969287caa 100644 --- a/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.iOS.md +++ b/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.iOS.md @@ -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, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment { +public class SKCanvasView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUIPasteConfigurationSupporting, 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, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment { +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, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUIPasteConfigurationSupporting, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring { // constructors public SKGLView (); public SKGLView (CoreGraphics.CGRect frame); diff --git a/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.tvOS.md b/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.tvOS.md index 252b96a91a..1d12ebac70 100644 --- a/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.tvOS.md +++ b/changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.tvOS.md @@ -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, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUITraitEnvironment { +public class SKCanvasView : UIKit.UIView, CoreAnimation.ICALayerDelegate, Foundation.INSCoding, Foundation.INSObjectProtocol, ObjCRuntime.INativeObject, System.Collections.IEnumerable, System.ComponentModel.IComponent, System.IDisposable, System.IEquatable, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, 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, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUITraitEnvironment { +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, UIKit.IUIAccessibilityIdentification, UIKit.IUIAppearance, UIKit.IUIAppearanceContainer, UIKit.IUICoordinateSpace, UIKit.IUIDynamicItem, UIKit.IUIFocusEnvironment, UIKit.IUIFocusItem, UIKit.IUIFocusItemContainer, UIKit.IUITraitEnvironment, UIKit.IUIUserActivityRestoring { // constructors public SKGLView (); public SKGLView (CoreGraphics.CGRect frame); diff --git a/changelogs/SkiaSharp.Views/1.68.0/SkiaSharp.Views.UWP.md b/changelogs/SkiaSharp.Views/1.68.0/SkiaSharp.Views.UWP.md index 7acb2c2b92..d58e104b82 100644 --- a/changelogs/SkiaSharp.Views/1.68.0/SkiaSharp.Views.UWP.md +++ b/changelogs/SkiaSharp.Views/1.68.0/SkiaSharp.Views.UWP.md @@ -73,25 +73,3 @@ protected override Windows.Foundation.Size ArrangeOverride (Windows.Foundation.S #### Removed Type SkiaSharp.Views.UWP.GlesRenderTarget #### Removed Type SkiaSharp.Views.UWP.GlesStencilFormat -### New Namespace SkiaSharp.Views.GlesInterop - -#### New Type: SkiaSharp.Views.GlesInterop.GlesContext - -```csharp -public class GlesContext : System.IDisposable { - // constructors - public GlesContext (); - // properties - public bool HasSurface { get; } - // methods - public void CreateSurface (Windows.UI.Xaml.Controls.SwapChainPanel panel, Windows.Foundation.Size? renderSurfaceSize, float? resolutionScale); - public void DestroySurface (); - public virtual void Dispose (); - public void GetSurfaceDimensions (out int width, out int height); - public void MakeCurrent (); - public void Reset (); - public void SetViewportSize (int width, int height); - public bool SwapBuffers (); -} -``` - diff --git a/changelogs/SkiaSharp/1.68.0/SkiaSharp.breaking.md b/changelogs/SkiaSharp/1.68.0/SkiaSharp.breaking.md index b072b0fcc4..6a7dc054fc 100644 --- a/changelogs/SkiaSharp/1.68.0/SkiaSharp.breaking.md +++ b/changelogs/SkiaSharp/1.68.0/SkiaSharp.breaking.md @@ -85,13 +85,6 @@ Removed property: public SKEncodedInfo EncodedInfo { get; } ``` -Modified properties: - -```diff --public SKCodecOrigin Origin { get; } -+public SKEncodedOrigin Origin { get; } -``` - #### Type Changed: SkiaSharp.SKCodecOptions @@ -201,16 +194,6 @@ public static SKPathEffect CreateArcTo (float radius); ``` -#### Type Changed: SkiaSharp.SKPixelSerializer - -Modified base type: - -```diff --SkiaSharp.SKObject -+System.Object -``` - - #### Type Changed: SkiaSharp.SKPixmap Modified constructors: @@ -238,7 +221,6 @@ Modified methods: #### Removed Type SkiaSharp.GRContextOptions #### Removed Type SkiaSharp.GRContextOptionsGpuPathRenderers -#### Removed Type SkiaSharp.SKCodecOrigin #### Removed Type SkiaSharp.SKEncodedInfo #### Removed Type SkiaSharp.SKEncodedInfoAlpha #### Removed Type SkiaSharp.SKEncodedInfoColor diff --git a/changelogs/SkiaSharp/1.68.0/SkiaSharp.md b/changelogs/SkiaSharp/1.68.0/SkiaSharp.md index 1b223f2b4c..4864e0ba36 100644 --- a/changelogs/SkiaSharp/1.68.0/SkiaSharp.md +++ b/changelogs/SkiaSharp/1.68.0/SkiaSharp.md @@ -192,11 +192,17 @@ Removed property: public SKEncodedInfo EncodedInfo { get; } ``` -Modified properties: +Obsoleted properties: ```diff --public SKCodecOrigin Origin { get; } -+public SKEncodedOrigin Origin { get; } + [Obsolete ("Use EncodedOrigin instead.")] + public SKCodecOrigin Origin { get; } +``` + +Added property: + +```csharp +public SKEncodedOrigin EncodedOrigin { get; } ``` Obsoleted methods: @@ -361,20 +367,24 @@ public static SKDocument CreatePdf (SKWStream stream, SKDocumentPdfMetadata meta #### Type Changed: SkiaSharp.SKFontManager +Added property: + +```csharp +public System.Collections.Generic.IEnumerable FontFamilies { get; } +``` + Added methods: ```csharp public static SKFontManager CreateDefault (); -public SKFontStyleSet CreateStyleSet (int index); -public SKTypeface FromData (SKData data, int index); -public SKTypeface FromFile (string path, int index); -public SKTypeface FromStream (SKStreamAsset stream, int index); -public SKTypeface FromStream (System.IO.Stream stream, int index); +public SKTypeface CreateTypeface (SKData data, int index); +public SKTypeface CreateTypeface (SKStreamAsset stream, int index); +public SKTypeface CreateTypeface (System.IO.Stream stream, int index); +public SKTypeface CreateTypeface (string path, int index); +public SKFontStyleSet GetFontStyles (int index); +public SKFontStyleSet GetFontStyles (string familyName); public SKTypeface MatchCharacter (string familyName, SKFontStyle style, string[] bcp47, int character); -public SKFontStyleSet MatchFamily (string familyName); public SKTypeface MatchFamily (string familyName, SKFontStyle style); - -[Obsolete] public SKTypeface MatchTypeface (SKTypeface face, SKFontStyle style); ``` @@ -402,6 +412,8 @@ public SKData EncodedData { get; } Obsoleted methods: ```diff + [Obsolete ()] + public SKData Encode (SKPixelSerializer serializer); [Obsolete ("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.")] public static SKImage FromAdoptedTexture (GRContext context, GRBackendTextureDesc desc); [Obsolete ("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.")] @@ -563,30 +575,21 @@ public static SKPathEffect CreateArcTo (float radius); #### Type Changed: SkiaSharp.SKPixelSerializer -Modified base type: - -```diff --SkiaSharp.SKObject -+System.Object -``` - Added constructor: ```csharp protected SKPixelSerializer (); ``` -Modified methods: +Removed method: -```diff --protected override void Dispose (bool disposing) -+protected virtual void Dispose (bool disposing) +```csharp +protected override void Dispose (bool disposing); ``` Added methods: ```csharp -public virtual void Dispose (); protected virtual SKData OnEncode (SKPixmap pixmap); protected virtual bool OnUseEncodedData (IntPtr data, IntPtr length); ``` @@ -756,9 +759,10 @@ Obsoleted properties: public SKTypefaceStyle Style { get; } ``` -Added property: +Added properties: ```csharp +public static SKTypeface Default { get; } public SKFontStyle FontStyle { get; } ``` @@ -781,6 +785,7 @@ Modified methods: Added methods: ```csharp +public static SKTypeface CreateDefault (); public static SKTypeface FromFamilyName (string familyName); public static SKTypeface FromFamilyName (string familyName, SKFontStyle style); ``` @@ -795,15 +800,14 @@ public static SKColorType ToColorType (this GRPixelConfig config); [Obsolete] public static SKFilterQuality ToFilterQuality (this SKBitmapResizeMethod method); +public static uint ToGlSizedFormat (this GRPixelConfig config); +public static uint ToGlSizedFormat (this SKColorType colorType); public static GRPixelConfig ToPixelConfig (this SKColorType colorType); -public static uint ToSizedFormat (this GRPixelConfig config); -public static uint ToSizedFormat (this SKColorType colorType); ``` #### Removed Type SkiaSharp.GRContextOptions #### Removed Type SkiaSharp.GRContextOptionsGpuPathRenderers -#### Removed Type SkiaSharp.SKCodecOrigin #### Removed Type SkiaSharp.SKEncodedInfo #### Removed Type SkiaSharp.SKEncodedInfoAlpha #### Removed Type SkiaSharp.SKEncodedInfoColor @@ -850,6 +854,8 @@ public GRBackendTexture (GRGlBackendTextureDesc desc); public bool HasMipMaps { get; } public int Height { get; } public bool IsValid { get; } + public SKRectI Rect { get; } + public SKSizeI Size { get; } public int Width { get; } // methods protected override void Dispose (bool disposing); @@ -923,16 +929,18 @@ public class SKFontStyle : SkiaSharp.SKObject, System.IDisposable { #### New Type: SkiaSharp.SKFontStyleSet ```csharp -public class SKFontStyleSet : SkiaSharp.SKObject, System.IDisposable { +public class SKFontStyleSet : SkiaSharp.SKObject, System.Collections.Generic.IEnumerable, System.Collections.Generic.IReadOnlyCollection, System.Collections.Generic.IReadOnlyList, System.Collections.IEnumerable, System.IDisposable { // constructors public SKFontStyleSet (); // properties - public int Count { get; } + public virtual int Count { get; } + public virtual SKFontStyle Item { get; } // methods public SKTypeface CreateTypeface (SKFontStyle style); public SKTypeface CreateTypeface (int index); protected override void Dispose (bool disposing); - public void GetStyle (int index, out SKFontStyle fontStyle, out string styleName); + public virtual System.Collections.Generic.IEnumerator GetEnumerator (); + public string GetStyleName (int index); } ``` diff --git a/docs/xml/FrameworksIndex/harfbuzzsharp-1.4.6.2.xml b/docs/xml/FrameworksIndex/harfbuzzsharp-1.4.6.2.xml new file mode 100644 index 0000000000..31191c9f78 --- /dev/null +++ b/docs/xml/FrameworksIndex/harfbuzzsharp-1.4.6.2.xml @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-1.68.0.xml new file mode 100644 index 0000000000..13512c9e2c --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-1.68.0.xml @@ -0,0 +1,2431 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-harfbuzz-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-harfbuzz-1.68.0.xml new file mode 100644 index 0000000000..4c47879c27 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-harfbuzz-1.68.0.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-android-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-android-1.68.0.xml new file mode 100644 index 0000000000..ea80df6015 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-android-1.68.0.xml @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-forms-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-forms-1.68.0.xml new file mode 100644 index 0000000000..ca28ad8674 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-forms-1.68.0.xml @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-ios-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-ios-1.68.0.xml new file mode 100644 index 0000000000..b888dbe171 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-ios-1.68.0.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-macos-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-macos-1.68.0.xml new file mode 100644 index 0000000000..dbd6319bcf --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-macos-1.68.0.xml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-net-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-net-1.68.0.xml new file mode 100644 index 0000000000..44a1e46879 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-net-1.68.0.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-tizen-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-tizen-1.68.0.xml new file mode 100644 index 0000000000..b220d131ed --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-tizen-1.68.0.xml @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-tvos-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-tvos-1.68.0.xml new file mode 100644 index 0000000000..77fbf58eae --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-tvos-1.68.0.xml @@ -0,0 +1,135 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-uwp-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-uwp-1.68.0.xml new file mode 100644 index 0000000000..7bb9f87276 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-uwp-1.68.0.xml @@ -0,0 +1,62 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/FrameworksIndex/skiasharp-views-watchos-1.68.0.xml b/docs/xml/FrameworksIndex/skiasharp-views-watchos-1.68.0.xml new file mode 100644 index 0000000000..87530969c4 --- /dev/null +++ b/docs/xml/FrameworksIndex/skiasharp-views-watchos-1.68.0.xml @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/xml/HarfBuzzSharp/Blob.xml b/docs/xml/HarfBuzzSharp/Blob.xml index 92d0906a34..e00b23ac25 100644 --- a/docs/xml/HarfBuzzSharp/Blob.xml +++ b/docs/xml/HarfBuzzSharp/Blob.xml @@ -57,9 +57,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/HarfBuzzSharp/Buffer.xml b/docs/xml/HarfBuzzSharp/Buffer.xml index f1f538dad9..6a49f71f8a 100644 --- a/docs/xml/HarfBuzzSharp/Buffer.xml +++ b/docs/xml/HarfBuzzSharp/Buffer.xml @@ -124,9 +124,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/HarfBuzzSharp/Face.xml b/docs/xml/HarfBuzzSharp/Face.xml index 70a87108f5..a6fa801f38 100644 --- a/docs/xml/HarfBuzzSharp/Face.xml +++ b/docs/xml/HarfBuzzSharp/Face.xml @@ -51,9 +51,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/HarfBuzzSharp/Font.xml b/docs/xml/HarfBuzzSharp/Font.xml index 7da86d0bbc..c87b924599 100644 --- a/docs/xml/HarfBuzzSharp/Font.xml +++ b/docs/xml/HarfBuzzSharp/Font.xml @@ -49,9 +49,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/HarfBuzzSharp/NativeObject.xml b/docs/xml/HarfBuzzSharp/NativeObject.xml index b345185d91..34ad55eb24 100644 --- a/docs/xml/HarfBuzzSharp/NativeObject.xml +++ b/docs/xml/HarfBuzzSharp/NativeObject.xml @@ -36,8 +36,8 @@ - To be added. - To be added. + Releases all resources used by this . + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -56,9 +56,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -75,8 +76,8 @@ - To be added. - To be added. + Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. + diff --git a/docs/xml/SkiaSharp.HarfBuzz/BlobExtensions.xml b/docs/xml/SkiaSharp.HarfBuzz/BlobExtensions.xml index aadbb1ea74..65780a9693 100644 --- a/docs/xml/SkiaSharp.HarfBuzz/BlobExtensions.xml +++ b/docs/xml/SkiaSharp.HarfBuzz/BlobExtensions.xml @@ -5,6 +5,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 HarfBuzzSharp.Blob diff --git a/docs/xml/SkiaSharp.HarfBuzz/CanvasExtensions.xml b/docs/xml/SkiaSharp.HarfBuzz/CanvasExtensions.xml index faebd38946..8e59272e9f 100644 --- a/docs/xml/SkiaSharp.HarfBuzz/CanvasExtensions.xml +++ b/docs/xml/SkiaSharp.HarfBuzz/CanvasExtensions.xml @@ -5,6 +5,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.HarfBuzz/FontExtensions.xml b/docs/xml/SkiaSharp.HarfBuzz/FontExtensions.xml index cf8edef954..239b1c44d2 100644 --- a/docs/xml/SkiaSharp.HarfBuzz/FontExtensions.xml +++ b/docs/xml/SkiaSharp.HarfBuzz/FontExtensions.xml @@ -5,6 +5,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -45,6 +47,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.HarfBuzz/SKShaper+Result.xml b/docs/xml/SkiaSharp.HarfBuzz/SKShaper+Result.xml index b277f32e13..4b401d9a0e 100644 --- a/docs/xml/SkiaSharp.HarfBuzz/SKShaper+Result.xml +++ b/docs/xml/SkiaSharp.HarfBuzz/SKShaper+Result.xml @@ -5,6 +5,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 @@ -38,6 +40,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 @@ -60,6 +63,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.UInt32[] @@ -78,6 +82,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.UInt32[] @@ -96,6 +101,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] diff --git a/docs/xml/SkiaSharp.HarfBuzz/SKShaper.xml b/docs/xml/SkiaSharp.HarfBuzz/SKShaper.xml index ab35a3e41a..c4ec36a654 100644 --- a/docs/xml/SkiaSharp.HarfBuzz/SKShaper.xml +++ b/docs/xml/SkiaSharp.HarfBuzz/SKShaper.xml @@ -5,6 +5,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Object @@ -27,6 +28,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 @@ -48,14 +50,15 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 System.Void - To be added. - To be added. + Releases all resources used by this . + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -66,6 +69,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 SkiaSharp.HarfBuzz.SKShaper+Result @@ -90,6 +94,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 SkiaSharp.HarfBuzz.SKShaper+Result @@ -118,6 +123,7 @@ SkiaSharp.HarfBuzz 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface diff --git a/docs/xml/SkiaSharp.Views.Android/AndroidExtensions.xml b/docs/xml/SkiaSharp.Views.Android/AndroidExtensions.xml index e744f683b9..136333c306 100644 --- a/docs/xml/SkiaSharp.Views.Android/AndroidExtensions.xml +++ b/docs/xml/SkiaSharp.Views.Android/AndroidExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Bitmap @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Bitmap @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Bitmap @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Bitmap @@ -131,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Color @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Matrix @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.PointF @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Point @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.RectF @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Graphics.Rect @@ -281,6 +292,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -306,6 +318,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -331,6 +344,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -356,6 +370,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -381,6 +396,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -407,6 +423,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -432,6 +449,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -457,6 +475,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -482,6 +501,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect diff --git a/docs/xml/SkiaSharp.Views.Android/Extensions.xml b/docs/xml/SkiaSharp.Views.Android/Extensions.xml index f23c97986b..83e3f491b0 100644 --- a/docs/xml/SkiaSharp.Views.Android/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.Android/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Color @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.PointF @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Point @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.RectangleF @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Rectangle @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.SizeF @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Size @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -229,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -254,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -279,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -304,6 +316,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -329,6 +342,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -354,6 +368,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLConfigChooser.xml b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLConfigChooser.xml index 27aec9258a..d8a328a0e4 100644 --- a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLConfigChooser.xml +++ b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLConfigChooser.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -20,6 +21,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Javax.Microedition.Khronos.Egl.EGLConfig diff --git a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLContextFactory.xml b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLContextFactory.xml index 34dd344250..e5e3cb9f8f 100644 --- a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLContextFactory.xml +++ b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLContextFactory.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -20,6 +21,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Javax.Microedition.Khronos.Egl.EGLContext @@ -46,6 +48,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLWindowSurfaceFactory.xml b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLWindowSurfaceFactory.xml index 2d663af5f0..727dacbc27 100644 --- a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLWindowSurfaceFactory.xml +++ b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IEGLWindowSurfaceFactory.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -20,6 +21,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Javax.Microedition.Khronos.Egl.EGLSurface @@ -48,6 +50,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IGLWrapper.xml b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IGLWrapper.xml index e19952e554..f1785f2194 100644 --- a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IGLWrapper.xml +++ b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IGLWrapper.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -20,6 +21,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Javax.Microedition.Khronos.Opengles.IGL diff --git a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IRenderer.xml b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IRenderer.xml index ba28772467..fd96b381bc 100644 --- a/docs/xml/SkiaSharp.Views.Android/GLTextureView+IRenderer.xml +++ b/docs/xml/SkiaSharp.Views.Android/GLTextureView+IRenderer.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -31,6 +32,7 @@ to register the renderer with the . SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -52,6 +54,7 @@ to register the renderer with the . SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -87,6 +90,7 @@ could also set your projection matrix here. SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -110,6 +114,7 @@ could also set your projection matrix here. SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/GLTextureView.xml b/docs/xml/SkiaSharp.Views.Android/GLTextureView.xml index e32e974c23..fb19ee466a 100644 --- a/docs/xml/SkiaSharp.Views.Android/GLTextureView.xml +++ b/docs/xml/SkiaSharp.Views.Android/GLTextureView.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Android.Views.TextureView @@ -33,6 +34,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -51,6 +53,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -71,6 +74,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Android.Opengl.DebugFlags @@ -89,6 +93,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -97,9 +102,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -110,6 +116,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -128,6 +135,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -149,6 +157,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -186,6 +195,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -204,6 +214,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -225,6 +236,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -253,6 +265,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Boolean @@ -278,6 +291,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -306,6 +320,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -327,6 +342,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Boolean @@ -345,6 +361,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -366,6 +383,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -387,6 +405,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Android.Opengl.Rendermode @@ -405,6 +424,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -423,6 +443,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -454,6 +475,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -485,6 +507,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -526,6 +549,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -547,6 +571,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -568,6 +593,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -589,6 +615,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -610,6 +637,7 @@ If this method is called, it must be called before SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKCanvasView.xml b/docs/xml/SkiaSharp.Views.Android/SKCanvasView.xml index 0cecb59214..9e25907995 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKCanvasView.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKCanvasView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Views.View @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -96,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -121,6 +126,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -142,6 +148,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -150,9 +157,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -166,6 +174,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -187,6 +196,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -211,7 +221,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -250,6 +266,56 @@ protected override void OnDraw(SKSurface surface, SKImageInfo info) canvas.Flush(); } ``` +]]> + + + + + + + + Method + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. If the method is overridden, then the base must be called. + +## Examples + +```csharp +protected override void OnPaintSurface(SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface(e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + canvas.Flush(); +} +``` ]]> @@ -265,6 +331,7 @@ protected override void OnDraw(SKSurface surface, SKImageInfo info) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -295,6 +362,7 @@ protected override void OnDraw(SKSurface surface, SKImageInfo info) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Android.SKPaintSurfaceEventArgs> @@ -306,7 +374,7 @@ protected override void OnDraw(SKSurface surface, SKImageInfo info) ## Remarks There are two ways to draw on this surface: by overriding the - + method, or by attaching a handler to the event. diff --git a/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView+ISKRenderer.xml b/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView+ISKRenderer.xml index 4c59c09899..e048fd0474 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView+ISKRenderer.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView+ISKRenderer.xml @@ -8,11 +8,32 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKGLSurfaceView.PaintSurface instead.") + + A generic SkiaSharp renderer interface. - + + +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then events are +> used instead of renderers. See +> . +]]> + @@ -26,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView.xml b/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView.xml index eff90b2f9f..b40194fcc9 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Opengl.GLSurfaceView @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -92,6 +96,7 @@ SkiaSharp.Views.Android 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -102,6 +107,116 @@ + + + + + Method + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then +> renderers are used instead of events. See +> and +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + + + + + + Event + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.EventHandler<SkiaSharp.Views.Android.SKPaintGLSurfaceEventArgs> + + + Occurs when the surface needs to be redrawn. + + +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then +> renderers are used instead of events. See +> and +> . + +## Examples + +```csharp +myView.PaintSurface += (sender, e) => { + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +}; +``` +]]> + + + @@ -113,7 +228,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceViewRenderer.xml b/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceViewRenderer.xml index 130f7128d4..44ffbe01d8 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceViewRenderer.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKGLSurfaceViewRenderer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Java.Lang.Object @@ -36,6 +37,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -75,6 +78,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -83,9 +87,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -97,6 +102,7 @@ SkiaSharp.Views.Android 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -121,6 +127,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -135,7 +142,7 @@ - + Method @@ -145,7 +152,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -160,6 +173,27 @@ + + + + + Method + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Called to draw the current frame on the surface. + + + @@ -174,6 +208,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -205,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKGLTextureView+ISKRenderer.xml b/docs/xml/SkiaSharp.Views.Android/SKGLTextureView+ISKRenderer.xml index f1f9fd9184..9e32fa3578 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKGLTextureView+ISKRenderer.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKGLTextureView+ISKRenderer.xml @@ -5,11 +5,32 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKGLTextureView.PaintSurface instead.") + + A generic SkiaSharp renderer interface. - + + +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then events are +> used instead of renderers. See +> . +]]> + @@ -20,6 +41,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKGLTextureView.xml b/docs/xml/SkiaSharp.Views.Android/SKGLTextureView.xml index 70d9b5f454..d6045fc7d6 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKGLTextureView.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKGLTextureView.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Android.GLTextureView @@ -23,6 +24,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -41,6 +43,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -61,6 +64,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -79,6 +83,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -89,6 +94,116 @@ + + + + + Method + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then +> renderers are used instead of events. See +> and +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + + + + + + Event + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.EventHandler<SkiaSharp.Views.Android.SKPaintGLSurfaceEventArgs> + + + Occurs when the surface needs to be redrawn. + + +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then +> renderers are used instead of events. See +> and +> . + +## Examples + +```csharp +myView.PaintSurface += (sender, e) => { + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +}; +``` +]]> + + + @@ -97,7 +212,13 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKGLTextureViewRenderer.xml b/docs/xml/SkiaSharp.Views.Android/SKGLTextureViewRenderer.xml index 05dfb2f1c5..94b0b364ed 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKGLTextureViewRenderer.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKGLTextureViewRenderer.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 Java.Lang.Object @@ -27,6 +28,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 @@ -42,6 +44,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -60,6 +63,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -68,9 +72,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -81,6 +86,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -102,6 +108,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -116,14 +123,20 @@ - + Method SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -138,6 +151,27 @@ + + + + + Method + + SkiaSharp.Views.Android + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Called to draw the current frame on the surface. + + + @@ -149,6 +183,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -177,6 +212,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void @@ -203,6 +239,7 @@ SkiaSharp.Views.Android 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Android/SKLockedSurface.xml b/docs/xml/SkiaSharp.Views.Android/SKLockedSurface.xml index a2faa5c340..87ba3e32a7 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKLockedSurface.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKLockedSurface.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Android/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Android/SKPaintGLSurfaceEventArgs.xml index 514c8c148c..f25a4482b3 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ The event does not yet exist nor is this type currently in use, but exists for cross-platform compatibility. + + + + + Constructor + + SkiaSharp.Views.Android + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.Android + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.Android + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.Android + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.Android + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Android/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Android/SKPaintSurfaceEventArgs.xml index d81677db4a..3598cb3c64 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Android/SKSurfaceView.xml b/docs/xml/SkiaSharp.Views.Android/SKSurfaceView.xml index 9271f6bcb5..9b87d5e5bc 100644 --- a/docs/xml/SkiaSharp.Views.Android/SKSurfaceView.xml +++ b/docs/xml/SkiaSharp.Views.Android/SKSurfaceView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Android.Views.SurfaceView @@ -36,6 +37,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -57,6 +59,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -80,6 +83,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -105,6 +109,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -126,6 +131,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -134,9 +140,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -150,6 +157,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Android.SKLockedSurface @@ -175,6 +183,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -214,6 +223,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -241,6 +251,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -265,6 +276,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Desktop/Extensions.xml b/docs/xml/SkiaSharp.Views.Desktop/Extensions.xml index dddaf2dcef..32b3903e50 100644 --- a/docs/xml/SkiaSharp.Views.Desktop/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.Desktop/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Bitmap @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Bitmap @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Bitmap @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Bitmap @@ -131,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Color @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.PointF @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Point @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.RectangleF @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Rectangle @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.SizeF @@ -281,6 +292,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Size @@ -306,6 +318,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -331,6 +344,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -356,6 +370,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -381,6 +396,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -407,6 +423,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -432,6 +449,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -457,6 +475,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -482,6 +501,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -507,6 +527,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -532,6 +553,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.Desktop/SKControl.xml b/docs/xml/SkiaSharp.Views.Desktop/SKControl.xml index 1473253c30..6e194bdfa4 100644 --- a/docs/xml/SkiaSharp.Views.Desktop/SKControl.xml +++ b/docs/xml/SkiaSharp.Views.Desktop/SKControl.xml @@ -8,16 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Forms.Control - + System.ComponentModel.DefaultEvent("PaintSurface") - + System.ComponentModel.DefaultProperty("Name") @@ -37,6 +38,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -55,18 +57,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Bindable(false) - + System.ComponentModel.Browsable(false) - + System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden) - + System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) @@ -90,6 +93,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -98,9 +102,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -114,6 +119,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -138,6 +144,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -156,7 +163,11 @@ There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the -event. If the method is overridden, then the base must be called. +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. ## Examples @@ -173,6 +184,7 @@ protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); } ``` @@ -191,9 +203,10 @@ protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Category("Appearance") @@ -215,8 +228,6 @@ event. ## Examples ```csharp -SKControl myView = ...; - myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -225,6 +236,7 @@ myView.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); }; ``` diff --git a/docs/xml/SkiaSharp.Views.Desktop/SKGLControl.xml b/docs/xml/SkiaSharp.Views.Desktop/SKGLControl.xml index 5694fc9d2c..c555745d68 100644 --- a/docs/xml/SkiaSharp.Views.Desktop/SKGLControl.xml +++ b/docs/xml/SkiaSharp.Views.Desktop/SKGLControl.xml @@ -8,16 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 OpenTK.GLControl - + System.ComponentModel.DefaultEvent("PaintSurface") - + System.ComponentModel.DefaultProperty("Name") @@ -37,6 +38,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ SkiaSharp.Views.Desktop 1.60.0.0 + 1.68.0.0 @@ -70,6 +73,7 @@ SkiaSharp.Views.Desktop 1.60.0.0 + 1.68.0.0 @@ -97,18 +101,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Bindable(false) - + System.ComponentModel.Browsable(false) - + System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden) - + System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) @@ -132,6 +137,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -140,9 +146,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -154,18 +161,19 @@ SkiaSharp.Views.Desktop 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Bindable(false) - + System.ComponentModel.Browsable(false) - + System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden) - + System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) @@ -189,6 +197,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -213,6 +222,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -233,6 +243,10 @@ method, or by attaching a handler to the event. If the method is overridden, then the base must be called. +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + ## Examples ```csharp @@ -242,12 +256,13 @@ protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) base.OnPaintSurface (e); var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); } ``` @@ -266,9 +281,10 @@ protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Category("Appearance") @@ -290,16 +306,15 @@ event. ## Examples ```csharp -SKGLControl myView = ...; - myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); }; ``` diff --git a/docs/xml/SkiaSharp.Views.Desktop/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Desktop/SKPaintGLSurfaceEventArgs.xml index 7c8f5ebe8a..ad20ebdd8e 100644 --- a/docs/xml/SkiaSharp.Views.Desktop/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Desktop/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ + + + + + Constructor + + SkiaSharp.Views.Desktop + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.Desktop + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.Desktop + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.Desktop + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.Desktop + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Desktop/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Desktop/SKPaintSurfaceEventArgs.xml index ffc857e2b4..5b975054bc 100644 --- a/docs/xml/SkiaSharp.Views.Desktop/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Desktop/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Forms/Extensions.xml b/docs/xml/SkiaSharp.Views.Forms/Extensions.xml index 43ac6a0a09..7fa8335a1e 100644 --- a/docs/xml/SkiaSharp.Views.Forms/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.Forms/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Color @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Point @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Point @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Rectangle @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Rectangle @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Size @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.Size @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -229,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -254,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -279,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.Forms/GetPropertyValueEventArgs`1.xml b/docs/xml/SkiaSharp.Views.Forms/GetPropertyValueEventArgs`1.xml index 66e8b87486..2db44b1be2 100644 --- a/docs/xml/SkiaSharp.Views.Forms/GetPropertyValueEventArgs`1.xml +++ b/docs/xml/SkiaSharp.Views.Forms/GetPropertyValueEventArgs`1.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 @@ -27,6 +28,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 @@ -42,6 +44,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 T diff --git a/docs/xml/SkiaSharp.Views.Forms/ISKCanvasViewController.xml b/docs/xml/SkiaSharp.Views.Forms/ISKCanvasViewController.xml index 1a1e262bb8..dd2abdbfa2 100644 --- a/docs/xml/SkiaSharp.Views.Forms/ISKCanvasViewController.xml +++ b/docs/xml/SkiaSharp.Views.Forms/ISKCanvasViewController.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 @@ -24,6 +25,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Forms.GetPropertyValueEventArgs<SkiaSharp.SKSize>> @@ -41,6 +43,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 System.Void @@ -62,6 +65,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 System.Void @@ -83,6 +87,7 @@ SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 System.EventHandler diff --git a/docs/xml/SkiaSharp.Views.Forms/SKBitmapImageSource.xml b/docs/xml/SkiaSharp.Views.Forms/SKBitmapImageSource.xml index 121e49e8a9..0d41f96355 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKBitmapImageSource.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKBitmapImageSource.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.ImageSource @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Threading.Tasks.Task<System.Boolean> @@ -110,6 +115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -134,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKBitmapImageSource @@ -159,6 +166,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap diff --git a/docs/xml/SkiaSharp.Views.Forms/SKCanvasView.xml b/docs/xml/SkiaSharp.Views.Forms/SKCanvasView.xml index c3861728d4..32bc8e8e01 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKCanvasView.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKCanvasView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.View @@ -18,7 +19,7 @@ - + Xamarin.Forms.RenderWith(typeof(SkiaSharp.Views.Forms.SKCanvasViewRenderer)) @@ -38,6 +39,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -56,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -76,6 +79,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -96,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -116,6 +121,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -137,6 +143,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -157,6 +164,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -178,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.SizeRequest @@ -208,6 +217,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -226,7 +236,11 @@ There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the -event. If the method is overridden, then the base must be called. +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. ## Examples @@ -243,6 +257,7 @@ protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); } ``` @@ -263,6 +278,7 @@ protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -287,6 +303,7 @@ protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Forms.SKPaintSurfaceEventArgs> @@ -306,8 +323,6 @@ event. ## Examples ```csharp -SKCanvasView myView = ...; - myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -316,6 +331,7 @@ myView.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); }; ``` @@ -334,6 +350,7 @@ myView.PaintSurface += (sender, e) => { SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Forms.GetPropertyValueEventArgs<SkiaSharp.SKSize>> @@ -357,6 +374,7 @@ myView.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -383,6 +401,7 @@ myView.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -407,6 +426,7 @@ myView.PaintSurface += (sender, e) => { SkiaSharp.Views.Forms 1.60.0.0 + 1.68.0.0 System.EventHandler @@ -426,6 +446,7 @@ myView.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Forms.SKTouchEventArgs> diff --git a/docs/xml/SkiaSharp.Views.Forms/SKGLView.xml b/docs/xml/SkiaSharp.Views.Forms/SKGLView.xml index e7d27703b0..592491481f 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKGLView.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKGLView.xml @@ -8,13 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.View - + Xamarin.Forms.RenderWith(typeof(SkiaSharp.Views.Forms.SKGLViewRenderer)) @@ -34,6 +35,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -72,6 +75,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -92,6 +96,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -110,6 +115,7 @@ SkiaSharp.Views.Forms 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -131,6 +137,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -152,6 +159,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -172,6 +180,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -193,6 +202,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.SizeRequest @@ -223,6 +233,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -241,7 +252,11 @@ There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the -event. If the method is overridden, then the base must be called. +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. ## Examples @@ -252,12 +267,13 @@ protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) base.OnPaintSurface (e); var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); } ``` @@ -278,6 +294,7 @@ protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -302,6 +319,7 @@ protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Forms.SKPaintGLSurfaceEventArgs> @@ -325,12 +343,13 @@ SKGLView myView = ...; myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); }; ``` @@ -348,6 +367,7 @@ myView.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Forms.SKTouchEventArgs> diff --git a/docs/xml/SkiaSharp.Views.Forms/SKImageImageSource.xml b/docs/xml/SkiaSharp.Views.Forms/SKImageImageSource.xml index 8ab36f681f..8f85238bd7 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKImageImageSource.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKImageImageSource.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.ImageSource @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Threading.Tasks.Task<System.Boolean> @@ -69,6 +72,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -90,6 +94,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -110,6 +115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -134,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKImageImageSource @@ -159,6 +166,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage diff --git a/docs/xml/SkiaSharp.Views.Forms/SKMouseButton.xml b/docs/xml/SkiaSharp.Views.Forms/SKMouseButton.xml index 212dcd567e..8066e54ac9 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKMouseButton.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKMouseButton.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -26,6 +27,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKMouseButton @@ -45,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKMouseButton @@ -64,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKMouseButton @@ -83,6 +87,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKMouseButton diff --git a/docs/xml/SkiaSharp.Views.Forms/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Forms/SKPaintGLSurfaceEventArgs.xml index 75fddbb002..c13a1b530b 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ + + + + + Constructor + + SkiaSharp.Views.Forms + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.Forms + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.Forms + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.Forms + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.Forms + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Forms/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Forms/SKPaintSurfaceEventArgs.xml index 695d61ce0d..a00352c182 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Forms/SKPictureImageSource.xml b/docs/xml/SkiaSharp.Views.Forms/SKPictureImageSource.xml index 8e1c5427b4..9e96461c1b 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKPictureImageSource.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKPictureImageSource.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.ImageSource @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Threading.Tasks.Task<System.Boolean> @@ -69,6 +72,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -90,6 +94,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty @@ -110,6 +115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -134,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPicture @@ -159,6 +166,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPicture @@ -180,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty diff --git a/docs/xml/SkiaSharp.Views.Forms/SKPixmapImageSource.xml b/docs/xml/SkiaSharp.Views.Forms/SKPixmapImageSource.xml index ffac6f5dec..08c73e279d 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKPixmapImageSource.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKPixmapImageSource.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.ImageSource @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Threading.Tasks.Task<System.Boolean> @@ -69,6 +72,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -93,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKPixmapImageSource @@ -118,6 +123,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -143,6 +149,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -164,6 +171,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Xamarin.Forms.BindableProperty diff --git a/docs/xml/SkiaSharp.Views.Forms/SKTouchAction.xml b/docs/xml/SkiaSharp.Views.Forms/SKTouchAction.xml index 24a8106887..7721604d80 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKTouchAction.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKTouchAction.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -26,6 +27,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction @@ -45,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction @@ -64,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction @@ -83,6 +87,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction @@ -102,6 +107,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction @@ -121,6 +127,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction diff --git a/docs/xml/SkiaSharp.Views.Forms/SKTouchDeviceType.xml b/docs/xml/SkiaSharp.Views.Forms/SKTouchDeviceType.xml index 0d97faa764..8dce2631a1 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKTouchDeviceType.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKTouchDeviceType.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -26,6 +27,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchDeviceType @@ -45,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchDeviceType @@ -64,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchDeviceType diff --git a/docs/xml/SkiaSharp.Views.Forms/SKTouchEventArgs.xml b/docs/xml/SkiaSharp.Views.Forms/SKTouchEventArgs.xml index c20048a404..589cd014ef 100644 --- a/docs/xml/SkiaSharp.Views.Forms/SKTouchEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Forms/SKTouchEventArgs.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -27,6 +28,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -83,6 +86,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchAction @@ -103,6 +107,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKTouchDeviceType @@ -123,6 +128,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -143,6 +149,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -163,6 +170,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -183,6 +191,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -203,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Forms.SKMouseButton @@ -223,6 +233,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String diff --git a/docs/xml/SkiaSharp.Views.Gtk/SKWidget.xml b/docs/xml/SkiaSharp.Views.Gtk/SKWidget.xml index bf8a6e3e90..4d2479e100 100644 --- a/docs/xml/SkiaSharp.Views.Gtk/SKWidget.xml +++ b/docs/xml/SkiaSharp.Views.Gtk/SKWidget.xml @@ -5,13 +5,14 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 Gtk.DrawingArea - + System.ComponentModel.ToolboxItem(true) @@ -28,6 +29,7 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -61,6 +64,7 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 System.Void @@ -79,14 +83,15 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 System.Void - To be added. - To be added. + Releases all resources used by this . + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -97,6 +102,7 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 System.Void @@ -105,9 +111,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -118,14 +125,15 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 System.Void - To be added. - To be added. + Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. + @@ -136,6 +144,7 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 System.Boolean @@ -158,6 +167,7 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 System.Void @@ -169,10 +179,23 @@ The event arguments that contain the drawing surface and information. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) { // call the base method base.OnPaintSurface (e); @@ -184,9 +207,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -198,9 +223,10 @@ SkiaSharp.Views.Gtk 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Category("Appearance") @@ -210,11 +236,18 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +## Examples +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -224,9 +257,9 @@ myView.PaintSurface += (sender, e) => { // draw on the canvas canvas.Flush (); -};]]> - - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.Mac/AppleExtensions.xml b/docs/xml/SkiaSharp.Views.Mac/AppleExtensions.xml index 8944bcc89e..398aab7d5d 100644 --- a/docs/xml/SkiaSharp.Views.Mac/AppleExtensions.xml +++ b/docs/xml/SkiaSharp.Views.Mac/AppleExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGColor @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIColor @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -283,6 +294,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Foundation.NSData @@ -308,6 +320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGPoint @@ -333,6 +346,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -358,6 +372,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGSize @@ -383,6 +398,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -408,6 +424,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -433,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -458,6 +476,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -483,6 +502,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -508,6 +528,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -533,6 +554,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -558,6 +580,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -584,6 +607,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -610,6 +634,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -635,6 +660,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -660,6 +686,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.Mac/Extensions.xml b/docs/xml/SkiaSharp.Views.Mac/Extensions.xml index 5fee0886fd..a75b43075f 100644 --- a/docs/xml/SkiaSharp.Views.Mac/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.Mac/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.PointF @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Point @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.RectangleF @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Rectangle @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.SizeF @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Size @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -229,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -254,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -279,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -304,6 +316,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.Mac/ISKCanvasLayerDelegate.xml b/docs/xml/SkiaSharp.Views.Mac/ISKCanvasLayerDelegate.xml index 12c264f9d5..32de31ea67 100644 --- a/docs/xml/SkiaSharp.Views.Mac/ISKCanvasLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.Mac/ISKCanvasLayerDelegate.xml @@ -8,8 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKCanvasLayer.PaintSurface instead.") + + Delegate interface for . @@ -26,6 +32,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Mac/ISKGLLayerDelegate.xml b/docs/xml/SkiaSharp.Views.Mac/ISKGLLayerDelegate.xml index d5f209653d..8a39ef9378 100644 --- a/docs/xml/SkiaSharp.Views.Mac/ISKGLLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.Mac/ISKGLLayerDelegate.xml @@ -8,8 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKGLLayer.PaintSurface instead.") + + Delegate interface for . @@ -26,6 +32,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Mac/MacExtensions.xml b/docs/xml/SkiaSharp.Views.Mac/MacExtensions.xml index 7af90cfcd3..ed07856db3 100644 --- a/docs/xml/SkiaSharp.Views.Mac/MacExtensions.xml +++ b/docs/xml/SkiaSharp.Views.Mac/MacExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSColor @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSImage @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSImage @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSImage @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSImage @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp.Views.Mac/SKCanvasLayer.xml b/docs/xml/SkiaSharp.Views.Mac/SKCanvasLayer.xml index 5bd27e7443..ff0135771b 100644 --- a/docs/xml/SkiaSharp.Views.Mac/SKCanvasLayer.xml +++ b/docs/xml/SkiaSharp.Views.Mac/SKCanvasLayer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreAnimation.CALayer @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -76,9 +80,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -92,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -116,7 +122,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -129,10 +141,29 @@ The information about the surface. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKImageInfo info) { // call the base method base.DrawInSurface (surface, info); @@ -143,9 +174,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -160,6 +193,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -170,6 +204,67 @@ By default, when false, the canvas is resized to 1 canvas pixel per display pixel. When true, the canvas is resized to device independent pixels, and then stretched to fill the view. Although performance is improved and all objects are the same size on different display densities, blurring and pixelation may occur. + + + + + Method + + SkiaSharp.Views.Mac + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -181,6 +276,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Mac.SKPaintSurfaceEventArgs> @@ -188,11 +284,24 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myLayer.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -201,9 +310,11 @@ myLayer.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -218,7 +329,13 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + SkiaSharp.Views.Mac.ISKCanvasLayerDelegate diff --git a/docs/xml/SkiaSharp.Views.Mac/SKCanvasView.xml b/docs/xml/SkiaSharp.Views.Mac/SKCanvasView.xml index 3d737ef26a..689771732a 100644 --- a/docs/xml/SkiaSharp.Views.Mac/SKCanvasView.xml +++ b/docs/xml/SkiaSharp.Views.Mac/SKCanvasView.xml @@ -8,16 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSView - + Foundation.Register("SKCanvasView") - + System.ComponentModel.DesignTimeVisible(true) @@ -37,6 +38,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -55,6 +57,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -76,6 +79,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -97,6 +101,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -118,6 +123,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -139,6 +145,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -147,9 +154,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -163,7 +171,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -176,10 +190,29 @@ The information about the surface. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKImageInfo info) { // call the base method base.DrawInSurface (surface, info); @@ -190,9 +223,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -207,6 +242,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -231,6 +267,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -241,6 +278,67 @@ By default, when false, the canvas is resized to 1 canvas pixel per display pixel. When true, the canvas is resized to device independent pixels, and then stretched to fill the view. Although performance is improved and all objects are the same size on different display densities, blurring and pixelation may occur. + + + + + Method + + SkiaSharp.Views.Mac + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -252,6 +350,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Mac.SKPaintSurfaceEventArgs> @@ -259,11 +358,24 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -272,9 +384,11 @@ myView.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.Mac/SKGLLayer.xml b/docs/xml/SkiaSharp.Views.Mac/SKGLLayer.xml index 6f7b601bbe..8dd5df2ad3 100644 --- a/docs/xml/SkiaSharp.Views.Mac/SKGLLayer.xml +++ b/docs/xml/SkiaSharp.Views.Mac/SKGLLayer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreAnimation.CAOpenGLLayer @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -98,7 +102,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -111,10 +121,29 @@ The render target that is currently being drawn. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget) { // call the base method base.DrawInSurface (surface, renderTarget); @@ -125,9 +154,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -140,6 +171,7 @@ SkiaSharp.Views.Mac 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -150,6 +182,67 @@ + + + + + Method + + SkiaSharp.Views.Mac + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -161,6 +254,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Mac.SKPaintGLSurfaceEventArgs> @@ -168,22 +262,37 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myLayer.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.Info.Width; - var surfaceHeight = e.Info.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -198,6 +307,7 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -222,7 +332,13 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + SkiaSharp.Views.Mac.ISKGLLayerDelegate diff --git a/docs/xml/SkiaSharp.Views.Mac/SKGLView.xml b/docs/xml/SkiaSharp.Views.Mac/SKGLView.xml index 1360edda4b..ba8c6e0fb5 100644 --- a/docs/xml/SkiaSharp.Views.Mac/SKGLView.xml +++ b/docs/xml/SkiaSharp.Views.Mac/SKGLView.xml @@ -8,16 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 AppKit.NSOpenGLView - + Foundation.Register("SKGLView") - + System.ComponentModel.DesignTimeVisible(true) @@ -37,6 +38,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -55,12 +57,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - The frame used by the view, expressed in iOS points. + The frame used by the view, expressed in Mac points. Initializes the with the specified frame. @@ -76,6 +79,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -97,6 +101,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -118,6 +123,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -139,7 +145,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -152,10 +164,29 @@ The render target that is currently being drawn. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget) { // call the base method base.DrawInSurface (surface, renderTarget); @@ -166,9 +197,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -183,6 +216,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -205,6 +239,7 @@ SkiaSharp.Views.Mac 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -215,6 +250,67 @@ + + + + + Method + + SkiaSharp.Views.Mac + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -226,6 +322,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Mac.SKPaintGLSurfaceEventArgs> @@ -233,22 +330,37 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -263,6 +375,7 @@ myView.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.Mac/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Mac/SKPaintGLSurfaceEventArgs.xml index af53197b59..f43a2c32cd 100644 --- a/docs/xml/SkiaSharp.Views.Mac/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Mac/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ + + + + + Constructor + + SkiaSharp.Views.Mac + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.Mac + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.Mac + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.Mac + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.Mac + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Mac/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Mac/SKPaintSurfaceEventArgs.xml index dc2a851d6b..e470832ade 100644 --- a/docs/xml/SkiaSharp.Views.Mac/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Mac/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Tizen/CustomRenderingView.xml b/docs/xml/SkiaSharp.Views.Tizen/CustomRenderingView.xml index 2645373266..8ed418c2b5 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/CustomRenderingView.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/CustomRenderingView.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 ElmSharp.Widget @@ -23,6 +24,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 @@ -41,6 +43,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -59,6 +62,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -77,6 +81,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -99,6 +104,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -120,6 +126,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -138,6 +145,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -156,6 +164,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -173,6 +182,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -192,6 +202,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -210,6 +221,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -228,6 +240,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -246,6 +259,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -264,6 +278,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Tizen.RenderingMode @@ -282,6 +297,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp.Views.Tizen/Extensions.xml b/docs/xml/SkiaSharp.Views.Tizen/Extensions.xml index 8698b3d279..4ccb589313 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/Extensions.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Object diff --git a/docs/xml/SkiaSharp.Views.Tizen/RenderingMode.xml b/docs/xml/SkiaSharp.Views.Tizen/RenderingMode.xml index 1dcb1e5bc1..2d60025367 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/RenderingMode.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/RenderingMode.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Enum @@ -22,6 +23,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Tizen.RenderingMode @@ -39,6 +41,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Tizen.RenderingMode diff --git a/docs/xml/SkiaSharp.Views.Tizen/SKCanvasView.xml b/docs/xml/SkiaSharp.Views.Tizen/SKCanvasView.xml index fe04b3ceab..c9908969f5 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/SKCanvasView.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/SKCanvasView.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Tizen.CustomRenderingView @@ -23,6 +24,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 @@ -41,6 +43,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -60,6 +63,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Boolean @@ -78,6 +82,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -96,6 +101,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -107,13 +113,26 @@ The event arguments that contain the drawing surface and information. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) { // call the base method - base.OnDrawFrame (e); + base.OnPaintSurface (e); var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -122,9 +141,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -136,6 +157,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Tizen.SKPaintSurfaceEventArgs> @@ -143,12 +165,19 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. -myCanvas.PaintSurface += (sender, e) => { +## Examples + +```csharp +myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; var surfaceHeight = e.Info.Height; @@ -156,9 +185,11 @@ myCanvas.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -170,6 +201,7 @@ myCanvas.PaintSurface += (sender, e) => { SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp.Views.Tizen/SKGLSurfaceView.xml b/docs/xml/SkiaSharp.Views.Tizen/SKGLSurfaceView.xml index a29e175ec4..09e583dfca 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/SKGLSurfaceView.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/SKGLSurfaceView.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.Tizen.CustomRenderingView @@ -23,6 +24,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 @@ -41,6 +43,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -59,6 +62,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -80,6 +84,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -98,6 +103,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -116,6 +122,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -135,6 +142,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -153,6 +161,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -171,6 +180,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Void @@ -182,24 +192,39 @@ The event arguments that contain the drawing surface and information. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +## Examples + +```csharp +protected override void OnDrawFrame (SKPaintGLSurfaceEventArgs e) { // call the base method - base.OnDrawFrame (e); + base.OnPaintSurface (e); var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -211,6 +236,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.Tizen.SKPaintGLSurfaceEventArgs> @@ -218,22 +244,31 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. -myCanvas.PaintSurface += (sender, e) => { +## Examples + +```csharp +myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -245,6 +280,7 @@ myCanvas.PaintSurface += (sender, e) => { SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp.Views.Tizen/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Tizen/SKPaintGLSurfaceEventArgs.xml index 2a1bec4142..466a12774d 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/SKPaintGLSurfaceEventArgs.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -15,6 +16,26 @@ + + + + + Constructor + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -23,7 +44,13 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -35,6 +62,84 @@ + + + + + Constructor + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -43,7 +148,13 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -61,6 +172,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Tizen/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.Tizen/SKPaintSurfaceEventArgs.xml index 7ba91b0c07..ff04b7f933 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/SKPaintSurfaceEventArgs.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -23,6 +24,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -61,6 +64,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.Tizen/ScalingInfo.xml b/docs/xml/SkiaSharp.Views.Tizen/ScalingInfo.xml index c03f98c557..b731d9ef47 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/ScalingInfo.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/ScalingInfo.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Int32 @@ -41,6 +43,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Double @@ -63,6 +66,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.String @@ -81,6 +85,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Double @@ -99,6 +104,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Double diff --git a/docs/xml/SkiaSharp.Views.Tizen/TizenExtensions.xml b/docs/xml/SkiaSharp.Views.Tizen/TizenExtensions.xml index 1e1ff66b1a..d6964462f2 100644 --- a/docs/xml/SkiaSharp.Views.Tizen/TizenExtensions.xml +++ b/docs/xml/SkiaSharp.Views.Tizen/TizenExtensions.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 ElmSharp.Color @@ -45,6 +47,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 ElmSharp.Point @@ -67,6 +70,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 ElmSharp.Point @@ -89,6 +93,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 ElmSharp.Rect @@ -111,6 +116,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 ElmSharp.Rect @@ -125,6 +131,50 @@ + + + + + Method + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + ElmSharp.Size + + + + + + The SkiaSharp size. + Converts a SkiaSharp size into a Tizen size. + Returns a Tizen size. + + + + + + + + Method + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + ElmSharp.Size + + + + + + The SkiaSharp size. + Converts a SkiaSharp size into a Tizen size. + Returns a Tizen size. + + + @@ -133,6 +183,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -155,6 +206,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -177,6 +229,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -199,6 +252,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -221,6 +275,7 @@ SkiaSharp.Views.Tizen 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -235,5 +290,49 @@ + + + + + Method + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + SkiaSharp.SKSize + + + + + + The Tizen size. + Converts a Tizen size into a SkiaSharp size. + Returns a SkiaSharp size. + + + + + + + + Method + + SkiaSharp.Views.Tizen + 1.68.0.0 + + + SkiaSharp.SKSizeI + + + + + + The Tizen size. + Converts a Tizen size into a SkiaSharp size. + Returns a SkiaSharp size. + + + diff --git a/docs/xml/SkiaSharp.Views.UWP/AngleSwapChainPanel.xml b/docs/xml/SkiaSharp.Views.UWP/AngleSwapChainPanel.xml index 7ea8ff6b87..356e38e6d4 100644 --- a/docs/xml/SkiaSharp.Views.UWP/AngleSwapChainPanel.xml +++ b/docs/xml/SkiaSharp.Views.UWP/AngleSwapChainPanel.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Xaml.Controls.SwapChainPanel @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -58,7 +60,7 @@ - + Property @@ -68,6 +70,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Double @@ -131,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -152,6 +156,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -173,6 +178,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -215,6 +221,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.UWP/Extensions.xml b/docs/xml/SkiaSharp.Views.UWP/Extensions.xml index b4b9059036..37ea8e447c 100644 --- a/docs/xml/SkiaSharp.Views.UWP/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.UWP/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object diff --git a/docs/xml/SkiaSharp.Views.UWP/GlesContext.xml b/docs/xml/SkiaSharp.Views.UWP/GlesContext.xml index 4a6fdcee80..e8b0ab3580 100644 --- a/docs/xml/SkiaSharp.Views.UWP/GlesContext.xml +++ b/docs/xml/SkiaSharp.Views.UWP/GlesContext.xml @@ -81,8 +81,8 @@ - To be added. - To be added. + Releases all resources used by this . + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp.Views.UWP/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.UWP/SKPaintGLSurfaceEventArgs.xml index 75c5cfd7e7..71d9f4bc80 100644 --- a/docs/xml/SkiaSharp.Views.UWP/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.UWP/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ + + + + + Constructor + + SkiaSharp.Views.UWP + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.UWP + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.UWP + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.UWP + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.UWP + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.UWP/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.UWP/SKPaintSurfaceEventArgs.xml index 254000addd..5022652385 100644 --- a/docs/xml/SkiaSharp.Views.UWP/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.UWP/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.UWP/SKSwapChainPanel.xml b/docs/xml/SkiaSharp.Views.UWP/SKSwapChainPanel.xml index d1a98584aa..354f997b94 100644 --- a/docs/xml/SkiaSharp.Views.UWP/SKSwapChainPanel.xml +++ b/docs/xml/SkiaSharp.Views.UWP/SKSwapChainPanel.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.Views.UWP.AngleSwapChainPanel @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -72,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -91,6 +94,7 @@ SkiaSharp.Views.UWP 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -112,6 +116,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -123,24 +128,39 @@ The event arguments that contain the drawing surface and information. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) { // call the base method base.OnPaintSurface (e); var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -155,6 +175,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -179,6 +200,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.UWP.SKPaintGLSurfaceEventArgs> @@ -186,22 +208,31 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. -myPanel.PaintSurface += (sender, e) => { +## Examples + +```csharp +myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.UWP/SKXamlCanvas.xml b/docs/xml/SkiaSharp.Views.UWP/SKXamlCanvas.xml index adacea695e..6cefbd6aa5 100644 --- a/docs/xml/SkiaSharp.Views.UWP/SKXamlCanvas.xml +++ b/docs/xml/SkiaSharp.Views.UWP/SKXamlCanvas.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Xaml.Controls.Canvas @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -67,6 +70,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Double @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -109,6 +114,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -130,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -141,10 +148,23 @@ The event arguments that contain the drawing surface and information. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) { // call the base method base.OnPaintSurface (e); @@ -156,9 +176,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -173,6 +195,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.UWP.SKPaintSurfaceEventArgs> @@ -180,12 +203,19 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. -myCanvas.PaintSurface += (sender, e) => { +## Examples + +```csharp +myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; var surfaceHeight = e.Info.Height; @@ -193,10 +223,11 @@ myCanvas.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.UWP/UWPExtensions.xml b/docs/xml/SkiaSharp.Views.UWP/UWPExtensions.xml index af1ec33520..58d6145db5 100644 --- a/docs/xml/SkiaSharp.Views.UWP/UWPExtensions.xml +++ b/docs/xml/SkiaSharp.Views.UWP/UWPExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Color @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.Foundation.Point @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.Foundation.Rect @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.Foundation.Size @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -281,6 +292,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -306,6 +318,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Xaml.Media.Imaging.WriteableBitmap @@ -331,6 +344,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Xaml.Media.Imaging.WriteableBitmap @@ -356,6 +370,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Xaml.Media.Imaging.WriteableBitmap @@ -381,6 +396,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Windows.UI.Xaml.Media.Imaging.WriteableBitmap diff --git a/docs/xml/SkiaSharp.Views.WPF/SKElement.xml b/docs/xml/SkiaSharp.Views.WPF/SKElement.xml index 816412e390..45cc32abc4 100644 --- a/docs/xml/SkiaSharp.Views.WPF/SKElement.xml +++ b/docs/xml/SkiaSharp.Views.WPF/SKElement.xml @@ -8,16 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.FrameworkElement - + System.ComponentModel.DefaultEvent("PaintSurface") - + System.ComponentModel.DefaultProperty("Name") @@ -37,6 +38,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -55,18 +57,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Bindable(false) - + System.ComponentModel.Browsable(false) - + System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden) - + System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never) @@ -90,6 +93,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -111,6 +115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -135,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -159,6 +165,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -183,9 +190,10 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.ComponentModel.Category("Appearance") diff --git a/docs/xml/SkiaSharp.Views.WPF/WPFExtensions.xml b/docs/xml/SkiaSharp.Views.WPF/WPFExtensions.xml index 7983535423..20f833fcad 100644 --- a/docs/xml/SkiaSharp.Views.WPF/WPFExtensions.xml +++ b/docs/xml/SkiaSharp.Views.WPF/WPFExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Media.Color @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Point @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Rect @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Size @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -230,6 +239,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -255,6 +265,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -280,6 +291,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -305,6 +317,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Media.Imaging.WriteableBitmap @@ -330,6 +343,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Media.Imaging.WriteableBitmap @@ -355,6 +369,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Media.Imaging.WriteableBitmap @@ -380,6 +395,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Windows.Media.Imaging.WriteableBitmap diff --git a/docs/xml/SkiaSharp.Views.iOS/AppleExtensions.xml b/docs/xml/SkiaSharp.Views.iOS/AppleExtensions.xml index 12b0550a9b..0c151a2906 100644 --- a/docs/xml/SkiaSharp.Views.iOS/AppleExtensions.xml +++ b/docs/xml/SkiaSharp.Views.iOS/AppleExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGColor @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIColor @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -283,6 +294,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Foundation.NSData @@ -308,6 +320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGPoint @@ -333,6 +346,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -358,6 +372,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGSize @@ -383,6 +398,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -408,6 +424,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -433,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -458,6 +476,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -483,6 +502,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -508,6 +528,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -533,6 +554,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -558,6 +580,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -584,6 +607,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -610,6 +634,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -635,6 +660,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -660,6 +686,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.iOS/Extensions.xml b/docs/xml/SkiaSharp.Views.iOS/Extensions.xml index 13b1a25aee..d9b3acf01f 100644 --- a/docs/xml/SkiaSharp.Views.iOS/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.iOS/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.PointF @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Point @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.RectangleF @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Rectangle @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.SizeF @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Size @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -229,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -254,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -279,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -304,6 +316,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.iOS/ISKCanvasLayerDelegate.xml b/docs/xml/SkiaSharp.Views.iOS/ISKCanvasLayerDelegate.xml index eda57e5f09..52fa844858 100644 --- a/docs/xml/SkiaSharp.Views.iOS/ISKCanvasLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.iOS/ISKCanvasLayerDelegate.xml @@ -8,8 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKCanvasLayer.PaintSurface instead.") + + Delegate interface for . @@ -26,6 +32,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.iOS/ISKGLLayerDelegate.xml b/docs/xml/SkiaSharp.Views.iOS/ISKGLLayerDelegate.xml index 04b3e8c70b..f0138d49be 100644 --- a/docs/xml/SkiaSharp.Views.iOS/ISKGLLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.iOS/ISKGLLayerDelegate.xml @@ -8,8 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKGLLayer.PaintSurface instead.") + + Delegate interface for . @@ -26,6 +32,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.iOS/SKCanvasLayer.xml b/docs/xml/SkiaSharp.Views.iOS/SKCanvasLayer.xml index cdc9912d26..4220b9413d 100644 --- a/docs/xml/SkiaSharp.Views.iOS/SKCanvasLayer.xml +++ b/docs/xml/SkiaSharp.Views.iOS/SKCanvasLayer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreAnimation.CALayer @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -76,9 +80,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -92,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -116,7 +122,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -129,10 +141,29 @@ The information about the surface. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKImageInfo info) { // call the base method base.DrawInSurface (surface, info); @@ -143,9 +174,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -160,6 +193,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -170,6 +204,67 @@ By default, when false, the canvas is resized to 1 canvas pixel per display pixel. When true, the canvas is resized to device independent pixels, and then stretched to fill the view. Although performance is improved and all objects are the same size on different display densities, blurring and pixelation may occur. + + + + + Method + + SkiaSharp.Views.iOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -181,6 +276,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.iOS.SKPaintSurfaceEventArgs> @@ -188,11 +284,24 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myLayer.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -201,9 +310,11 @@ myLayer.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -218,7 +329,13 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + SkiaSharp.Views.iOS.ISKCanvasLayerDelegate diff --git a/docs/xml/SkiaSharp.Views.iOS/SKCanvasView.xml b/docs/xml/SkiaSharp.Views.iOS/SKCanvasView.xml index 56449c6276..d5c2edfa66 100644 --- a/docs/xml/SkiaSharp.Views.iOS/SKCanvasView.xml +++ b/docs/xml/SkiaSharp.Views.iOS/SKCanvasView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIView @@ -21,10 +22,10 @@ - + Foundation.Register("SKCanvasView") - + System.ComponentModel.DesignTimeVisible(true) @@ -44,6 +45,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -62,6 +64,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -83,6 +86,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -125,6 +130,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -146,6 +152,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -154,9 +161,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -170,6 +178,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -194,7 +203,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -207,10 +222,29 @@ The information about the surface. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKImageInfo info) { // call the base method base.DrawInSurface (surface, info); @@ -221,9 +255,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -238,6 +274,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -259,6 +296,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -269,6 +307,67 @@ + + + + + Method + + SkiaSharp.Views.iOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -280,6 +379,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.iOS.SKPaintSurfaceEventArgs> @@ -287,11 +387,24 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -300,9 +413,11 @@ myView.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.iOS/SKGLLayer.xml b/docs/xml/SkiaSharp.Views.iOS/SKGLLayer.xml index 12e8936011..28f7ebc2b6 100644 --- a/docs/xml/SkiaSharp.Views.iOS/SKGLLayer.xml +++ b/docs/xml/SkiaSharp.Views.iOS/SKGLLayer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreAnimation.CAEAGLLayer @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -76,9 +80,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -92,7 +97,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -105,10 +116,29 @@ The render target that is currently being drawn. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget) { // call the base method base.DrawInSurface (surface, renderTarget); @@ -119,10 +149,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - - +} +``` +]]> @@ -137,6 +168,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -156,6 +188,7 @@ SkiaSharp.Views.iOS 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -166,6 +199,67 @@ + + + + + Method + + SkiaSharp.Views.iOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -177,6 +271,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs> @@ -184,22 +279,37 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myLayer.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.Info.Width; - var surfaceHeight = e.Info.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -214,6 +324,7 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -235,7 +346,13 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + SkiaSharp.Views.iOS.ISKGLLayerDelegate diff --git a/docs/xml/SkiaSharp.Views.iOS/SKGLView.xml b/docs/xml/SkiaSharp.Views.iOS/SKGLView.xml index 65882bd545..5130a66bcc 100644 --- a/docs/xml/SkiaSharp.Views.iOS/SKGLView.xml +++ b/docs/xml/SkiaSharp.Views.iOS/SKGLView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 GLKit.GLKView @@ -24,10 +25,10 @@ - + Foundation.Register("SKGLView") - + System.ComponentModel.DesignTimeVisible(true) @@ -47,6 +48,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -65,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -86,6 +89,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -107,6 +111,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -128,6 +133,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -152,6 +158,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -178,7 +185,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -191,10 +204,29 @@ The render target that is currently being drawn. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget) { // call the base method base.DrawInSurface (surface, renderTarget); @@ -205,9 +237,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -222,6 +256,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -241,6 +276,7 @@ SkiaSharp.Views.iOS 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -251,6 +287,67 @@ + + + + + Method + + SkiaSharp.Views.iOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -262,6 +359,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs> @@ -269,22 +367,37 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.iOS/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.iOS/SKPaintGLSurfaceEventArgs.xml index c93d8f57a8..10abddd26c 100644 --- a/docs/xml/SkiaSharp.Views.iOS/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.iOS/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ + + + + + Constructor + + SkiaSharp.Views.iOS + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.iOS + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.iOS + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.iOS + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.iOS + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.iOS/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.iOS/SKPaintSurfaceEventArgs.xml index e12bfea1dd..378aad3580 100644 --- a/docs/xml/SkiaSharp.Views.iOS/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.iOS/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.iOS/iOSExtensions.xml b/docs/xml/SkiaSharp.Views.iOS/iOSExtensions.xml index c4842dd546..317b8ce0a1 100644 --- a/docs/xml/SkiaSharp.Views.iOS/iOSExtensions.xml +++ b/docs/xml/SkiaSharp.Views.iOS/iOSExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -131,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIColor @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -255,6 +265,7 @@ SkiaSharp.Views.iOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -281,6 +292,7 @@ SkiaSharp.Views.iOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -307,6 +319,7 @@ SkiaSharp.Views.iOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage diff --git a/docs/xml/SkiaSharp.Views.tvOS/AppleExtensions.xml b/docs/xml/SkiaSharp.Views.tvOS/AppleExtensions.xml index 56d0317aab..9115755e91 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/AppleExtensions.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/AppleExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGColor @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIColor @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreImage.CIImage @@ -283,6 +294,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 Foundation.NSData @@ -308,6 +320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGPoint @@ -333,6 +346,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -358,6 +372,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGSize @@ -383,6 +398,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -408,6 +424,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -433,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -458,6 +476,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -483,6 +502,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -508,6 +528,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -533,6 +554,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -558,6 +580,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -584,6 +607,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -610,6 +634,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -635,6 +660,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -660,6 +686,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.tvOS/Extensions.xml b/docs/xml/SkiaSharp.Views.tvOS/Extensions.xml index 37d54df1c8..8622b1f0f4 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/Extensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.PointF @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Point @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.RectangleF @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Rectangle @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.SizeF @@ -154,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Drawing.Size @@ -179,6 +186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -229,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -254,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -279,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -304,6 +316,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.tvOS/ISKCanvasLayerDelegate.xml b/docs/xml/SkiaSharp.Views.tvOS/ISKCanvasLayerDelegate.xml index 016a2a0677..36f56b2a5e 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/ISKCanvasLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/ISKCanvasLayerDelegate.xml @@ -8,8 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKCanvasLayer.PaintSurface instead.") + + Delegate interface for . @@ -26,6 +32,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.tvOS/ISKGLLayerDelegate.xml b/docs/xml/SkiaSharp.Views.tvOS/ISKGLLayerDelegate.xml index 507f7ba7d4..f9db9f7542 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/ISKGLLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/ISKGLLayerDelegate.xml @@ -8,8 +8,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKGLLayer.PaintSurface instead.") + + Delegate interface for . @@ -26,6 +32,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.tvOS/SKCanvasLayer.xml b/docs/xml/SkiaSharp.Views.tvOS/SKCanvasLayer.xml index 09495f6bbc..1225fdd1de 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/SKCanvasLayer.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/SKCanvasLayer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreAnimation.CALayer @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -76,9 +80,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -92,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -116,7 +122,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -129,10 +141,29 @@ The information about the surface. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKImageInfo info) { // call the base method base.DrawInSurface (surface, info); @@ -143,9 +174,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -160,6 +193,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -170,6 +204,67 @@ By default, when false, the canvas is resized to 1 canvas pixel per display pixel. When true, the canvas is resized to device independent pixels, and then stretched to fill the view. Although performance is improved and all objects are the same size on different display densities, blurring and pixelation may occur. + + + + + Method + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -181,6 +276,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.tvOS.SKPaintSurfaceEventArgs> @@ -188,11 +284,24 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myLayer.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -201,9 +310,11 @@ myLayer.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -218,7 +329,13 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + SkiaSharp.Views.tvOS.ISKCanvasLayerDelegate diff --git a/docs/xml/SkiaSharp.Views.tvOS/SKCanvasView.xml b/docs/xml/SkiaSharp.Views.tvOS/SKCanvasView.xml index b1ec7a4732..6e7130bef9 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/SKCanvasView.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/SKCanvasView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIView @@ -21,10 +22,10 @@ - + Foundation.Register("SKCanvasView") - + System.ComponentModel.DesignTimeVisible(true) @@ -44,6 +45,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -62,6 +64,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -83,6 +86,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -125,6 +130,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -146,6 +152,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -154,9 +161,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -170,6 +178,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -194,7 +203,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.") + + System.Void @@ -207,10 +222,29 @@ The information about the surface. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKImageInfo info) { // call the base method base.DrawInSurface (surface, info); @@ -221,9 +255,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -238,6 +274,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -259,6 +296,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -269,6 +307,67 @@ + + + + + Method + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.Info.Width; + var surfaceHeight = e.Info.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -280,6 +379,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.tvOS.SKPaintSurfaceEventArgs> @@ -287,11 +387,24 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; var surfaceWidth = e.Info.Width; @@ -300,9 +413,11 @@ myView.PaintSurface += (sender, e) => { var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.tvOS/SKGLLayer.xml b/docs/xml/SkiaSharp.Views.tvOS/SKGLLayer.xml index ee6ddbbbdd..a1ee98b02c 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/SKGLLayer.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/SKGLLayer.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreAnimation.CAEAGLLayer @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -76,9 +80,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -92,7 +97,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -105,10 +116,29 @@ The render target that is currently being drawn. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget) { // call the base method base.DrawInSurface (surface, renderTarget); @@ -119,10 +149,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - - +} +``` +]]> @@ -137,6 +168,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -156,6 +188,7 @@ SkiaSharp.Views.tvOS 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -166,6 +199,67 @@ + + + + + Method + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -177,6 +271,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs> @@ -184,22 +279,37 @@ Occurs when the the canvas needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myLayer.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.Info.Width; - var surfaceHeight = e.Info.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> @@ -214,6 +324,7 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -235,7 +346,13 @@ myLayer.PaintSurface += (sender, e) => { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use PaintSurface instead.") + + SkiaSharp.Views.tvOS.ISKGLLayerDelegate diff --git a/docs/xml/SkiaSharp.Views.tvOS/SKGLView.xml b/docs/xml/SkiaSharp.Views.tvOS/SKGLView.xml index d7a400f83c..b8747eeb15 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/SKGLView.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/SKGLView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 GLKit.GLKView @@ -24,10 +25,10 @@ - + Foundation.Register("SKGLView") - + System.ComponentModel.DesignTimeVisible(true) @@ -47,6 +48,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -65,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -86,6 +89,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -107,6 +111,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -128,6 +133,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -152,6 +158,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -178,7 +185,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.") + + System.Void @@ -191,10 +204,29 @@ The render target that is currently being drawn. Implement this to draw on the canvas. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. If the method is overridden, then the base must be called. - - - +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event may not be fired. + +> [!NOTE] +> If SkiaSharp version v1.68.x or greater is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +public override void DrawInSurface (SKSurface surface, SKBackendRenderTargetDesc renderTarget) { // call the base method base.DrawInSurface (surface, renderTarget); @@ -205,9 +237,11 @@ var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -}]]> - +} +``` +]]> @@ -222,6 +256,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -241,6 +276,7 @@ SkiaSharp.Views.tvOS 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -251,6 +287,67 @@ + + + + + Method + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + System.Void + + + + + + The event arguments that contain the drawing surface and information. + Implement this to draw on the canvas. + + +method, or by attaching a handler to the + +event. + +> [!IMPORTANT] +> If this method is overridden, then the base must be called, otherwise the +> event will not be fired. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . + +## Examples + +```csharp +protected override void OnPaintSurface (SKPaintGLSurfaceEventArgs e) +{ + // call the base method + base.OnPaintSurface (e); + + var surface = e.Surface; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; + + var canvas = surface.Canvas; + + // draw on the canvas + + canvas.Flush (); +} +``` +]]> + + + @@ -262,6 +359,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventHandler<SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs> @@ -269,22 +367,37 @@ Occurs when the surface needs to be redrawn. - There are two ways to draw on this surface: by overriding the method, or by attaching a handler to the event. - - - +method, or by attaching a handler to the + +event. + +> [!NOTE] +> If a version of SkiaSharp prior to version v1.68.x is being used, then the +> +> method should be overridden instead of +> . +## Examples + +```csharp myView.PaintSurface += (sender, e) => { var surface = e.Surface; - var surfaceWidth = e.RenderTarget.Width; - var surfaceHeight = e.RenderTarget.Height; + var surfaceWidth = e.BackendRenderTarget.Width; + var surfaceHeight = e.BackendRenderTarget.Height; var canvas = surface.Canvas; // draw on the canvas + canvas.Flush (); -};]]> - +}; +``` +]]> diff --git a/docs/xml/SkiaSharp.Views.tvOS/SKPaintGLSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.tvOS/SKPaintGLSurfaceEventArgs.xml index c506153fba..8fa060a1f8 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/SKPaintGLSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/SKPaintGLSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -18,6 +19,26 @@ + + + + + Constructor + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + Creates a new instance of the event arguments. + + + @@ -29,7 +50,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.") + + @@ -41,6 +68,84 @@ + + + + + Constructor + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + + + + + + + The surface that is being drawn on. + The render target that is currently being drawn. + The surface origin of the render target. + The color type of the render target. + Creates a new instance of the event arguments. + + + + + + + + Property + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + SkiaSharp.GRBackendRenderTarget + + + Gets the render target that is currently being drawn. + + + + + + + + + Property + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the color type of the render target. + + + + + + + + + Property + + SkiaSharp.Views.tvOS + 1.68.0.0 + + + SkiaSharp.GRSurfaceOrigin + + + Gets the surface origin of the render target. + + + + @@ -52,7 +157,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use BackendRenderTarget instead.") + + SkiaSharp.GRBackendRenderTargetDesc @@ -73,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.tvOS/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.tvOS/SKPaintSurfaceEventArgs.xml index 3543a49253..cc7babe1ab 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/SKPaintSurfaceEventArgs.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.tvOS/iOSExtensions.xml b/docs/xml/SkiaSharp.Views.tvOS/iOSExtensions.xml index 04f799f7dc..6eb6f77fc5 100644 --- a/docs/xml/SkiaSharp.Views.tvOS/iOSExtensions.xml +++ b/docs/xml/SkiaSharp.Views.tvOS/iOSExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -131,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIColor @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -181,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -206,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -231,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -255,6 +265,7 @@ SkiaSharp.Views.tvOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -281,6 +292,7 @@ SkiaSharp.Views.tvOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -307,6 +319,7 @@ SkiaSharp.Views.tvOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage diff --git a/docs/xml/SkiaSharp.Views.watchOS/AppleExtensions.xml b/docs/xml/SkiaSharp.Views.watchOS/AppleExtensions.xml index a2e9ccd365..e33d799cdc 100644 --- a/docs/xml/SkiaSharp.Views.watchOS/AppleExtensions.xml +++ b/docs/xml/SkiaSharp.Views.watchOS/AppleExtensions.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGColor @@ -45,6 +47,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -67,6 +70,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -89,6 +93,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -111,6 +116,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGImage @@ -135,6 +141,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 Foundation.NSData @@ -157,6 +164,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGPoint @@ -179,6 +187,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGRect @@ -201,6 +210,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 CoreGraphics.CGSize @@ -223,6 +233,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -245,6 +256,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -267,6 +279,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -289,6 +302,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -311,6 +325,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Void @@ -334,6 +349,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -356,6 +372,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -378,6 +395,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.watchOS/Extensions.xml b/docs/xml/SkiaSharp.Views.watchOS/Extensions.xml index 4d8619fab4..f8542f55d4 100644 --- a/docs/xml/SkiaSharp.Views.watchOS/Extensions.xml +++ b/docs/xml/SkiaSharp.Views.watchOS/Extensions.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Drawing.PointF @@ -45,6 +47,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Drawing.Point @@ -67,6 +70,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Drawing.RectangleF @@ -89,6 +93,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Drawing.Rectangle @@ -111,6 +116,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Drawing.SizeF @@ -133,6 +139,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Drawing.Size @@ -155,6 +162,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -177,6 +185,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -199,6 +208,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -221,6 +231,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -243,6 +254,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -265,6 +277,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize diff --git a/docs/xml/SkiaSharp.Views.watchOS/ISKCanvasLayerDelegate.xml b/docs/xml/SkiaSharp.Views.watchOS/ISKCanvasLayerDelegate.xml index 4c2323c4dc..d8297b2a82 100644 --- a/docs/xml/SkiaSharp.Views.watchOS/ISKCanvasLayerDelegate.xml +++ b/docs/xml/SkiaSharp.Views.watchOS/ISKCanvasLayerDelegate.xml @@ -5,8 +5,14 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use SKCanvasLayer.PaintSurface instead.") + + Delegate interface for . @@ -20,6 +26,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp.Views.watchOS/SKPaintSurfaceEventArgs.xml b/docs/xml/SkiaSharp.Views.watchOS/SKPaintSurfaceEventArgs.xml index dcfc63a780..b379354bfd 100644 --- a/docs/xml/SkiaSharp.Views.watchOS/SKPaintSurfaceEventArgs.xml +++ b/docs/xml/SkiaSharp.Views.watchOS/SKPaintSurfaceEventArgs.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.EventArgs @@ -23,6 +24,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -61,6 +64,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface diff --git a/docs/xml/SkiaSharp.Views.watchOS/iOSExtensions.xml b/docs/xml/SkiaSharp.Views.watchOS/iOSExtensions.xml index 7323fa1194..edfd8f9ca2 100644 --- a/docs/xml/SkiaSharp.Views.watchOS/iOSExtensions.xml +++ b/docs/xml/SkiaSharp.Views.watchOS/iOSExtensions.xml @@ -5,6 +5,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -45,6 +47,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -67,6 +70,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -89,6 +93,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 System.Boolean @@ -113,6 +118,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIColor @@ -135,6 +141,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -157,6 +164,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -179,6 +187,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -201,6 +210,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -225,6 +235,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -251,6 +262,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage @@ -277,6 +289,7 @@ SkiaSharp.Views.watchOS 1.60.0.0 + 1.68.0.0 UIKit.UIImage diff --git a/docs/xml/SkiaSharp/GRBackend.xml b/docs/xml/SkiaSharp/GRBackend.xml index 306784fba7..4516d2983e 100644 --- a/docs/xml/SkiaSharp/GRBackend.xml +++ b/docs/xml/SkiaSharp/GRBackend.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -17,9 +18,26 @@ + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRBackend + + 0 + + Use the Metal 3D backend. (not yet supported) + + - + Field @@ -28,18 +46,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackend - 0 + 1 Use the OpenGL 3D backend. - + Field @@ -48,11 +67,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackend - 1 + 2 Use the Vulkan 3D backend. (not yet supported) diff --git a/docs/xml/SkiaSharp/GRBackendRenderTarget.xml b/docs/xml/SkiaSharp/GRBackendRenderTarget.xml new file mode 100644 index 0000000000..f9554963be --- /dev/null +++ b/docs/xml/SkiaSharp/GRBackendRenderTarget.xml @@ -0,0 +1,290 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKObject + + + + Wrap an existing render target created by the client in the 3D API. + + object wrapping +it. + +We require the client to explicitly provide information about the target, such +as width, height, and pixel configuration, rather than querying the 3D API for +these values. We expect these properties to be immutable even if the 3D API +doesn't require this (eg: OpenGL). +]]> + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + System.Obsolete("Use GRBackendRenderTarget(int, int, int, int, GRGlFramebufferInfo) instead.") + + + + + + + + The backend to use. + The description of the backend render target. + Creates a new with the properties from the specified description. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + + + + The width of the render target. + The height of the render target. + The number of samples per pixel. + The number of bits of stencil per pixel. + The OpenGL framebuffer information. + Creates a new OpenGL with the specified properties and framebuffer. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRBackend + + + Gets the backend for this render target. + + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Void + + + + + + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRGlFramebufferInfo + + + + Returns the framebuffer info that this object wraps. + Returns the framebuffer info, if this object wraps an OpenGL framebuffer, otherwise an empty info instance. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The framebuffer info, if this object wraps an OpenGL framebuffer. + Returns the framebuffer info that this object wraps. + Returns true if this object wraps an OpenGL framebuffer, otherwise false. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the height in pixels. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + Gets a value indicating whether or not the was initialized. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKRectI + + + Gets a rectangle with the current width and height. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the number of samples per pixel. + + This is used to influence decisions about applying other forms of anti-aliasing. + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSizeI + + + Gets the current size of the 3D API object. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the number of bits of stencil per-pixel. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the width in pixels. + + + + + + diff --git a/docs/xml/SkiaSharp/GRBackendRenderTargetDesc.xml b/docs/xml/SkiaSharp/GRBackendRenderTargetDesc.xml index 28d6614c97..c800af7407 100644 --- a/docs/xml/SkiaSharp/GRBackendRenderTargetDesc.xml +++ b/docs/xml/SkiaSharp/GRBackendRenderTargetDesc.xml @@ -8,11 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType + + + System.Obsolete("Use GRBackendRenderTarget instead.") + + Wrap an existing render target created by the client in the 3D API with an underlying GRRenderTarget object. @@ -25,7 +31,7 @@ at least as long as the GRRenderTarget object wrapping it. We require the client to explicitly provide information about the target, such as width, height, and pixel configuration, rather than querying the 3D API for these values. We expect these properties to be immutable even if the 3D API -doesn't require this (OpenGL). +doesn't require this (eg: OpenGL). ]]> @@ -41,6 +47,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -62,6 +69,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -83,6 +91,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRSurfaceOrigin @@ -104,6 +113,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -125,6 +135,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -146,6 +157,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -167,6 +179,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -188,12 +201,13 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 - Gets or sets the number of bits of stencil per-pixel. + Gets or sets the number of bits of stencil per pixel. @@ -209,6 +223,7 @@ doesn't require this (OpenGL). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/GRBackendState.xml b/docs/xml/SkiaSharp/GRBackendState.xml index 2b282fcfae..4503ffa629 100644 --- a/docs/xml/SkiaSharp/GRBackendState.xml +++ b/docs/xml/SkiaSharp/GRBackendState.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackendState @@ -51,6 +53,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackendState diff --git a/docs/xml/SkiaSharp/GRBackendTexture.xml b/docs/xml/SkiaSharp/GRBackendTexture.xml new file mode 100644 index 0000000000..e6f87a2402 --- /dev/null +++ b/docs/xml/SkiaSharp/GRBackendTexture.xml @@ -0,0 +1,291 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKObject + + + + Wrap an existing texture created by the client in the 3D API. + + object wrapping +it. + +We require the client to explicitly provide information about the target, such +as width, height, and pixel configuration, rather than querying the 3D API for +these values. We expect these properties to be immutable even if the 3D API +doesn't require this (eg: OpenGL). +]]> + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + System.Obsolete("Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.") + + + + + + + The description of the backend texture. + Creates a new with the properties from the specified description. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + System.Obsolete("Use GRBackendTexture(int, int, bool, GRGlTextureInfo) instead.") + + + + + + + The description of the backend texture. + Creates a new with the properties from the specified description. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + + + The width of the render target. + The height of the render target. + Whether or not the texture is mipmapped. + The OpenGL texture information. + Creates a new OpenGL with the specified properties and texture. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRBackend + + + Gets the backend for this texture. + + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Void + + + + + + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRGlTextureInfo + + + + Returns the texture info that this object wraps. + Returns the texture info, if this object wraps an OpenGL texture, otherwise an empty info instance. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The texture info, if this object wraps an OpenGL texture. + Returns the texture info that this object wraps. + Returns true if this object wraps an OpenGL texture, otherwise false. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + Gets a value indicating whether this texture is mipmapped. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the height in pixels. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + Gets a value indicating whether or not the was initialized. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKRectI + + + Gets a rectangle with the current width and height. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSizeI + + + Gets the current size of the 3D API object. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the width in pixels. + + + + + + diff --git a/docs/xml/SkiaSharp/GRBackendTextureDesc.xml b/docs/xml/SkiaSharp/GRBackendTextureDesc.xml index 6f53ab4a0b..fae9876e9f 100644 --- a/docs/xml/SkiaSharp/GRBackendTextureDesc.xml +++ b/docs/xml/SkiaSharp/GRBackendTextureDesc.xml @@ -8,11 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType + + + System.Obsolete("Use GRBackendTexture instead.") + + Wrap an existing texture created by the client in the 3D API with an underlying GRTexture object. @@ -44,6 +50,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -65,6 +72,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackendTextureDescFlags @@ -86,6 +94,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -107,6 +116,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRSurfaceOrigin @@ -128,6 +138,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -149,6 +160,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -170,6 +182,7 @@ API (stencil buffer, FBO id, etc) objects necessary will be managed. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/GRBackendTextureDescFlags.xml b/docs/xml/SkiaSharp/GRBackendTextureDescFlags.xml index 6a3633a104..ba0fd48bff 100644 --- a/docs/xml/SkiaSharp/GRBackendTextureDescFlags.xml +++ b/docs/xml/SkiaSharp/GRBackendTextureDescFlags.xml @@ -8,14 +8,18 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags + + System.Obsolete + Additional options for a backend texture. @@ -33,6 +37,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackendTextureDescFlags @@ -53,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackendTextureDescFlags diff --git a/docs/xml/SkiaSharp/GRContext.xml b/docs/xml/SkiaSharp/GRContext.xml index edea26e3b0..bb3b7f6782 100644 --- a/docs/xml/SkiaSharp/GRContext.xml +++ b/docs/xml/SkiaSharp/GRContext.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -42,6 +44,24 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRBackend + + + Gets the backend that this context is wrapping. + + + + @@ -53,6 +73,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -78,6 +99,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRContext @@ -105,7 +127,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRBackend, GRGlInterface) instead.") + + SkiaSharp.GRContext @@ -179,6 +207,47 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRContext + + + + Creates a for an OpenGL context. + Returns the new if one was created, otherwise null. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRContext + + + + + + The OpenGL interface to use. + Creates a for an OpenGL context. + Returns the new if one was created, otherwise null. + + + @@ -190,6 +259,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -198,9 +268,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -214,6 +285,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -252,6 +324,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + + + + The color type. + Get the maximum supported sample count for the specified color type. + Returns the maximum supported sample count. + 1 is returned if only non-MSAA rendering is supported for the color type. 0 is returned if rendering to this color type is not supported at all. + + @@ -263,7 +357,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use GetMaxSurfaceSampleCountForColorType(SKColorType) instead.") + + System.Int32 @@ -290,6 +390,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -316,6 +417,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -342,6 +444,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -366,6 +469,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -390,6 +494,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -414,6 +519,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/GRGlBackendState.xml b/docs/xml/SkiaSharp/GRGlBackendState.xml index b9e939f15a..2290fb16ac 100644 --- a/docs/xml/SkiaSharp/GRGlBackendState.xml +++ b/docs/xml/SkiaSharp/GRGlBackendState.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -93,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -113,6 +118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -131,6 +137,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -151,6 +158,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -171,6 +179,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -191,6 +200,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -211,6 +221,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -231,6 +242,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -251,6 +263,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -271,6 +284,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState @@ -291,6 +305,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlBackendState diff --git a/docs/xml/SkiaSharp/GRGlBackendTextureDesc.xml b/docs/xml/SkiaSharp/GRGlBackendTextureDesc.xml index 35c8d7f0fe..74f54aa1af 100644 --- a/docs/xml/SkiaSharp/GRGlBackendTextureDesc.xml +++ b/docs/xml/SkiaSharp/GRGlBackendTextureDesc.xml @@ -5,11 +5,17 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.ValueType + + + System.Obsolete("Use GRBackendTexture instead.") + + Wrap an existing OpenGL texture created by the client in the 3D API with an underlying GRTexture object. @@ -27,6 +33,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -45,6 +52,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.GRBackendTextureDescFlags @@ -63,6 +71,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int32 @@ -81,6 +90,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.GRSurfaceOrigin @@ -99,6 +109,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int32 @@ -117,6 +128,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlTextureInfo @@ -135,6 +147,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/GRGlFramebufferInfo.xml b/docs/xml/SkiaSharp/GRGlFramebufferInfo.xml new file mode 100644 index 0000000000..4535abea7e --- /dev/null +++ b/docs/xml/SkiaSharp/GRGlFramebufferInfo.xml @@ -0,0 +1,93 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + System.ValueType + + + + Represents a handle to an existing OpenGL framebuffer. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + The OpenGL framebuffer ID. + Creates a new with the specified parameters. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + The OpenGL framebuffer ID. + The sized, internal format of the OpenGL framebuffer. + Creates a new with the specified parameters. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.UInt32 + + + Gets or sets the sized, internal format of the OpenGL framebuffer. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.UInt32 + + + Gets or sets the OpenGL framebuffer ID. + + + + + + diff --git a/docs/xml/SkiaSharp/GRGlGetProcDelegate.xml b/docs/xml/SkiaSharp/GRGlGetProcDelegate.xml index a9de5fd25c..65bdab1782 100644 --- a/docs/xml/SkiaSharp/GRGlGetProcDelegate.xml +++ b/docs/xml/SkiaSharp/GRGlGetProcDelegate.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Delegate diff --git a/docs/xml/SkiaSharp/GRGlInterface.xml b/docs/xml/SkiaSharp/GRGlInterface.xml index 07b435e388..72eafd4c4c 100644 --- a/docs/xml/SkiaSharp/GRGlInterface.xml +++ b/docs/xml/SkiaSharp/GRGlInterface.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -81,6 +84,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -106,6 +110,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -133,6 +138,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -158,6 +164,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -185,6 +192,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -210,6 +218,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -259,6 +268,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -281,6 +291,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -300,6 +311,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -325,6 +337,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRGlInterface @@ -373,6 +386,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -381,9 +395,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -397,6 +412,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -422,6 +438,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/GRGlTextureInfo.xml b/docs/xml/SkiaSharp/GRGlTextureInfo.xml index b34c6a6318..704785271c 100644 --- a/docs/xml/SkiaSharp/GRGlTextureInfo.xml +++ b/docs/xml/SkiaSharp/GRGlTextureInfo.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.ValueType @@ -15,6 +16,46 @@ + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + + The OpenGL texture target. + The OpenGL texture ID. + The sized, internal format of the OpenGL texture. + Creates a new with the specified parameters. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.UInt32 + + + Gets or sets the sized, internal format of the OpenGL texture. + + + + @@ -23,6 +64,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -41,6 +83,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.UInt32 diff --git a/docs/xml/SkiaSharp/GRPixelConfig.xml b/docs/xml/SkiaSharp/GRPixelConfig.xml index 15271e1d4b..b46333717e 100644 --- a/docs/xml/SkiaSharp/GRPixelConfig.xml +++ b/docs/xml/SkiaSharp/GRPixelConfig.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -39,7 +41,7 @@ - + Field @@ -48,11 +50,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 12 + 13 Single 16-bit float channel. @@ -76,7 +79,7 @@ - + Field @@ -85,11 +88,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 6 + 7 Premultiplied 32-bit channel. Byte order is BGRA. @@ -124,6 +128,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -178,6 +183,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -187,6 +193,40 @@ 16-bit channel. Byte order is RGB. + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRPixelConfig + + 6 + + Premultiplied, opaque 32-bit color with the format RGB, with 8 bits per color component. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRPixelConfig + + 10 + + Premultiplied 32-bit color with the format RGBA, with 10 bits per color component and 2 bits for the alpha component. + + @@ -198,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -218,6 +259,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig @@ -246,7 +288,7 @@ - + Field @@ -255,18 +297,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 10 + 11 32-bit channel. Byte order is RGBA. - + Field @@ -275,18 +318,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 13 + 14 16-bit channel. Byte order is RGBA. - + Field @@ -294,18 +338,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 11 + 12 32-bit channel. Byte order is RG. - + Field @@ -314,18 +359,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 8 + 9 Premultiplied and sRGB. Byte order is BGRA. - + Field @@ -334,11 +380,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig - 7 + 8 Premultiplied and sRGB. Byte order is RGBA. @@ -354,6 +401,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRPixelConfig diff --git a/docs/xml/SkiaSharp/GRSurfaceOrigin.xml b/docs/xml/SkiaSharp/GRSurfaceOrigin.xml index bde6421e11..41a757fcf5 100644 --- a/docs/xml/SkiaSharp/GRSurfaceOrigin.xml +++ b/docs/xml/SkiaSharp/GRSurfaceOrigin.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -19,7 +20,7 @@ - + Field @@ -28,18 +29,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRSurfaceOrigin - 2 + 1 Origin is at the bottom-left. - + Field @@ -48,11 +50,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.GRSurfaceOrigin - 1 + 0 Origin is at the top-left. diff --git a/docs/xml/SkiaSharp/SK3dView.xml b/docs/xml/SkiaSharp/SK3dView.xml index 40e1791d9c..ff0d8d439b 100644 --- a/docs/xml/SkiaSharp/SK3dView.xml +++ b/docs/xml/SkiaSharp/SK3dView.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -115,6 +116,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -133,6 +135,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -157,6 +160,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -165,9 +169,10 @@ The example above produces the following: - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -181,6 +186,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -210,6 +216,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -234,6 +241,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -255,6 +263,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -276,6 +285,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -300,6 +310,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -324,6 +335,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -348,6 +360,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -372,6 +385,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -396,6 +410,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -420,6 +435,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -441,6 +457,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -469,6 +486,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -493,6 +511,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -517,6 +536,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKAbstractManagedStream.xml b/docs/xml/SkiaSharp/SKAbstractManagedStream.xml index a0d60cf476..2289b05d1e 100644 --- a/docs/xml/SkiaSharp/SKAbstractManagedStream.xml +++ b/docs/xml/SkiaSharp/SKAbstractManagedStream.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -38,6 +40,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -56,6 +59,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -64,9 +68,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -77,6 +82,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -96,6 +102,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -115,6 +122,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -134,6 +142,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -153,6 +162,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -172,6 +182,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -191,6 +202,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -213,6 +225,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -237,6 +250,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -261,6 +275,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -280,6 +295,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKAbstractManagedWStream.xml b/docs/xml/SkiaSharp/SKAbstractManagedWStream.xml index 047641d78c..1febef26a7 100644 --- a/docs/xml/SkiaSharp/SKAbstractManagedWStream.xml +++ b/docs/xml/SkiaSharp/SKAbstractManagedWStream.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWStream @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -38,6 +40,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -56,6 +59,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -64,9 +68,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -77,6 +82,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -96,6 +102,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -114,6 +121,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKAlphaType.xml b/docs/xml/SkiaSharp/SKAlphaType.xml index 7e9b456fb8..65d2239079 100644 --- a/docs/xml/SkiaSharp/SKAlphaType.xml +++ b/docs/xml/SkiaSharp/SKAlphaType.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -91,6 +95,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType diff --git a/docs/xml/SkiaSharp/SKAutoCanvasRestore.xml b/docs/xml/SkiaSharp/SKAutoCanvasRestore.xml index fbe85e29f6..f8b8c3210b 100644 --- a/docs/xml/SkiaSharp/SKAutoCanvasRestore.xml +++ b/docs/xml/SkiaSharp/SKAutoCanvasRestore.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -60,6 +61,7 @@ using (new SKAutoCanvasRestore(canvas)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -81,6 +83,7 @@ using (new SKAutoCanvasRestore(canvas)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -107,6 +110,7 @@ using (new SKAutoCanvasRestore(canvas)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -131,6 +135,7 @@ using (new SKAutoCanvasRestore(canvas)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKAutoCoInitialize.xml b/docs/xml/SkiaSharp/SKAutoCoInitialize.xml index 9d6e78ae9f..d47fd2a745 100644 --- a/docs/xml/SkiaSharp/SKAutoCoInitialize.xml +++ b/docs/xml/SkiaSharp/SKAutoCoInitialize.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Object @@ -30,6 +31,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -48,6 +50,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -66,6 +69,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -84,6 +88,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKAutoMaskFreeImage.xml b/docs/xml/SkiaSharp/SKAutoMaskFreeImage.xml index c7eb5cbc0e..1c30bd9254 100644 --- a/docs/xml/SkiaSharp/SKAutoMaskFreeImage.xml +++ b/docs/xml/SkiaSharp/SKAutoMaskFreeImage.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -56,6 +57,7 @@ using (new SKAutoMaskFreeImage(mask.Image)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -80,6 +82,7 @@ using (new SKAutoMaskFreeImage(mask.Image)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKBitmap.xml b/docs/xml/SkiaSharp/SKBitmap.xml index da9bb6227e..c5f9928151 100644 --- a/docs/xml/SkiaSharp/SKBitmap.xml +++ b/docs/xml/SkiaSharp/SKBitmap.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -51,6 +53,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -61,6 +64,26 @@ This constructor might throw an exception if it is not possible to create a bitmap with the specified configuration (for example, the image info requires a color table, and there is no color table). + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + The description of the desired image format. + The additional flags. + Constructor that configures the bitmap based on an specification. + This constructor might throw an exception if it is not possible to create a bitmap with the specified configuration (for example, the image info requires a color table, and there is no color table). + + @@ -72,7 +95,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use SKBitmap(SKImageInfo) instead.") + + @@ -95,6 +124,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -116,7 +146,13 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use SKBitmap(SKImageInfo, SKBitmapAllocFlags) instead.") + + @@ -141,6 +177,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -166,6 +203,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -193,6 +231,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -214,6 +253,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -235,6 +275,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte[] @@ -256,6 +297,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -277,6 +319,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -301,6 +344,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -322,7 +366,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported.") + + SkiaSharp.SKColorTable @@ -343,6 +393,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -364,6 +415,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -386,6 +438,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -446,6 +499,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -471,6 +525,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -498,6 +553,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -523,6 +579,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -548,6 +605,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -573,6 +631,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -598,6 +657,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -623,6 +683,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -648,6 +709,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -675,6 +737,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -702,6 +765,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -729,6 +793,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -756,6 +821,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -783,6 +849,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -810,6 +877,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -835,6 +903,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -860,6 +929,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -885,6 +955,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -910,6 +981,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -935,6 +1007,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -943,9 +1016,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -959,6 +1033,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -980,9 +1055,10 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.Obsolete("Use SKPixmap.Encode instead.") @@ -1014,6 +1090,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1038,6 +1115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1064,6 +1142,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1089,6 +1168,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1116,6 +1196,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1143,6 +1224,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1172,6 +1254,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1199,6 +1282,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmap @@ -1224,6 +1308,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -1251,6 +1336,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt16 @@ -1278,6 +1364,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -1305,6 +1392,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -1332,7 +1420,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixel(int, int) instead.") + + SkiaSharp.SKPMColor @@ -1359,6 +1453,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1386,6 +1481,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -1408,6 +1504,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -1433,6 +1530,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -1454,6 +1552,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -1475,6 +1574,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1500,6 +1600,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1525,6 +1626,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1552,6 +1654,33 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Boolean + + + + + + + + The image information describing the pixels. + The pixels to install. + The stride of the pixels being installed. + Installs the specified pixels into the bitmap. + Returns true on success, or false on failure. If there was an error, the bitmap will be set to empty. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 System.Boolean @@ -1560,11 +1689,13 @@ + The image information describing the pixels. The pixels to install. The stride of the pixels being installed. + The delegate to invoke when the pixels are no longer referenced. Installs the specified pixels into the bitmap. Returns true on success, or false on failure. If there was an error, the bitmap will be set to empty. @@ -1581,7 +1712,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use InstallPixels(SKImageInfo, IntPtr, int) instead.") + + System.Boolean @@ -1601,6 +1738,36 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + + + + The image information describing the pixels. + The pixels to install. + The stride of the pixels being installed. + The delegate to invoke when the pixels are no longer referenced. + The user data to use when invoking the delegate. + Installs the specified pixels into the bitmap. + Returns true on success, or false on failure. If there was an error, the bitmap will be set to empty. + + + @@ -1612,7 +1779,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use InstallPixels(SKImageInfo, IntPtr, int, SKBitmapReleaseDelegate, object) instead.") + + System.Boolean @@ -1647,6 +1820,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1668,6 +1842,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1689,6 +1864,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1710,6 +1886,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1754,6 +1931,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1775,6 +1953,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -1797,6 +1976,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1822,6 +2002,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor[] @@ -1843,6 +2024,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1864,6 +2046,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1885,7 +2068,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete + + System.Boolean @@ -1912,7 +2101,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete + + SkiaSharp.SKBitmap @@ -1939,7 +2134,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete + + System.Boolean @@ -1968,6 +2169,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -1989,7 +2191,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported.") + + System.Void @@ -2013,6 +2221,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2034,6 +2243,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2062,6 +2272,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2086,7 +2297,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use SetPixels(IntPtr) instead.") + + System.Void @@ -2101,6 +2318,76 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The image information describing the pixels. + Allocates the memory for the bitmap using the specified image information. + Returns true if the allocation was successful, otherwise false. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The image information describing the pixels. + The additional flags. + Allocates the memory for the bitmap using the specified image information. + Returns true if the allocation was successful, otherwise false. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The image information describing the pixels. + The stride of the pixels being allocated. + Allocates the memory for the bitmap using the specified image information. + Returns true if the allocation was successful, otherwise false. + + + @@ -2132,6 +2419,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKBitmapAllocFlags.xml b/docs/xml/SkiaSharp/SKBitmapAllocFlags.xml index 82306e5413..c29eaedfac 100644 --- a/docs/xml/SkiaSharp/SKBitmapAllocFlags.xml +++ b/docs/xml/SkiaSharp/SKBitmapAllocFlags.xml @@ -6,12 +6,13 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -29,6 +30,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapAllocFlags @@ -47,6 +49,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapAllocFlags diff --git a/docs/xml/SkiaSharp/SKBitmapReleaseDelegate.xml b/docs/xml/SkiaSharp/SKBitmapReleaseDelegate.xml index 7f8bec1544..16c26aa2df 100644 --- a/docs/xml/SkiaSharp/SKBitmapReleaseDelegate.xml +++ b/docs/xml/SkiaSharp/SKBitmapReleaseDelegate.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Delegate diff --git a/docs/xml/SkiaSharp/SKBitmapResizeMethod.xml b/docs/xml/SkiaSharp/SKBitmapResizeMethod.xml index 0a3442f015..f0b932707f 100644 --- a/docs/xml/SkiaSharp/SKBitmapResizeMethod.xml +++ b/docs/xml/SkiaSharp/SKBitmapResizeMethod.xml @@ -8,10 +8,16 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum + + + System.Obsolete + + Channel selector type for the method or the method. @@ -28,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapResizeMethod @@ -48,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapResizeMethod @@ -68,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapResizeMethod @@ -88,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapResizeMethod @@ -108,6 +118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBitmapResizeMethod diff --git a/docs/xml/SkiaSharp/SKBlendMode.xml b/docs/xml/SkiaSharp/SKBlendMode.xml index 230506cb7e..645ddc2bd4 100644 --- a/docs/xml/SkiaSharp/SKBlendMode.xml +++ b/docs/xml/SkiaSharp/SKBlendMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -32,6 +33,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -72,6 +75,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -92,6 +96,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -112,6 +117,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -132,6 +138,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -152,6 +159,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -172,6 +180,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -192,6 +201,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -212,6 +222,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -232,6 +243,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -252,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -272,6 +285,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -292,6 +306,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -312,6 +327,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -332,6 +348,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -352,6 +369,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -372,6 +390,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -392,6 +411,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -412,6 +432,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -432,6 +453,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -452,6 +474,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -472,6 +495,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -492,6 +516,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -512,6 +537,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -532,6 +558,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -552,6 +579,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -572,6 +600,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -592,6 +621,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode diff --git a/docs/xml/SkiaSharp/SKBlurMaskFilterFlags.xml b/docs/xml/SkiaSharp/SKBlurMaskFilterFlags.xml index d8d00b150b..d97bd4eda0 100644 --- a/docs/xml/SkiaSharp/SKBlurMaskFilterFlags.xml +++ b/docs/xml/SkiaSharp/SKBlurMaskFilterFlags.xml @@ -8,14 +8,18 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags + + System.Obsolete + Flags to use with . @@ -33,6 +37,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurMaskFilterFlags @@ -53,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurMaskFilterFlags @@ -73,6 +79,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurMaskFilterFlags @@ -93,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurMaskFilterFlags diff --git a/docs/xml/SkiaSharp/SKBlurStyle.xml b/docs/xml/SkiaSharp/SKBlurStyle.xml index f4be2ab57d..73373d0cef 100644 --- a/docs/xml/SkiaSharp/SKBlurStyle.xml +++ b/docs/xml/SkiaSharp/SKBlurStyle.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurStyle @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurStyle @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurStyle @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlurStyle diff --git a/docs/xml/SkiaSharp/SKCanvas.xml b/docs/xml/SkiaSharp/SKCanvas.xml index 3161ad47ef..b0ac69ffea 100644 --- a/docs/xml/SkiaSharp/SKCanvas.xml +++ b/docs/xml/SkiaSharp/SKCanvas.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -297,6 +298,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -318,6 +320,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -339,6 +342,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -413,6 +417,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -473,6 +478,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -533,6 +539,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -556,6 +563,7 @@ using (var surface = SKSurface.Create(info)) { SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -584,6 +592,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -607,6 +616,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -628,6 +638,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -636,9 +647,10 @@ using (var surface = SKSurface.Create(info)) { - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -652,6 +664,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -667,8 +680,15 @@ using (var surface = SKSurface.Create(info)) { The blob of data to attach to the annotation. Send an key/value pair "annotation" to the canvas. - The caller still retains its ownership of the data (if any). - Note: on may canvas types, this information is ignored, but some canvases (e.g. recording a picture or drawing to a PDF document) will pass on this information. + @@ -680,6 +700,7 @@ using (var surface = SKSurface.Create(info)) { SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -708,6 +729,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -736,6 +758,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -766,6 +789,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -796,6 +820,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -826,6 +851,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -858,6 +884,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -885,6 +912,7 @@ using (var surface = SKSurface.Create(info)) { SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -913,6 +941,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -943,6 +972,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -996,6 +1026,7 @@ using (var surface = SKSurface.Create(info)) { SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1024,6 +1055,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1052,6 +1084,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1082,6 +1115,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1112,6 +1146,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1142,6 +1177,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1174,6 +1210,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1201,6 +1238,7 @@ using (var surface = SKSurface.Create(info)) { SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1229,6 +1267,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1261,6 +1300,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1274,8 +1314,14 @@ using (var surface = SKSurface.Create(info)) { The data that specifies the name of the link's destination. Annotates the canvas by making the specified rectangle link to a named destination (see ). - The caller is responsible for managing its ownership of the data. - If the backend of this canvas does not support annotations, this call is safely ignored. + @@ -1290,6 +1336,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -1317,6 +1364,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1330,8 +1378,14 @@ using (var surface = SKSurface.Create(info)) { The data that specifies the name of the destination. Annotates the canvas by associating a name with the specified point (see ). - The caller is responsible for managing its ownership of the data. - If the backend of this canvas does not support annotations, this call is safely ignored. + @@ -1346,6 +1400,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -1373,6 +1428,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1396,6 +1452,7 @@ using (var surface = SKSurface.Create(info)) { SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1424,6 +1481,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1456,6 +1514,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1480,6 +1539,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1506,6 +1566,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1532,6 +1593,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1570,6 +1632,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1595,6 +1658,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1622,6 +1686,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1645,6 +1710,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1671,6 +1737,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1699,6 +1766,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1727,6 +1795,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1742,14 +1811,25 @@ buffer as it is drawn to the canvas. The paint to use when drawing the points. Draws an array of points, lines or a polygon in the canvas, one at a time. - For , each point is drawn centered at its coordinate, and its size is specified by the paint's stroke-width. It draws as a square, unless the paint's is , in which the points are drawn as circles. - - For , each pair of points is drawn as a line segment, respecting the paint's settings for cap, join and width. - - For , the entire array is drawn as a series of connected line segments. - - Note that, while similar, the line and polygon modes draw slightly differently than the equivalent path built with a series of move to, line to calls, in that the path will draw all of its contours at once, with no interactions if contours intersect each other (think ). - + , each point is drawn centered at its +coordinate, and its size is specified by the paint's stroke-width. It draws as +a square, unless the paint's is +, in which the points are drawn as circles. + +For , each pair of points is drawn as a line +segment, respecting the paint's settings for cap, join and width. + +For , the entire array is drawn as a +series of connected line segments. + +Note that, while similar, the line and polygon modes draw slightly differently +than the equivalent path built with a series of move to, line to calls, in +that the path will draw all of its contours at once, with no interactions if +contours intersect each other (think ). +]]> @@ -1764,6 +1844,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1792,6 +1873,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1820,6 +1902,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1850,6 +1933,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1873,6 +1957,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1905,6 +1990,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1928,6 +2014,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1951,6 +2038,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -1979,6 +2067,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2006,6 +2095,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2039,6 +2129,7 @@ buffer as it is drawn to the canvas. SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2067,6 +2158,7 @@ buffer as it is drawn to the canvas. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2153,6 +2245,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2178,6 +2271,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2238,6 +2332,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2265,6 +2360,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2329,6 +2425,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2395,6 +2492,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2498,6 +2596,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2525,6 +2624,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2555,6 +2655,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2584,6 +2685,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -2616,6 +2718,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2648,6 +2751,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2682,6 +2786,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2695,8 +2800,14 @@ The example above produces the following: The data that specifies the URL. Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates). - The caller is responsible for managing its ownership of the data. - If the backend of this canvas does not support annotations, this call is safely ignored. + @@ -2711,6 +2822,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -2736,6 +2848,7 @@ The example above produces the following: SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2764,6 +2877,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2794,6 +2908,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2826,6 +2941,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2860,6 +2976,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2896,6 +3013,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2974,6 +3092,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -2998,6 +3117,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -3022,6 +3142,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -3043,6 +3164,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -3068,6 +3190,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -3093,6 +3216,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3114,6 +3238,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3135,6 +3260,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3159,6 +3285,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3183,6 +3310,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3211,6 +3339,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3235,6 +3364,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3263,6 +3393,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -3285,6 +3416,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -3306,6 +3438,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -3331,6 +3464,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -3345,8 +3479,19 @@ The example above produces the following: Saves the canvas state and allocates an offscreen bitmap. The value to pass to to balance this save. - This behaves the same as but in addition it allocates an offscreen bitmap. All drawing calls are directed there, and only when the balancing call to is made is that offscreen transfered to the canvas (or the previous layer). - The limit rectangle, is used as a hint to limit the size of the offscreen bitmap, and thus drawing may be clipped to it, though that clipping is not guaranteed to happen. If exact clipping is desired, use . + but in addition it +allocates an offscreen bitmap. All drawing calls are directed there, and only +when the balancing call to is made is that +offscreen transfered to the canvas (or the previous layer). + +The limit rectangle, is used as a hint to limit the size of the offscreen +bitmap, and thus drawing may be clipped to it, though that clipping is not +guaranteed to happen. If exact clipping is desired, use +. +]]> @@ -3361,6 +3506,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3385,6 +3531,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3409,6 +3556,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3435,6 +3583,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3465,6 +3614,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3489,6 +3639,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3513,6 +3664,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3539,6 +3691,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -3560,6 +3713,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -3584,6 +3738,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKClipOperation.xml b/docs/xml/SkiaSharp/SKClipOperation.xml index 143c7826ef..666d8bcca4 100644 --- a/docs/xml/SkiaSharp/SKClipOperation.xml +++ b/docs/xml/SkiaSharp/SKClipOperation.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKClipOperation @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKClipOperation diff --git a/docs/xml/SkiaSharp/SKCodec.xml b/docs/xml/SkiaSharp/SKCodec.xml index afbc965beb..60dfa3211a 100644 --- a/docs/xml/SkiaSharp/SKCodec.xml +++ b/docs/xml/SkiaSharp/SKCodec.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodec @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodec @@ -68,6 +71,30 @@ If null is returned, the stream is deleted immediately. Otherwise, the codec takes ownership of it, and will delete it when done with it. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodec + + + + + + + The stream to use when creating the codec. + The result of the creation operation. + Creates a codec from the specified stream. + Returns the new instance of the codec, or null if there was an error. + If null is returned, the stream is deleted immediately. Otherwise, the codec takes ownership of it, and will delete it when done with it. + + @@ -79,6 +106,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -87,9 +115,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -103,6 +132,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -134,6 +164,24 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + + Gets the image origin from the codec. + + + + @@ -145,6 +193,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -166,6 +215,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecFrameInfo[] @@ -176,6 +226,30 @@ May require reading through the stream to determine info about the frames. As such, future decoding calls may require a rewind. For single-frame images, this will be an empty array. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The index of the frame to retrieve. + The information about the frame. + Gets information about a specific frame in the encoded image. + Returns true if the frame was successfully read, otherwise false. + May require reading through the stream to determine info about the frames. As such, future decoding calls may require a rewind. + + @@ -187,6 +261,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -212,6 +287,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -237,6 +313,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -251,8 +328,18 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . +]]> @@ -267,6 +354,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -281,8 +369,18 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . +]]> @@ -297,6 +395,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -311,8 +410,18 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . +]]> @@ -327,6 +436,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -343,8 +453,18 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . +]]> @@ -359,7 +479,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr) instead.") + + SkiaSharp.SKCodecResult @@ -377,9 +503,23 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . - If specified color type is , then the caller must provide a . On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries. + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . + +If specified color type is , then the +caller must provide a . On success, the codec +will copy the colors into that storage, and set `colorTableCount` to the +logical number of table entries. +]]> @@ -394,6 +534,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -412,8 +553,18 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . +]]> @@ -428,7 +579,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr) instead.") + + SkiaSharp.SKCodecResult @@ -446,9 +603,23 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . - If specified color type is , then the caller must provide a color table array, with a length of at least 256. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries. + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . + +If specified color type is , then the +caller must provide a color table array, with a length of at least 256. On +success, the codec will copy the colors into that storage, and set +`colorTableCount` to the logical number of table entries. +]]> @@ -463,7 +634,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -483,9 +660,23 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . - If specified color type is , then the caller must provide a . On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries. + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . + +If specified color type is , then the +caller must provide a . On success, the codec +will copy the colors into that storage, and set `colorTableCount` to the +logical number of table entries. +]]> @@ -500,7 +691,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -520,9 +717,23 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . - If specified color type is , then the caller must provide a color table array, with a length of at least 256. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries. + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . + +If specified color type is , then the +caller must provide a color table array, with a length of at least 256. On +success, the codec will copy the colors into that storage, and set +`colorTableCount` to the logical number of table entries. +]]> @@ -537,7 +748,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, int, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -559,9 +776,23 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . - If specified color type is , then the caller must provide a . On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries. + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . + +If specified color type is , then the +caller must provide a . On success, the codec +will copy the colors into that storage, and set `colorTableCount` to the +logical number of table entries. +]]> @@ -576,7 +807,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use GetPixels(SKImageInfo, IntPtr, int, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -598,9 +835,23 @@ Decode the bitmap into the specified memory block. Returns on success, or another value explaining the type of failure. - The specified , can either be , or a new instance with a different configuration - which the codec may choose to ignore. - If the specified size is different from the size from , then the codec will attempt to scale the resulting bitmap. If the codec cannot perform this scale, this method will return . - If specified color type is , then the caller must provide a color table array, with a length of at least 256. On success, the codec will copy the colors into that storage, and set colorTableCount to the logical number of table entries. + , can either be +, or a new instance with a different +configuration - which the codec may choose to ignore. + +If the specified size is different from the size from +, then the codec will attempt to scale the +resulting bitmap. If the codec cannot perform this scale, this method will +return . + +If specified color type is , then the +caller must provide a color table array, with a length of at least 256. On +success, the codec will copy the colors into that storage, and set +`colorTableCount` to the logical number of table entries. +]]> @@ -615,6 +866,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -640,6 +892,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -669,6 +922,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -694,6 +948,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -716,6 +971,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -741,6 +997,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -762,6 +1019,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -783,6 +1041,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -804,7 +1063,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use EncodedOrigin instead.") + + SkiaSharp.SKCodecOrigin @@ -825,6 +1090,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte[] @@ -846,6 +1112,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -870,6 +1137,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecScanlineOrder @@ -891,6 +1159,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -916,6 +1185,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -945,6 +1215,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -976,7 +1247,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use StartIncrementalDecode(SKImageInfo, IntPtr, int, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -1011,7 +1288,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use StartIncrementalDecode(SKImageInfo, IntPtr, int, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -1046,6 +1329,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -1071,6 +1355,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -1098,7 +1383,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use StartScanlineDecode(SKImageInfo, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult @@ -1129,7 +1420,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use StartScanlineDecode(SKImageInfo, SKCodecOptions) instead.") + + SkiaSharp.SKCodecResult diff --git a/docs/xml/SkiaSharp/SKCodecAnimationDisposalMethod.xml b/docs/xml/SkiaSharp/SKCodecAnimationDisposalMethod.xml new file mode 100644 index 0000000000..44c722bcf1 --- /dev/null +++ b/docs/xml/SkiaSharp/SKCodecAnimationDisposalMethod.xml @@ -0,0 +1,69 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + System.Enum + + + Represents how the next frame in the image is based on the current frame. + + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodecAnimationDisposalMethod + + 1 + + The next frame should be drawn on top of this one. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodecAnimationDisposalMethod + + 2 + + The area inside this frame's rectangle should be cleared to the background color before drawing the next frame. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodecAnimationDisposalMethod + + 3 + + The next frame should be drawn on top of the previous frame - i.e. disregarding this one. + + + + diff --git a/docs/xml/SkiaSharp/SKCodecFrameInfo.xml b/docs/xml/SkiaSharp/SKCodecFrameInfo.xml index 9da15fd0ee..6833857dab 100644 --- a/docs/xml/SkiaSharp/SKCodecFrameInfo.xml +++ b/docs/xml/SkiaSharp/SKCodecFrameInfo.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -27,6 +28,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -37,6 +39,24 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodecAnimationDisposalMethod + + + Gets or sets the method indicating how the current frame should be modified before decoding the next one. + + + + @@ -48,6 +68,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -69,6 +90,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -90,6 +112,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKCodecOptions.xml b/docs/xml/SkiaSharp/SKCodecOptions.xml index 1177976bfd..96029fcfb2 100644 --- a/docs/xml/SkiaSharp/SKCodecOptions.xml +++ b/docs/xml/SkiaSharp/SKCodecOptions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -60,6 +63,24 @@ + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + The frame to decode. + Create a new instance of with the specified frame index. + Only meaningful for multi-frame images. + + @@ -71,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -106,6 +128,26 @@ Only meaningful for multi-frame images. + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + The frame to decode. + The previous frame to decode. + Create a new instance of . + Only meaningful for multi-frame images. + + @@ -117,6 +159,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOptions @@ -137,6 +180,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -179,6 +223,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -198,6 +243,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTransferFunctionBehavior @@ -208,6 +254,39 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets or sets a value indicating which frame, if any, the destination bitmap already contains. + + + needs to be blended with a prior +frame (as reported by `SKCodec.FrameInfo[FrameIndex].RequiredFrame`), the +client can set this to any non- +frame in the range [RequiredFrame, FrameIndex) to indicate that that frame is +already in the destination. is +ignored in this case. + +If set to -1, the codec will decode any necessary required frame(s) first. +]]> + + + @@ -219,6 +298,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Nullable<SkiaSharp.SKRectI> @@ -240,6 +320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKZeroInitialized diff --git a/docs/xml/SkiaSharp/SKCodecOrigin.xml b/docs/xml/SkiaSharp/SKCodecOrigin.xml index 3a7ab57b6d..3fc7f37712 100644 --- a/docs/xml/SkiaSharp/SKCodecOrigin.xml +++ b/docs/xml/SkiaSharp/SKCodecOrigin.xml @@ -8,10 +8,16 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum + + + System.Obsolete("Use SKEncodedOrigin instead.") + + The various origins of a bitmap. @@ -28,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -48,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -68,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -88,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -108,6 +118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -128,6 +139,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -148,6 +160,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin @@ -168,6 +181,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecOrigin diff --git a/docs/xml/SkiaSharp/SKCodecResult.xml b/docs/xml/SkiaSharp/SKCodecResult.xml index bb77c0f219..447ff4edb6 100644 --- a/docs/xml/SkiaSharp/SKCodecResult.xml +++ b/docs/xml/SkiaSharp/SKCodecResult.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -19,7 +20,7 @@ - + Field @@ -28,15 +29,33 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult - 6 + 7 Fulfilling this request requires rewinding the input, which is not supported for this input. + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodecResult + + 2 + + There was an error in the imput data. If returned from an incremental decode, decoding cannot continue, even with more data. + + @@ -48,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -57,9 +77,26 @@ The input is incomplete. A partial image was generated. + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKCodecResult + + 8 + + An internal memory occurred, such as an out-of-memory error. + + - + Field @@ -68,18 +105,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult - 2 + 3 The codec cannot convert to match the request, ignoring dimensions. - + Field @@ -88,18 +126,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult - 5 + 6 The input did not contain a valid image. - + Field @@ -108,18 +147,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult - 4 + 5 The parameters (besides info) are invalid. e.g. null pixels, row bytes too small, etc. - + Field @@ -128,11 +168,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult - 3 + 4 The generator cannot scale to requested size. @@ -148,6 +189,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult @@ -159,7 +201,7 @@ - + Field @@ -168,11 +210,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecResult - 7 + 9 This method is not supported by this codec. diff --git a/docs/xml/SkiaSharp/SKCodecScanlineOrder.xml b/docs/xml/SkiaSharp/SKCodecScanlineOrder.xml index c30b43e4b3..209e680c96 100644 --- a/docs/xml/SkiaSharp/SKCodecScanlineOrder.xml +++ b/docs/xml/SkiaSharp/SKCodecScanlineOrder.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecScanlineOrder @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCodecScanlineOrder diff --git a/docs/xml/SkiaSharp/SKColor.xml b/docs/xml/SkiaSharp/SKColor.xml index cd27c50170..ec325c24c9 100644 --- a/docs/xml/SkiaSharp/SKColor.xml +++ b/docs/xml/SkiaSharp/SKColor.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -75,6 +78,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -102,6 +106,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -123,6 +128,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -144,6 +150,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -164,6 +171,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -189,6 +197,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -220,6 +229,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -251,6 +261,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -273,6 +284,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -294,6 +306,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -315,6 +328,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -342,6 +356,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -367,6 +382,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -392,6 +408,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -419,6 +436,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -444,6 +462,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -465,6 +484,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -493,6 +513,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -521,6 +542,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -543,6 +565,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -570,6 +593,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -595,6 +619,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -620,6 +645,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -645,6 +671,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor diff --git a/docs/xml/SkiaSharp/SKColorFilter.xml b/docs/xml/SkiaSharp/SKColorFilter.xml index 0936851499..a570886399 100644 --- a/docs/xml/SkiaSharp/SKColorFilter.xml +++ b/docs/xml/SkiaSharp/SKColorFilter.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -156,6 +159,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -181,6 +185,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -229,6 +234,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -253,6 +259,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -282,6 +289,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -309,6 +317,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -331,6 +340,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -356,6 +366,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -418,6 +429,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -426,9 +438,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -537,5 +550,23 @@ + + + + + Field + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + 256 + + The size of a color table for a color component. + + + diff --git a/docs/xml/SkiaSharp/SKColorSpace.xml b/docs/xml/SkiaSharp/SKColorSpace.xml index f5fd4ac926..90c69cac4c 100644 --- a/docs/xml/SkiaSharp/SKColorSpace.xml +++ b/docs/xml/SkiaSharp/SKColorSpace.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -85,6 +86,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -109,6 +111,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -135,6 +138,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -161,6 +165,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -189,6 +194,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -217,6 +223,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -245,6 +252,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -273,6 +281,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -294,6 +303,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -315,6 +325,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -323,9 +334,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -338,6 +350,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -364,6 +377,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -384,6 +398,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -403,6 +418,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -423,6 +439,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -444,6 +461,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKColorSpaceFlags.xml b/docs/xml/SkiaSharp/SKColorSpaceFlags.xml index ae7ce6636a..21c42eecc7 100644 --- a/docs/xml/SkiaSharp/SKColorSpaceFlags.xml +++ b/docs/xml/SkiaSharp/SKColorSpaceFlags.xml @@ -7,12 +7,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -30,6 +31,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceFlags @@ -49,6 +51,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceFlags diff --git a/docs/xml/SkiaSharp/SKColorSpaceGamut.xml b/docs/xml/SkiaSharp/SKColorSpaceGamut.xml index 10150ec9db..4df1d57359 100644 --- a/docs/xml/SkiaSharp/SKColorSpaceGamut.xml +++ b/docs/xml/SkiaSharp/SKColorSpaceGamut.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -26,6 +27,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceGamut @@ -45,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceGamut @@ -64,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceGamut @@ -83,6 +87,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceGamut diff --git a/docs/xml/SkiaSharp/SKColorSpacePrimaries.xml b/docs/xml/SkiaSharp/SKColorSpacePrimaries.xml index 9347af1530..29a23d5a8d 100644 --- a/docs/xml/SkiaSharp/SKColorSpacePrimaries.xml +++ b/docs/xml/SkiaSharp/SKColorSpacePrimaries.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -27,6 +28,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -61,6 +63,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -81,6 +84,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -101,6 +105,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -121,6 +126,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -141,6 +147,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -161,6 +168,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -180,6 +188,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -200,6 +209,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -224,6 +234,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -244,6 +255,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKColorSpaceRenderTargetGamma.xml b/docs/xml/SkiaSharp/SKColorSpaceRenderTargetGamma.xml index 81f1ee8039..aa3c2a51e6 100644 --- a/docs/xml/SkiaSharp/SKColorSpaceRenderTargetGamma.xml +++ b/docs/xml/SkiaSharp/SKColorSpaceRenderTargetGamma.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -26,6 +27,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceRenderTargetGamma @@ -45,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceRenderTargetGamma diff --git a/docs/xml/SkiaSharp/SKColorSpaceTransferFn.xml b/docs/xml/SkiaSharp/SKColorSpaceTransferFn.xml index 43c38def12..b13ff24a21 100644 --- a/docs/xml/SkiaSharp/SKColorSpaceTransferFn.xml +++ b/docs/xml/SkiaSharp/SKColorSpaceTransferFn.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -36,6 +37,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -68,6 +70,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -88,6 +91,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -108,6 +112,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -128,6 +133,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -148,6 +154,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -168,6 +175,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -188,6 +196,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -207,6 +216,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpaceTransferFn diff --git a/docs/xml/SkiaSharp/SKColorTable.xml b/docs/xml/SkiaSharp/SKColorTable.xml index 31046e9bd6..1918511282 100644 --- a/docs/xml/SkiaSharp/SKColorTable.xml +++ b/docs/xml/SkiaSharp/SKColorTable.xml @@ -8,11 +8,17 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject + + + System.Obsolete("The Index8 color type and color table is no longer supported.") + + Holds a premultiplied color table for indexed 8-bit bitmaps. This class is used to represent a color lookup table for indexed bitmap images. The table can contain up to (256) colors (8 bits). The colors are stored are premultiplied 32-bit colors. @@ -29,6 +35,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -68,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -89,6 +98,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -110,6 +120,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -133,6 +144,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -156,6 +168,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPMColor[] @@ -177,6 +190,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -198,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -206,9 +221,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -222,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -247,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPMColor @@ -272,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -293,6 +312,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -315,6 +335,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor[] diff --git a/docs/xml/SkiaSharp/SKColorType.xml b/docs/xml/SkiaSharp/SKColorType.xml index 1480a5fdc2..68d821e371 100644 --- a/docs/xml/SkiaSharp/SKColorType.xml +++ b/docs/xml/SkiaSharp/SKColorType.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -59,7 +62,7 @@ - + Field @@ -68,18 +71,19 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType - 5 + 6 Represents a 32-bit color with the format BGRA. - + Field @@ -88,13 +92,14 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType - 7 + 9 - Represents a 8-bit grayscale color. + Represents an opaque 8-bit grayscale color. @@ -117,6 +122,23 @@ Represents a 8-bit indexed color. + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColorType + + 8 + + Represents an opaque 32-bit color with the format RGB, with 10 bits per color component. + + @@ -128,13 +150,48 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType 2 - Represents a 16-bit color with the format RGB, with the red and blue components being 5-bits and the green component being 6-bits. + Represents an opaque 16-bit color with the format RGB, with the red and blue components being 5 bits and the green component being 6 bits. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColorType + + 5 + + Represents an opaque 32-bit color with the format RGB, with 8 bits per color component. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColorType + + 7 + + Represents a 32-bit color with the format RGBA, with 10 bits per color component and 2 bits for the alpha component. @@ -148,6 +205,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -159,7 +217,7 @@ - + Field @@ -168,11 +226,12 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType - 8 + 10 Represents a floating-point based color with the format RGBA. @@ -188,6 +247,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType diff --git a/docs/xml/SkiaSharp/SKColors.xml b/docs/xml/SkiaSharp/SKColors.xml index ef456b0934..7d1153066b 100644 --- a/docs/xml/SkiaSharp/SKColors.xml +++ b/docs/xml/SkiaSharp/SKColors.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -49,6 +51,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -69,6 +72,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -89,6 +93,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -109,6 +114,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -129,6 +135,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -149,6 +156,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -169,6 +177,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -189,6 +198,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -209,6 +219,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -229,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -249,6 +261,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -269,6 +282,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -289,6 +303,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -309,6 +324,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -329,6 +345,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -349,6 +366,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -369,6 +387,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -389,6 +408,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -409,6 +429,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -429,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -449,6 +471,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -469,6 +492,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -489,6 +513,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -509,6 +534,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -529,6 +555,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -549,6 +576,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -569,6 +597,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -589,6 +618,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -609,6 +639,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -629,6 +660,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -649,6 +681,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -669,6 +702,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -689,6 +723,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -709,6 +744,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -729,6 +765,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -749,6 +786,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -769,6 +807,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -789,6 +828,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -809,6 +849,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -829,6 +870,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -849,6 +891,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -869,6 +912,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -890,6 +934,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -910,6 +955,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -930,6 +976,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -950,6 +997,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -970,6 +1018,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -990,6 +1039,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1010,6 +1060,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1030,6 +1081,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1050,6 +1102,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1070,6 +1123,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1090,6 +1144,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1110,6 +1165,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1130,6 +1186,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1150,6 +1207,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1170,6 +1228,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1190,6 +1249,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1210,6 +1270,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1230,6 +1291,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1250,6 +1312,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1270,6 +1333,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1290,6 +1354,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1310,6 +1375,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1330,6 +1396,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1350,6 +1417,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1370,6 +1438,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1390,6 +1459,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1410,6 +1480,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1430,6 +1501,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1450,6 +1522,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1470,6 +1543,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1490,6 +1564,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1510,6 +1585,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1530,6 +1606,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1550,6 +1627,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1570,6 +1648,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1590,6 +1669,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1610,6 +1690,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1630,6 +1711,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1650,6 +1732,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1670,6 +1753,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1690,6 +1774,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1710,6 +1795,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1730,6 +1816,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1750,6 +1837,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1770,6 +1858,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1790,6 +1879,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1810,6 +1900,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1830,6 +1921,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1850,6 +1942,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1870,6 +1963,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1890,6 +1984,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1910,6 +2005,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1930,6 +2026,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1950,6 +2047,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1970,6 +2068,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -1990,6 +2089,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2010,6 +2110,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2030,6 +2131,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2050,6 +2152,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2070,6 +2173,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2090,6 +2194,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2110,6 +2215,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2130,6 +2236,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2150,6 +2257,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2170,6 +2278,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2190,6 +2299,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2210,6 +2320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2230,6 +2341,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2250,6 +2362,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2270,6 +2383,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2290,6 +2404,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2310,6 +2425,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2330,6 +2446,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2350,6 +2467,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2370,6 +2488,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2390,6 +2509,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2410,6 +2530,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2430,6 +2551,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2450,6 +2572,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2470,6 +2593,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2490,6 +2614,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2510,6 +2635,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2530,6 +2656,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2550,6 +2677,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2570,6 +2698,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2590,6 +2719,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2610,6 +2740,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2630,6 +2761,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2650,6 +2782,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2670,6 +2803,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2690,6 +2824,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2710,6 +2845,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2730,6 +2866,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2750,6 +2887,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2770,6 +2908,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2790,6 +2929,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2810,6 +2950,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2830,6 +2971,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -2850,6 +2992,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor diff --git a/docs/xml/SkiaSharp/SKCropRectFlags.xml b/docs/xml/SkiaSharp/SKCropRectFlags.xml index 0f9c4d533c..aeaffd0541 100644 --- a/docs/xml/SkiaSharp/SKCropRectFlags.xml +++ b/docs/xml/SkiaSharp/SKCropRectFlags.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags @@ -91,6 +95,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags @@ -111,6 +116,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags @@ -131,6 +137,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags diff --git a/docs/xml/SkiaSharp/SKData.xml b/docs/xml/SkiaSharp/SKData.xml index ef6c9f4050..cad27f6ce4 100644 --- a/docs/xml/SkiaSharp/SKData.xml +++ b/docs/xml/SkiaSharp/SKData.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -133,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IO.Stream @@ -155,6 +157,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IO.Stream @@ -179,6 +182,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -204,6 +208,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -228,6 +233,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -252,6 +258,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -277,6 +284,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -301,6 +309,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -327,6 +336,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -353,6 +363,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -380,6 +391,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -406,6 +418,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -432,6 +445,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -458,6 +472,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -485,6 +500,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -514,6 +530,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -545,6 +562,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -570,6 +588,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -597,6 +616,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -624,6 +644,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -645,6 +666,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -669,6 +691,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -724,6 +747,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -745,6 +769,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -769,6 +794,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -790,6 +816,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -817,6 +844,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte[] diff --git a/docs/xml/SkiaSharp/SKDataReleaseDelegate.xml b/docs/xml/SkiaSharp/SKDataReleaseDelegate.xml index 6243c04551..90793a8166 100644 --- a/docs/xml/SkiaSharp/SKDataReleaseDelegate.xml +++ b/docs/xml/SkiaSharp/SKDataReleaseDelegate.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Delegate diff --git a/docs/xml/SkiaSharp/SKDisplacementMapEffectChannelSelectorType.xml b/docs/xml/SkiaSharp/SKDisplacementMapEffectChannelSelectorType.xml index f5d8af7a26..4814505a06 100644 --- a/docs/xml/SkiaSharp/SKDisplacementMapEffectChannelSelectorType.xml +++ b/docs/xml/SkiaSharp/SKDisplacementMapEffectChannelSelectorType.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDisplacementMapEffectChannelSelectorType @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDisplacementMapEffectChannelSelectorType @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDisplacementMapEffectChannelSelectorType @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDisplacementMapEffectChannelSelectorType @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDisplacementMapEffectChannelSelectorType diff --git a/docs/xml/SkiaSharp/SKDocument.xml b/docs/xml/SkiaSharp/SKDocument.xml index 9ffe4d4823..dbac842d7b 100644 --- a/docs/xml/SkiaSharp/SKDocument.xml +++ b/docs/xml/SkiaSharp/SKDocument.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -38,6 +39,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -59,6 +61,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas @@ -86,6 +89,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas @@ -115,6 +119,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -126,7 +131,53 @@ canvas, and then complete the page with a call to - + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKDocument + + + + + + The stream to write to. + Create a PDF-backed document, writing the results into a stream. + Returns the new PDF-backed document. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKDocument + + + + + + + The stream to write to. + The document metadata to include. + Create a PDF-backed document, writing the results into a stream. + Returns the new PDF-backed document. + + + + + Method @@ -136,7 +187,13 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreatePdf(SKWStream) instead.") + + SkiaSharp.SKDocument @@ -163,11 +220,15 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Obsolete("Use CreatePdf(SKWStream, float) instead.") + + System.Obsolete("Use CreatePdf(SKWStream) instead.") + SkiaSharp.SKDocument @@ -185,7 +246,7 @@ canvas, and then complete the page with a call to - + Method @@ -195,7 +256,13 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreatePdf(SKWStream, SKDocumentPdfMetadata) instead.") + + SkiaSharp.SKDocument @@ -224,6 +291,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDocument @@ -251,9 +319,10 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.Obsolete("Use CreateXps(SKWStream, float) instead.") @@ -283,6 +352,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -304,6 +374,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -312,9 +383,10 @@ canvas, and then complete the page with a call to - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -328,6 +400,7 @@ canvas, and then complete the page with a call to 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKDocumentPdfMetadata.xml b/docs/xml/SkiaSharp/SKDocumentPdfMetadata.xml index 3a3d227dbe..cc9e8807a9 100644 --- a/docs/xml/SkiaSharp/SKDocumentPdfMetadata.xml +++ b/docs/xml/SkiaSharp/SKDocumentPdfMetadata.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Nullable<System.DateTime> @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -92,6 +96,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -113,6 +118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Nullable<System.DateTime> @@ -134,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -155,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -176,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String diff --git a/docs/xml/SkiaSharp/SKDropShadowImageFilterShadowMode.xml b/docs/xml/SkiaSharp/SKDropShadowImageFilterShadowMode.xml index c82ba22b86..7a1d61ae0c 100644 --- a/docs/xml/SkiaSharp/SKDropShadowImageFilterShadowMode.xml +++ b/docs/xml/SkiaSharp/SKDropShadowImageFilterShadowMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDropShadowImageFilterShadowMode @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKDropShadowImageFilterShadowMode diff --git a/docs/xml/SkiaSharp/SKDynamicMemoryWStream.xml b/docs/xml/SkiaSharp/SKDynamicMemoryWStream.xml index fe5109fdc9..8121c737f3 100644 --- a/docs/xml/SkiaSharp/SKDynamicMemoryWStream.xml +++ b/docs/xml/SkiaSharp/SKDynamicMemoryWStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWStream @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -72,6 +75,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -96,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -118,6 +123,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -140,6 +146,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset @@ -162,6 +169,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -170,9 +178,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp/SKEncodedImageFormat.xml b/docs/xml/SkiaSharp/SKEncodedImageFormat.xml index 37b836827d..20dbcc5ff4 100644 --- a/docs/xml/SkiaSharp/SKEncodedImageFormat.xml +++ b/docs/xml/SkiaSharp/SKEncodedImageFormat.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -128,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -148,6 +155,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -168,6 +176,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -188,6 +197,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -208,6 +218,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat @@ -228,6 +239,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncodedImageFormat diff --git a/docs/xml/SkiaSharp/SKEncodedOrigin.xml b/docs/xml/SkiaSharp/SKEncodedOrigin.xml new file mode 100644 index 0000000000..358fed905d --- /dev/null +++ b/docs/xml/SkiaSharp/SKEncodedOrigin.xml @@ -0,0 +1,171 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + System.Enum + + + Represents various origin values returned by . + + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 4 + + Reflected across x-axis. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 3 + + Rotated 180°. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 1 + + This is equivalent to . + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 8 + + Rotated 90° counter-clockwise. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 5 + + Reflected across x-axis. Rotated 90° counter-clockwise. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 7 + + Reflected across x-axis. Rotated 90° clockwise. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 6 + + Rotated 90° clockwise. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 1 + + Default. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKEncodedOrigin + + 2 + + Reflected across y-axis. + + + + diff --git a/docs/xml/SkiaSharp/SKEncoding.xml b/docs/xml/SkiaSharp/SKEncoding.xml index 730bd42d21..d378c867af 100644 --- a/docs/xml/SkiaSharp/SKEncoding.xml +++ b/docs/xml/SkiaSharp/SKEncoding.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncoding @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncoding @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKEncoding diff --git a/docs/xml/SkiaSharp/SKFileStream.xml b/docs/xml/SkiaSharp/SKFileStream.xml index 98696988a4..3b67859f8e 100644 --- a/docs/xml/SkiaSharp/SKFileStream.xml +++ b/docs/xml/SkiaSharp/SKFileStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -58,9 +61,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -71,6 +75,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -93,6 +98,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset diff --git a/docs/xml/SkiaSharp/SKFileWStream.xml b/docs/xml/SkiaSharp/SKFileWStream.xml index 7207de5b58..ba8e710a45 100644 --- a/docs/xml/SkiaSharp/SKFileWStream.xml +++ b/docs/xml/SkiaSharp/SKFileWStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWStream @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -58,9 +61,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -71,6 +75,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -93,6 +98,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWStream diff --git a/docs/xml/SkiaSharp/SKFilterQuality.xml b/docs/xml/SkiaSharp/SKFilterQuality.xml index 95eb33e54d..eed2680e01 100644 --- a/docs/xml/SkiaSharp/SKFilterQuality.xml +++ b/docs/xml/SkiaSharp/SKFilterQuality.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFilterQuality @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFilterQuality @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFilterQuality @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFilterQuality diff --git a/docs/xml/SkiaSharp/SKFontManager.xml b/docs/xml/SkiaSharp/SKFontManager.xml index 2e8a2b43b0..e7b12a3772 100644 --- a/docs/xml/SkiaSharp/SKFontManager.xml +++ b/docs/xml/SkiaSharp/SKFontManager.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -18,6 +19,121 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontManager + + + + Creates a new, default font manager. + Returns the new font manager. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The data to read the typeface from. + The TTC index. + Creates a new from the specified . + Returns the new , or if the data is not recognized. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The stream to read the typeface from. + The TTC index. + Creates a new from the specified stream. + Returns the new , or if the stream is not recognized. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The stream to read the typeface from. + The TTC index. + Creates a new from the specified stream. + Returns the new , or if the stream is not recognized. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The path to the typeface. + The TTC index. + Creates a new from the specified file path. + Returns the new , or if the file does not exist or the contents are not recognized. + + + @@ -29,6 +145,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontManager @@ -50,6 +167,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -58,9 +176,33 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + + get: System.Runtime.CompilerServices.IteratorStateMachine(typeof(SkiaSharp.SKFontManager/<get_FontFamilies>d__7)) + + + + System.Collections.Generic.IEnumerable<System.String> + + + Gets all the font family names loaded by this font manager. + + @@ -74,6 +216,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -95,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -120,17 +264,62 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String[] - Returns all the font family names. - Returns an array of all the font family names. + Returns all the font family names loaded by this font manager. + Returns an array of all the font family names loaded by this font manager. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyleSet + + + + + + The index of the font style set to retrieve. + Returns the font style set for the specified index. + Returns the font style set. + The index must be in the range of [0, ). + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyleSet + + + + + + The family name to use when searching. + Use the system fallback to find the typeface styles for the given family. + Returns a with all the font styles supported by the specified family. + Never returns and will return an empty set if the family is not found. + + @@ -142,6 +331,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -167,6 +357,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -192,6 +383,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -219,6 +411,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -246,6 +439,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -261,7 +455,20 @@ The character to find a typeface for. Use the system fallback to find a typeface for the given character. Returns the that contains the given character, or if none was found. - Note that is a combination of ISO 639, 15924, and 3166-1 codes, so it is fine to just pass a ISO 639 here. The first item is the least significant fallback, and the last is the most significant. If no specified codes match, any font with the requested character will be matched. + + + @@ -275,6 +482,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -290,7 +498,61 @@ The character to find a typeface for. Use the system fallback to find a typeface for the given character. Returns the that contains the given character, or if none was found. - Note that is a combination of ISO 639, 15924, and 3166-1 codes, so it is fine to just pass a ISO 639 here. The first item is the least significant fallback, and the last is the most significant. If no specified codes match, any font with the requested character will be matched. + + + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + + + The family name to use when searching. + The font style to use when searching. + The ISO 639, 15924, and 3166-1 code to use when searching, such as "ja" and "zh". + The character to find a typeface for. + Use the system fallback to find a typeface for the given character. + Returns the that contains the given character, or if none was found. + + + @@ -304,6 +566,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -325,7 +588,20 @@ The character to find a typeface for. Use the system fallback to find a typeface for the given character. Returns the that contains the given character, or if none was found. - Note that is a combination of ISO 639, 15924, and 3166-1 codes, so it is fine to just pass a ISO 639 here. The first item is the least significant fallback, and the last is the most significant. If no specified codes match, any font with the requested character will be matched. + + + @@ -339,6 +615,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -360,7 +637,20 @@ The character to find a typeface for. Use the system fallback to find a typeface for the given character. Returns the that contains the given character, or if none was found. - Note that is a combination of ISO 639, 15924, and 3166-1 codes, so it is fine to just pass a ISO 639 here. The first item is the least significant fallback, and the last is the most significant. If no specified codes match, any font with the requested character will be matched. + + + @@ -374,6 +664,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -395,7 +686,68 @@ The character to find a typeface for. Use the system fallback to find a typeface for the given character. Returns the that contains the given character, or if none was found. - Note that is a combination of ISO 639, 15924, and 3166-1 codes, so it is fine to just pass a ISO 639 here. The first item is the least significant fallback, and the last is the most significant. If no specified codes match, any font with the requested character will be matched. + + + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The family name to use when searching. + The font style to use when searching. + Find the closest matching typeface to the specified family name and style. + Returns the that contains the given family name and style, or the default font if no matching font was found. + Will never return , as it will return the default font if no matching font is found. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The typeface to use when searching. + The font style to use when searching. + Find the closest matching typeface to the specified typeface and style. + Returns the that contains the given typeface and style, or the default font if no matching font was found. + Will never return , as it will return the default font if no matching font is found. diff --git a/docs/xml/SkiaSharp/SKFontMetrics.xml b/docs/xml/SkiaSharp/SKFontMetrics.xml index 29bf948556..4b4570b01a 100644 --- a/docs/xml/SkiaSharp/SKFontMetrics.xml +++ b/docs/xml/SkiaSharp/SKFontMetrics.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -92,6 +96,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -113,6 +118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -134,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -155,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -165,6 +173,42 @@ Will be >= 0. + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Nullable<System.Single> + + + Gets the position of the bottom of the strikeout stroke relative to the baseline. + + This value is typically negative when valid. + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Nullable<System.Single> + + + Gets the thickness of the strikeout. + + + + @@ -176,6 +220,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -197,6 +242,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Nullable<System.Single> @@ -223,6 +269,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Nullable<System.Single> @@ -247,6 +294,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -268,6 +316,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -289,6 +338,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKFontStyle.xml b/docs/xml/SkiaSharp/SKFontStyle.xml new file mode 100644 index 0000000000..a8913bd254 --- /dev/null +++ b/docs/xml/SkiaSharp/SKFontStyle.xml @@ -0,0 +1,226 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKObject + + + + Represents a particular style (bold, italic, condensed) of a typeface. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + Creates a new with a normal weight, a normal width and upright. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + + The weight (light or bold). + The width (condensed or expanded). + The slant (italic). + Creates a new with the specified weight, width and slant. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + + The weight (light or bold). + The width (condensed or expanded). + The slant (italic). + Creates a new with the specified weight, width and slant. + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyle + + + Gets a new upright font style that is bold. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyle + + + Gets a new italic font style that is bold. + + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Void + + + + + + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyle + + + Gets a new italic font style. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyle + + + Gets a new normal (upright and not bold) font style. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyleSlant + + + Gets the slant of this style. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the weight of this style. + + The weight could potentially be one of the values of . + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the width of this style. + + The weight could potentially be one of the values of . + + + + diff --git a/docs/xml/SkiaSharp/SKFontStyleSet.xml b/docs/xml/SkiaSharp/SKFontStyleSet.xml new file mode 100644 index 0000000000..35e22ecfa9 --- /dev/null +++ b/docs/xml/SkiaSharp/SKFontStyleSet.xml @@ -0,0 +1,222 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKObject + + + + System.Collections.Generic.IEnumerable<SkiaSharp.SKFontStyle> + + + System.Collections.Generic.IReadOnlyCollection<SkiaSharp.SKFontStyle> + + + System.Collections.Generic.IReadOnlyList<SkiaSharp.SKFontStyle> + + + + Represets the set of styles for a particular font family. + + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + Creates a new, empty . + + + + + + + + Property + + P:System.Collections.Generic.IReadOnlyCollection`1.Count + + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the number of font styles in the set. + + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + The font style to match. + Creates a new with a style that is the closest match to the specified font style. + Returns the new . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + The index of the font style to match. + Creates a new with the style that is the closest match to the style at the specified index. + Returns the new . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Void + + + + + + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. + + + + + + + Method + + M:System.Collections.Generic.IEnumerable`1.GetEnumerator + + + SkiaSharp + 1.68.0.0 + + + System.Collections.Generic.IEnumerator<SkiaSharp.SKFontStyle> + + + + Returns an enumerator that iterates through the font styles. + Returns an enumerator. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.String + + + + + + The index of the font style. + Returns the name of the font style. + Returns the name of the font style. + + + + + + + + Property + + P:System.Collections.Generic.IReadOnlyList`1.Item(System.Int32) + + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyle + + + + + + The index of the font style. + Gets the font style at the specified index. + + + + + + + + + Method + + M:System.Collections.IEnumerable.GetEnumerator + + + SkiaSharp + 1.68.0.0 + + + System.Collections.IEnumerator + + + + Returns an enumerator that iterates through the font styles. + Returns an enumerator. + + + + + diff --git a/docs/xml/SkiaSharp/SKFontStyleSlant.xml b/docs/xml/SkiaSharp/SKFontStyleSlant.xml index 8a8685641a..e0cc60c6f8 100644 --- a/docs/xml/SkiaSharp/SKFontStyleSlant.xml +++ b/docs/xml/SkiaSharp/SKFontStyleSlant.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleSlant @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleSlant @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleSlant diff --git a/docs/xml/SkiaSharp/SKFontStyleWeight.xml b/docs/xml/SkiaSharp/SKFontStyleWeight.xml index 6deca0ae82..d57922c4c2 100644 --- a/docs/xml/SkiaSharp/SKFontStyleWeight.xml +++ b/docs/xml/SkiaSharp/SKFontStyleWeight.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -128,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -148,6 +155,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -168,6 +176,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -188,6 +197,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -208,6 +218,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight @@ -228,6 +239,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWeight diff --git a/docs/xml/SkiaSharp/SKFontStyleWidth.xml b/docs/xml/SkiaSharp/SKFontStyleWidth.xml index a41f98bfe4..76e9e93af7 100644 --- a/docs/xml/SkiaSharp/SKFontStyleWidth.xml +++ b/docs/xml/SkiaSharp/SKFontStyleWidth.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -128,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -148,6 +155,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -192,6 +200,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth @@ -212,6 +221,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleWidth diff --git a/docs/xml/SkiaSharp/SKFrontBufferedManagedStream.xml b/docs/xml/SkiaSharp/SKFrontBufferedManagedStream.xml index 4987f59a40..5dfa330c10 100644 --- a/docs/xml/SkiaSharp/SKFrontBufferedManagedStream.xml +++ b/docs/xml/SkiaSharp/SKFrontBufferedManagedStream.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAbstractManagedStream @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -63,6 +66,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -85,6 +89,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -107,6 +112,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -115,9 +121,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -128,6 +135,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -147,6 +155,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -166,6 +175,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -185,6 +195,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -204,6 +215,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -223,6 +235,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -242,6 +255,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -264,6 +278,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -288,6 +303,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -312,6 +328,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -331,6 +348,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKFrontBufferedStream.xml b/docs/xml/SkiaSharp/SKFrontBufferedStream.xml index 69bdf2f466..71864de8ff 100644 --- a/docs/xml/SkiaSharp/SKFrontBufferedStream.xml +++ b/docs/xml/SkiaSharp/SKFrontBufferedStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IO.Stream @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -96,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -121,6 +126,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -142,6 +148,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -163,6 +170,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -184,6 +192,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -205,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -213,9 +223,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -229,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -250,6 +262,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -271,6 +284,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -292,6 +306,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -321,6 +336,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -348,6 +364,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -372,6 +389,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKHighContrastConfig.xml b/docs/xml/SkiaSharp/SKHighContrastConfig.xml index b383eab673..61d3738156 100644 --- a/docs/xml/SkiaSharp/SKHighContrastConfig.xml +++ b/docs/xml/SkiaSharp/SKHighContrastConfig.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -27,6 +28,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -51,6 +53,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKHighContrastConfig @@ -90,6 +94,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -110,6 +115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKHighContrastConfigInvertStyle @@ -130,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKHighContrastConfigInvertStyle.xml b/docs/xml/SkiaSharp/SKHighContrastConfigInvertStyle.xml index 944f7cd3be..3311fec381 100644 --- a/docs/xml/SkiaSharp/SKHighContrastConfigInvertStyle.xml +++ b/docs/xml/SkiaSharp/SKHighContrastConfigInvertStyle.xml @@ -7,6 +7,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -26,6 +27,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKHighContrastConfigInvertStyle @@ -45,6 +47,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKHighContrastConfigInvertStyle @@ -64,6 +67,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKHighContrastConfigInvertStyle diff --git a/docs/xml/SkiaSharp/SKImage.xml b/docs/xml/SkiaSharp/SKImage.xml index 96ee1951b3..9298a817e0 100644 --- a/docs/xml/SkiaSharp/SKImage.xml +++ b/docs/xml/SkiaSharp/SKImage.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -35,6 +36,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -56,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -78,6 +81,42 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColorSpace + + + Gets the image color space. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColorType + + + Gets the image color type. + + + + @@ -89,6 +128,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -114,6 +154,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -122,9 +163,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -138,6 +180,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -157,7 +200,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete + + SkiaSharp.SKData @@ -182,6 +231,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -229,6 +279,24 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKData + + + Gets the encoded image pixels as a , if the image was created from supported encoded stream format. + + Returns if the image mage contents are not encoded. + + @@ -240,7 +308,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.") + + SkiaSharp.SKImage @@ -264,7 +338,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.") + + SkiaSharp.SKImage @@ -280,6 +360,32 @@ SkiaSharp will delete or recycle the OpenGL texture when the image is released. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + The graphics context. + The description of the existing backend texture. + The color type to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported. + SkiaSharp will delete or recycle the texture when the image is released. + + @@ -291,7 +397,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.") + + SkiaSharp.SKImage @@ -317,7 +429,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromAdoptedTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.") + + SkiaSharp.SKImage @@ -335,6 +453,96 @@ SkiaSharp will delete or recycle the texture when the image is released. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported. + SkiaSharp will delete or recycle the texture when the image is released. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + The transparency mode to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported. + SkiaSharp will delete or recycle the texture when the image is released. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + The transparency mode to use for the image. + The colorspace to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported. + SkiaSharp will delete or recycle the texture when the image is released. + + @@ -346,6 +554,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -431,6 +640,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -456,6 +666,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -483,6 +694,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -493,7 +705,7 @@ The picture. - The size of the raster surface. + The size of the raster image. Creates a new image from the provided . An image whose contents is the picture. @@ -510,6 +722,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -521,7 +734,7 @@ The picture. - The size of the raster surface. + The size of the raster image. The matrix to use when reading the image. Creates a new image from the provided . An image whose contents is the picture. @@ -539,6 +752,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -550,7 +764,7 @@ The picture. - The size of the raster surface. + The size of the raster image. The paint to use when reading the image. Creates a new image from the provided . An image whose contents is the picture. @@ -568,6 +782,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -580,7 +795,7 @@ The picture. - The size of the raster surface. + The size of the raster image. The matrix to use when reading the image. The paint to use when reading the image. Creates a new image from the provided . @@ -599,6 +814,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -624,6 +840,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -651,6 +868,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -680,7 +898,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use FromPixelCopy(SKImageInfo, IntPtr, int) instead.") + + SkiaSharp.SKImage @@ -711,6 +935,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -740,6 +965,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -765,6 +991,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -792,6 +1019,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -819,6 +1047,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -848,6 +1077,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -877,7 +1107,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.") + + SkiaSharp.SKImage @@ -901,7 +1137,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType) instead.") + + SkiaSharp.SKImage @@ -917,6 +1159,32 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + The graphics context. + The description of the existing backend texture. + The color type to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported + + + @@ -928,7 +1196,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.") + + SkiaSharp.SKImage @@ -954,7 +1228,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType) instead.") + + SkiaSharp.SKImage @@ -972,6 +1252,34 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported + + + @@ -983,7 +1291,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate) instead.") + + SkiaSharp.SKImage @@ -1011,7 +1325,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate) instead.") + + SkiaSharp.SKImage @@ -1031,6 +1351,36 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + The transparency mode to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported + + + @@ -1042,7 +1392,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate, object) instead.") + + SkiaSharp.SKImage @@ -1072,7 +1428,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromTexture(GRContext, GRBackendTexture, GRSurfaceOrigin, SKColorType, SKAlphaType, SKColorSpace, SKImageTextureReleaseDelegate, object) instead.") + + SkiaSharp.SKImage @@ -1094,6 +1456,108 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + The transparency mode to use for the image. + The colorspace to use for the image. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + The transparency mode to use for the image. + The colorspace to use for the image. + The delegate to invoke when the image is about to be destroyed. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImage + + + + + + + + + + + + + The graphics context. + The description of the existing backend texture. + The origin of the texture. + The color type to use for the image. + The transparency mode to use for the image. + The colorspace to use for the image. + The delegate to invoke when the image is about to be destroyed. + The user data to use when invoking the delegate. + Creates a new image from the specified texture. + Returns the new image, or if the specified texture is unsupported + + + @@ -1105,6 +1569,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -1126,6 +1591,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1144,6 +1610,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1165,6 +1632,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1186,6 +1654,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -1208,6 +1677,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1233,6 +1703,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1262,6 +1733,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1293,6 +1765,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1326,6 +1799,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1361,6 +1835,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1388,6 +1863,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1417,6 +1893,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -1442,6 +1919,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -1464,6 +1942,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -1491,6 +1970,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -1520,6 +2000,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -1541,6 +2022,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKImageCachingHint.xml b/docs/xml/SkiaSharp/SKImageCachingHint.xml index f2950648f9..28304e9847 100644 --- a/docs/xml/SkiaSharp/SKImageCachingHint.xml +++ b/docs/xml/SkiaSharp/SKImageCachingHint.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageCachingHint @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageCachingHint diff --git a/docs/xml/SkiaSharp/SKImageFilter+CropRect.xml b/docs/xml/SkiaSharp/SKImageFilter+CropRect.xml index d862e0a4e2..1580c9a2f3 100644 --- a/docs/xml/SkiaSharp/SKImageFilter+CropRect.xml +++ b/docs/xml/SkiaSharp/SKImageFilter+CropRect.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -70,6 +73,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -78,9 +82,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -94,6 +99,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCropRectFlags @@ -115,6 +121,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect diff --git a/docs/xml/SkiaSharp/SKImageFilter.xml b/docs/xml/SkiaSharp/SKImageFilter.xml index 55e60666ea..e9b201bcf8 100644 --- a/docs/xml/SkiaSharp/SKImageFilter.xml +++ b/docs/xml/SkiaSharp/SKImageFilter.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -60,6 +62,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -99,6 +102,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -130,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -161,6 +166,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -190,6 +196,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -256,6 +263,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -287,6 +295,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -322,6 +331,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -357,6 +367,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -394,6 +405,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -433,6 +445,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -450,7 +463,7 @@ The rectangle to which the output processing will be limited. Creates an image filter that erodes the pixels of a bitmap. Returns the new , or null on error. - To be added + @@ -463,6 +476,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -487,6 +501,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -543,6 +558,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -574,6 +590,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -603,6 +620,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -634,7 +652,57 @@ - + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImageFilter + + + + + + + The image filters to merge. + The rectangle to which the output processing will be limited. + Creates an image filter that merges a set of image filters. + Returns the new , or null on error. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImageFilter + + + + + + + + The first image filter to merge. + The second image filter to merge. + The rectangle to which the output processing will be limited. + Creates an image filter that merges two image filters. + Returns the new , or null on error. + + + + + Method @@ -644,7 +712,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreateMerge(SKImageFilter[], SKImageFilter.CropRect) instead.") + + SkiaSharp.SKImageFilter @@ -673,7 +747,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreateMerge(SKImageFilter, SKImageFilter, SKImageFilter.CropRect) instead.") + + SkiaSharp.SKImageFilter @@ -704,6 +784,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -734,6 +815,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -761,6 +843,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -786,6 +869,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -842,6 +926,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -877,6 +962,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -914,6 +1000,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -955,6 +1042,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -998,6 +1086,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -1027,6 +1116,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1035,9 +1125,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp/SKImageInfo.xml b/docs/xml/SkiaSharp/SKImageInfo.xml index c794b0b3ae..763be98f53 100644 --- a/docs/xml/SkiaSharp/SKImageInfo.xml +++ b/docs/xml/SkiaSharp/SKImageInfo.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -77,6 +80,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -103,6 +107,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -132,6 +137,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -153,6 +159,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -174,6 +181,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -195,6 +203,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -216,6 +225,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -236,6 +246,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -257,6 +268,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -278,6 +290,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -298,6 +311,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -319,6 +333,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -340,6 +355,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -361,6 +377,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -381,6 +398,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -401,6 +419,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -421,6 +440,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -441,6 +461,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -461,6 +482,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -482,6 +504,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -503,6 +526,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -524,6 +548,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -545,6 +570,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -563,6 +589,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -585,6 +612,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -607,6 +635,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -621,5 +650,29 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKImageInfo + + + + + + + The width. + The height. + Creates a new with the same properties as this , but with the specified dimensions. + Returns the new . + + + diff --git a/docs/xml/SkiaSharp/SKImageRasterReleaseDelegate.xml b/docs/xml/SkiaSharp/SKImageRasterReleaseDelegate.xml index 7a80a642fe..e948864fcd 100644 --- a/docs/xml/SkiaSharp/SKImageRasterReleaseDelegate.xml +++ b/docs/xml/SkiaSharp/SKImageRasterReleaseDelegate.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Delegate diff --git a/docs/xml/SkiaSharp/SKImageTextureReleaseDelegate.xml b/docs/xml/SkiaSharp/SKImageTextureReleaseDelegate.xml index ef91b55171..2d265fc67b 100644 --- a/docs/xml/SkiaSharp/SKImageTextureReleaseDelegate.xml +++ b/docs/xml/SkiaSharp/SKImageTextureReleaseDelegate.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Delegate diff --git a/docs/xml/SkiaSharp/SKJpegEncoderAlphaOption.xml b/docs/xml/SkiaSharp/SKJpegEncoderAlphaOption.xml index b11c74a228..1b17e4bb41 100644 --- a/docs/xml/SkiaSharp/SKJpegEncoderAlphaOption.xml +++ b/docs/xml/SkiaSharp/SKJpegEncoderAlphaOption.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Enum @@ -22,6 +23,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderAlphaOption @@ -39,6 +41,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderAlphaOption diff --git a/docs/xml/SkiaSharp/SKJpegEncoderDownsample.xml b/docs/xml/SkiaSharp/SKJpegEncoderDownsample.xml index 76729b3e8c..96c6ac0487 100644 --- a/docs/xml/SkiaSharp/SKJpegEncoderDownsample.xml +++ b/docs/xml/SkiaSharp/SKJpegEncoderDownsample.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Enum @@ -22,6 +23,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderDownsample @@ -39,6 +41,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderDownsample @@ -56,6 +59,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderDownsample diff --git a/docs/xml/SkiaSharp/SKJpegEncoderOptions.xml b/docs/xml/SkiaSharp/SKJpegEncoderOptions.xml index d10d63fce4..f64f10a1a9 100644 --- a/docs/xml/SkiaSharp/SKJpegEncoderOptions.xml +++ b/docs/xml/SkiaSharp/SKJpegEncoderOptions.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.ValueType @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -45,6 +47,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -69,6 +72,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderAlphaOption @@ -87,6 +91,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTransferFunctionBehavior @@ -105,6 +110,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderOptions @@ -122,6 +128,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKJpegEncoderDownsample @@ -140,6 +147,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKLattice.xml b/docs/xml/SkiaSharp/SKLattice.xml index d32b1d15da..3890d3aa37 100644 --- a/docs/xml/SkiaSharp/SKLattice.xml +++ b/docs/xml/SkiaSharp/SKLattice.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,13 +30,32 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Nullable<SkiaSharp.SKRectI> Gets or sets the optional source image bounds. - Gets any specified bounds. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColor[] + + + Gets or sets the array of fill types, one per rectangular grid entry. + @@ -56,7 +76,25 @@ Gets or sets the drawing options for each of the lattice rectangles. - Gets the drawing options for each of the rectangles. + + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKLatticeRectType[] + + + Gets or sets the color for each of the lattice rectangles. + @@ -71,6 +109,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32[] @@ -92,6 +131,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32[] diff --git a/docs/xml/SkiaSharp/SKLatticeRectType.xml b/docs/xml/SkiaSharp/SKLatticeRectType.xml new file mode 100644 index 0000000000..75a48e6e77 --- /dev/null +++ b/docs/xml/SkiaSharp/SKLatticeRectType.xml @@ -0,0 +1,69 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + System.Enum + + + Optional setting per rectangular grid entry to make it transparent, or to fill the grid entry with a color. + + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKLatticeRectType + + 0 + + Draw the bitmap into the lattice rectangle. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKLatticeRectType + + 2 + + Draw the associated entry into the lattice rectangle. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKLatticeRectType + + 1 + + Skip the lattice rectangle (make it transparent). + + + + diff --git a/docs/xml/SkiaSharp/SKManagedPixelSerializer.xml b/docs/xml/SkiaSharp/SKManagedPixelSerializer.xml index 47461a9c45..21d73d24cc 100644 --- a/docs/xml/SkiaSharp/SKManagedPixelSerializer.xml +++ b/docs/xml/SkiaSharp/SKManagedPixelSerializer.xml @@ -1,15 +1,21 @@ - + SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelSerializer + + + System.Obsolete + + Represents a mechanism for serializing pixels. @@ -23,6 +29,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 diff --git a/docs/xml/SkiaSharp/SKManagedStream.xml b/docs/xml/SkiaSharp/SKManagedStream.xml index 7383806eb2..c8c3e98c0a 100644 --- a/docs/xml/SkiaSharp/SKManagedStream.xml +++ b/docs/xml/SkiaSharp/SKManagedStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAbstractManagedStream @@ -63,6 +64,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -84,6 +86,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -107,6 +110,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -115,9 +119,10 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -128,6 +133,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -147,6 +153,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -166,6 +173,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -185,6 +193,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -204,6 +213,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -223,6 +233,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -242,6 +253,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -264,6 +276,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -288,6 +301,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -312,6 +326,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -331,6 +346,7 @@ public static void BitmapShader (SKCanvas canvas, int width, int height) SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKManagedWStream.xml b/docs/xml/SkiaSharp/SKManagedWStream.xml index 64f002170a..4a3526c7e5 100644 --- a/docs/xml/SkiaSharp/SKManagedWStream.xml +++ b/docs/xml/SkiaSharp/SKManagedWStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWStream @@ -30,6 +31,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -51,6 +53,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -74,6 +77,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -82,9 +86,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -95,6 +100,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -114,6 +120,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -132,6 +139,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKMask.xml b/docs/xml/SkiaSharp/SKMask.xml index 4aeaa84ff9..8fcd9d07dc 100644 --- a/docs/xml/SkiaSharp/SKMask.xml +++ b/docs/xml/SkiaSharp/SKMask.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -81,6 +84,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -103,6 +107,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -118,7 +123,7 @@ - + Property @@ -128,6 +133,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -149,6 +155,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -181,6 +188,7 @@ If there is an overflow of 32bits, then returns 0. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -203,6 +211,7 @@ If there is an overflow of 32bits, then returns 0. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMask @@ -224,7 +233,7 @@ If there is an overflow of 32bits, then returns 0. - + Property @@ -234,6 +243,7 @@ If there is an overflow of 32bits, then returns 0. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFormat @@ -255,6 +265,7 @@ If there is an overflow of 32bits, then returns 0. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -276,6 +287,7 @@ If there is an overflow of 32bits, then returns 0. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -300,6 +312,7 @@ If there is an overflow of 32bits, then returns 0. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -338,6 +351,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -365,6 +379,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt16 @@ -392,6 +407,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -419,6 +435,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -436,7 +453,7 @@ give unspecified results. - + Property @@ -446,6 +463,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -467,6 +485,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -478,7 +497,7 @@ give unspecified results. - + Property @@ -488,6 +507,7 @@ give unspecified results. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 diff --git a/docs/xml/SkiaSharp/SKMaskFilter.xml b/docs/xml/SkiaSharp/SKMaskFilter.xml index ea06936340..b2c7ac540a 100644 --- a/docs/xml/SkiaSharp/SKMaskFilter.xml +++ b/docs/xml/SkiaSharp/SKMaskFilter.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFilter @@ -106,7 +110,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreateBlur(SKBlurStyle, float) instead.") + + SkiaSharp.SKMaskFilter @@ -135,6 +145,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFilter @@ -164,7 +175,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreateBlur(SKBlurStyle, float, SKRect) instead.") + + SkiaSharp.SKMaskFilter @@ -184,6 +201,34 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKMaskFilter + + + + + + + + + The style of blurring. + The standard deviation (greater than 0) of the Gaussian blur to apply. + The rectangle for which no pixels need be drawn (because it will be overdrawn with some opaque object). + Whether or not the blur's sigma is modified by the CTM. + Creates a mask filter that applies a blur. + Returns the new , or null on error. + + + @@ -195,6 +240,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFilter @@ -222,6 +268,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFilter @@ -247,6 +294,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFilter @@ -272,6 +320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -280,9 +329,28 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. + + + + + + + Field + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + 256 + + Gets the maximum number of colors in the color lookup table. + diff --git a/docs/xml/SkiaSharp/SKMaskFormat.xml b/docs/xml/SkiaSharp/SKMaskFormat.xml index d92da88856..fb2079bc00 100644 --- a/docs/xml/SkiaSharp/SKMaskFormat.xml +++ b/docs/xml/SkiaSharp/SKMaskFormat.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFormat @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFormat @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFormat @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFormat @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFormat diff --git a/docs/xml/SkiaSharp/SKMatrix.xml b/docs/xml/SkiaSharp/SKMatrix.xml index edb22805ea..53b995b32d 100644 --- a/docs/xml/SkiaSharp/SKMatrix.xml +++ b/docs/xml/SkiaSharp/SKMatrix.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -57,6 +59,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -85,6 +88,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -109,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -131,6 +136,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -156,6 +162,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -185,6 +192,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -210,6 +218,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -239,6 +248,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -266,6 +276,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -297,6 +308,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -324,6 +336,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -351,6 +364,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -376,6 +390,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -403,6 +418,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] @@ -428,6 +444,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -454,6 +471,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -479,6 +497,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -504,6 +523,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -532,6 +552,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -559,6 +580,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] @@ -584,6 +606,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -641,6 +664,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -662,6 +686,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -683,6 +708,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -704,6 +730,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -730,6 +757,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -756,6 +784,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -782,6 +811,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -808,6 +838,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -834,6 +865,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -864,6 +896,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -890,6 +923,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -920,6 +954,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -941,6 +976,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -962,6 +998,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -992,6 +1029,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1013,6 +1051,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1034,6 +1073,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1055,6 +1095,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1076,6 +1117,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1101,6 +1143,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single[] diff --git a/docs/xml/SkiaSharp/SKMatrix44.xml b/docs/xml/SkiaSharp/SKMatrix44.xml index 7ea24709c6..88823675c8 100644 --- a/docs/xml/SkiaSharp/SKMatrix44.xml +++ b/docs/xml/SkiaSharp/SKMatrix44.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -89,6 +93,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -112,6 +117,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -134,6 +140,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -165,6 +172,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -196,6 +204,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -225,6 +234,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -254,6 +264,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Double @@ -276,6 +287,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -284,9 +296,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -300,6 +313,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -327,6 +341,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -352,6 +367,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -377,6 +393,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44 @@ -399,6 +416,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -424,6 +442,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -451,6 +470,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -476,6 +496,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] @@ -501,6 +522,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single[] @@ -526,6 +548,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -552,6 +575,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single[] @@ -583,6 +607,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single[] @@ -611,6 +636,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -637,6 +663,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix @@ -658,6 +685,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -682,6 +710,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -710,6 +739,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -738,6 +768,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -762,6 +793,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -790,6 +822,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -815,6 +848,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -843,6 +877,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -867,6 +902,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -893,6 +929,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -914,6 +951,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -944,6 +982,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -974,6 +1013,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1004,6 +1044,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1028,6 +1069,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1056,6 +1098,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1084,6 +1127,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single[] @@ -1106,6 +1150,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1130,6 +1175,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single[] @@ -1152,6 +1198,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1176,6 +1223,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1197,6 +1245,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44TypeMask diff --git a/docs/xml/SkiaSharp/SKMatrix44TypeMask.xml b/docs/xml/SkiaSharp/SKMatrix44TypeMask.xml index 30d4bf4707..0a0d9f9dd1 100644 --- a/docs/xml/SkiaSharp/SKMatrix44TypeMask.xml +++ b/docs/xml/SkiaSharp/SKMatrix44TypeMask.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44TypeMask @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44TypeMask @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44TypeMask @@ -93,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44TypeMask @@ -113,6 +118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrix44TypeMask diff --git a/docs/xml/SkiaSharp/SKMatrixConvolutionTileMode.xml b/docs/xml/SkiaSharp/SKMatrixConvolutionTileMode.xml index 1efa3c4fa4..70882cf8c4 100644 --- a/docs/xml/SkiaSharp/SKMatrixConvolutionTileMode.xml +++ b/docs/xml/SkiaSharp/SKMatrixConvolutionTileMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrixConvolutionTileMode @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrixConvolutionTileMode @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMatrixConvolutionTileMode diff --git a/docs/xml/SkiaSharp/SKMemoryStream.xml b/docs/xml/SkiaSharp/SKMemoryStream.xml index 0fdb3a9de3..8477ffab66 100644 --- a/docs/xml/SkiaSharp/SKMemoryStream.xml +++ b/docs/xml/SkiaSharp/SKMemoryStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamMemory @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -89,6 +93,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -110,6 +115,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -118,9 +124,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -134,6 +141,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKNWayCanvas.xml b/docs/xml/SkiaSharp/SKNWayCanvas.xml index 553203fa3e..37c2c6b8d2 100644 --- a/docs/xml/SkiaSharp/SKNWayCanvas.xml +++ b/docs/xml/SkiaSharp/SKNWayCanvas.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKNoDrawCanvas @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -64,6 +67,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -82,6 +86,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKNativeObject.xml b/docs/xml/SkiaSharp/SKNativeObject.xml index 8b6d6983fb..5b2836e68e 100644 --- a/docs/xml/SkiaSharp/SKNativeObject.xml +++ b/docs/xml/SkiaSharp/SKNativeObject.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -36,14 +37,15 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void - To be added. - To be added. + Releases all resources used by this . + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -57,6 +59,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -65,9 +68,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -81,14 +85,15 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void - To be added. - To be added. + Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. + @@ -102,6 +107,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr diff --git a/docs/xml/SkiaSharp/SKNoDrawCanvas.xml b/docs/xml/SkiaSharp/SKNoDrawCanvas.xml index 939a5a0327..2a8fcf4d44 100644 --- a/docs/xml/SkiaSharp/SKNoDrawCanvas.xml +++ b/docs/xml/SkiaSharp/SKNoDrawCanvas.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 diff --git a/docs/xml/SkiaSharp/SKObject.xml b/docs/xml/SkiaSharp/SKObject.xml index e1b0121a55..9dc83d3978 100644 --- a/docs/xml/SkiaSharp/SKObject.xml +++ b/docs/xml/SkiaSharp/SKObject.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKNativeObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -37,9 +39,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -53,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -74,6 +78,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKOverdrawCanvas.xml b/docs/xml/SkiaSharp/SKOverdrawCanvas.xml new file mode 100644 index 0000000000..08d83aba0f --- /dev/null +++ b/docs/xml/SkiaSharp/SKOverdrawCanvas.xml @@ -0,0 +1,37 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKNWayCanvas + + + + A canvas that captures all drawing commands, and rather than draw the actual content, it increments the alpha channel of each pixel every time it would have been touched by a draw call. + This is useful for detecting overdraw. + + + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + The canvas to draw on. + Creates a new that wraps the specified . + + + + + diff --git a/docs/xml/SkiaSharp/SKPMColor.xml b/docs/xml/SkiaSharp/SKPMColor.xml index b124794e3e..fc15b0aab6 100644 --- a/docs/xml/SkiaSharp/SKPMColor.xml +++ b/docs/xml/SkiaSharp/SKPMColor.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -92,6 +96,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -117,6 +122,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -139,6 +145,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -160,6 +167,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -187,6 +195,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPMColor @@ -212,6 +221,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -237,6 +247,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -262,6 +273,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPMColor @@ -287,6 +299,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -314,6 +327,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPMColor @@ -339,6 +353,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPMColor[] @@ -364,6 +379,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -385,6 +401,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -407,6 +424,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -432,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor[] diff --git a/docs/xml/SkiaSharp/SKPaint.xml b/docs/xml/SkiaSharp/SKPaint.xml index 275c690962..fb934287bb 100644 --- a/docs/xml/SkiaSharp/SKPaint.xml +++ b/docs/xml/SkiaSharp/SKPaint.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -151,6 +152,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -169,6 +171,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKBlendMode @@ -187,6 +190,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int64 @@ -214,6 +218,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -241,6 +246,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -267,6 +273,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int64 @@ -296,6 +303,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -325,6 +333,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int64 @@ -353,6 +362,7 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int64 @@ -384,6 +394,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaint @@ -406,6 +417,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColor @@ -427,6 +439,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorFilter @@ -448,6 +461,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -469,6 +483,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -477,9 +492,10 @@ The example above produces the following: - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -493,6 +509,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -514,6 +531,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFilterQuality @@ -535,6 +553,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontMetrics @@ -556,6 +575,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -577,6 +597,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -606,6 +627,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -637,6 +659,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -664,6 +687,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -691,6 +715,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -718,6 +743,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -747,6 +773,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -776,6 +803,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -805,6 +833,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -836,6 +865,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintHinting @@ -857,6 +887,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageFilter @@ -878,6 +909,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -899,6 +931,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -920,6 +953,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -941,6 +975,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -962,6 +997,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -983,6 +1019,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1004,6 +1041,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1034,6 +1072,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1056,6 +1095,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKMaskFilter @@ -1077,6 +1117,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1102,6 +1143,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1127,6 +1169,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1154,6 +1197,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1181,6 +1225,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1208,6 +1253,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1240,6 +1286,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -1261,6 +1308,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -1300,6 +1348,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeCap @@ -1321,6 +1370,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeJoin @@ -1342,6 +1392,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1363,6 +1414,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1384,6 +1436,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintStyle @@ -1405,6 +1458,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1426,6 +1480,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextAlign @@ -1447,6 +1502,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextEncoding @@ -1468,6 +1524,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1489,6 +1546,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1510,6 +1568,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -1531,6 +1590,7 @@ its glyphs vertically rather than horizontally. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface diff --git a/docs/xml/SkiaSharp/SKPaintHinting.xml b/docs/xml/SkiaSharp/SKPaintHinting.xml index 6dd1ce5df5..f33b023a00 100644 --- a/docs/xml/SkiaSharp/SKPaintHinting.xml +++ b/docs/xml/SkiaSharp/SKPaintHinting.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintHinting @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintHinting @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintHinting @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintHinting diff --git a/docs/xml/SkiaSharp/SKPaintStyle.xml b/docs/xml/SkiaSharp/SKPaintStyle.xml index 69793712fe..50e557dca7 100644 --- a/docs/xml/SkiaSharp/SKPaintStyle.xml +++ b/docs/xml/SkiaSharp/SKPaintStyle.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintStyle @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintStyle @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPaintStyle diff --git a/docs/xml/SkiaSharp/SKPath+Iterator.xml b/docs/xml/SkiaSharp/SKPath+Iterator.xml index 83338f0c0e..1c2bd94463 100644 --- a/docs/xml/SkiaSharp/SKPath+Iterator.xml +++ b/docs/xml/SkiaSharp/SKPath+Iterator.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKNativeObject @@ -36,6 +37,7 @@ Iterators are created by calling the 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -65,6 +67,7 @@ Only valid if the current segment return by 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -73,9 +76,10 @@ Only valid if the current segment return by - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -89,6 +93,7 @@ Only valid if the current segment return by 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -111,6 +116,7 @@ Only valid if the current segment return by 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -133,6 +139,7 @@ Only valid if the current segment return by 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb diff --git a/docs/xml/SkiaSharp/SKPath+OpBuilder.xml b/docs/xml/SkiaSharp/SKPath+OpBuilder.xml index 718d5c69c6..aed99a224b 100644 --- a/docs/xml/SkiaSharp/SKPath+OpBuilder.xml +++ b/docs/xml/SkiaSharp/SKPath+OpBuilder.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKNativeObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -81,9 +85,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -97,6 +102,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKPath+RawIterator.xml b/docs/xml/SkiaSharp/SKPath+RawIterator.xml index e8ac017dcb..3de0cc2c3e 100644 --- a/docs/xml/SkiaSharp/SKPath+RawIterator.xml +++ b/docs/xml/SkiaSharp/SKPath+RawIterator.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKNativeObject @@ -37,6 +38,7 @@ method. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -59,6 +61,7 @@ method. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -67,9 +70,10 @@ method. - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -83,6 +87,7 @@ method. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -108,6 +113,7 @@ method. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb diff --git a/docs/xml/SkiaSharp/SKPath.xml b/docs/xml/SkiaSharp/SKPath.xml index efd232a201..fa171c9a60 100644 --- a/docs/xml/SkiaSharp/SKPath.xml +++ b/docs/xml/SkiaSharp/SKPath.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -96,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -126,6 +131,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -182,6 +188,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -240,6 +247,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -302,6 +310,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -332,6 +341,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -356,6 +366,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -382,6 +393,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -408,6 +420,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -436,9 +449,10 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 - + System.Obsolete("Use AddRoundRect instead.") @@ -468,6 +482,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -491,6 +506,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -516,6 +532,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -546,6 +563,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -574,6 +592,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -613,6 +632,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -645,6 +665,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -677,6 +698,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -713,6 +735,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -734,6 +757,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -754,6 +778,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -780,6 +805,7 @@ contour to the start of the arc. However, if the path is empty, then we call 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -815,6 +841,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -854,6 +881,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -881,6 +909,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] @@ -914,6 +943,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -949,6 +979,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -984,6 +1015,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathConvexity @@ -1005,6 +1037,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath+Iterator @@ -1038,6 +1071,7 @@ do not desire to get verbs that have been cleaned up, use the 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath+RawIterator @@ -1068,6 +1102,7 @@ elements contained in the path. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1103,6 +1138,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1144,6 +1180,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1152,9 +1189,10 @@ the first point is automatically set to (0, 0). - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -1168,6 +1206,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathFillType @@ -1189,6 +1228,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1214,6 +1254,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -1239,6 +1280,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] @@ -1264,6 +1306,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -1291,6 +1334,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1316,6 +1360,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1337,6 +1382,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1358,6 +1404,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1379,6 +1426,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -1404,6 +1452,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -1425,6 +1474,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1456,6 +1506,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1489,6 +1540,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1513,6 +1565,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1539,6 +1592,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1563,6 +1617,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1589,6 +1644,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -1616,6 +1672,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -1645,6 +1702,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -1670,6 +1728,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -1691,6 +1750,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint[] @@ -1720,6 +1780,7 @@ return a subset of the points in the path, use 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1756,6 +1817,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1796,6 +1858,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1828,6 +1891,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1864,6 +1928,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1899,6 +1964,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1938,6 +2004,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1973,6 +2040,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2014,6 +2082,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2035,6 +2104,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2056,6 +2126,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2087,6 +2158,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2120,6 +2192,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2144,6 +2217,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2170,6 +2244,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2203,6 +2278,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2240,6 +2316,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathSegmentMask @@ -2261,6 +2338,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath @@ -2283,6 +2361,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -2308,6 +2387,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -2329,6 +2409,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -2351,6 +2432,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -2375,6 +2457,7 @@ the first point is automatically set to (0, 0). 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKPath1DPathEffectStyle.xml b/docs/xml/SkiaSharp/SKPath1DPathEffectStyle.xml index 9e29744d9e..97dfb265f7 100644 --- a/docs/xml/SkiaSharp/SKPath1DPathEffectStyle.xml +++ b/docs/xml/SkiaSharp/SKPath1DPathEffectStyle.xml @@ -8,15 +8,11 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - - - System.Obsolete("Use SKPath1DPathEffectStyle instead.", true) - - How to transform path at each point (based on the current position and tangent). @@ -33,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath1DPathEffectStyle @@ -53,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath1DPathEffectStyle @@ -73,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPath1DPathEffectStyle diff --git a/docs/xml/SkiaSharp/SKPathAddMode.xml b/docs/xml/SkiaSharp/SKPathAddMode.xml index 44b6f8962f..5e3d35d671 100644 --- a/docs/xml/SkiaSharp/SKPathAddMode.xml +++ b/docs/xml/SkiaSharp/SKPathAddMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathAddMode @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathAddMode diff --git a/docs/xml/SkiaSharp/SKPathArcSize.xml b/docs/xml/SkiaSharp/SKPathArcSize.xml index 127c56f9e7..903e8c2868 100644 --- a/docs/xml/SkiaSharp/SKPathArcSize.xml +++ b/docs/xml/SkiaSharp/SKPathArcSize.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathArcSize @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathArcSize diff --git a/docs/xml/SkiaSharp/SKPathConvexity.xml b/docs/xml/SkiaSharp/SKPathConvexity.xml index 1f654cbf7c..3b2e8cee5d 100644 --- a/docs/xml/SkiaSharp/SKPathConvexity.xml +++ b/docs/xml/SkiaSharp/SKPathConvexity.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathConvexity @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathConvexity @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathConvexity diff --git a/docs/xml/SkiaSharp/SKPathDirection.xml b/docs/xml/SkiaSharp/SKPathDirection.xml index 55d3a468c3..145425a12a 100644 --- a/docs/xml/SkiaSharp/SKPathDirection.xml +++ b/docs/xml/SkiaSharp/SKPathDirection.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathDirection @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathDirection diff --git a/docs/xml/SkiaSharp/SKPathEffect.xml b/docs/xml/SkiaSharp/SKPathEffect.xml index ae91b09736..4edec390ac 100644 --- a/docs/xml/SkiaSharp/SKPathEffect.xml +++ b/docs/xml/SkiaSharp/SKPathEffect.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -64,6 +65,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -95,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -122,6 +125,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -173,6 +177,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -200,6 +205,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -225,6 +231,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -255,6 +262,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -284,6 +292,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathEffect @@ -311,6 +320,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -319,9 +329,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp/SKPathFillType.xml b/docs/xml/SkiaSharp/SKPathFillType.xml index f81d9368ac..453bd5df60 100644 --- a/docs/xml/SkiaSharp/SKPathFillType.xml +++ b/docs/xml/SkiaSharp/SKPathFillType.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathFillType @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathFillType @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathFillType @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathFillType diff --git a/docs/xml/SkiaSharp/SKPathMeasure.xml b/docs/xml/SkiaSharp/SKPathMeasure.xml index 91ef39b84a..e92a298eac 100644 --- a/docs/xml/SkiaSharp/SKPathMeasure.xml +++ b/docs/xml/SkiaSharp/SKPathMeasure.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -72,6 +75,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -80,9 +84,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -129,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -158,6 +164,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -185,6 +192,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -214,6 +222,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -245,6 +254,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -272,6 +282,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -293,6 +304,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -314,6 +326,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -336,6 +349,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKPathMeasureMatrixFlags.xml b/docs/xml/SkiaSharp/SKPathMeasureMatrixFlags.xml index 68d337f6ba..b25a105180 100644 --- a/docs/xml/SkiaSharp/SKPathMeasureMatrixFlags.xml +++ b/docs/xml/SkiaSharp/SKPathMeasureMatrixFlags.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathMeasureMatrixFlags @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathMeasureMatrixFlags @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathMeasureMatrixFlags diff --git a/docs/xml/SkiaSharp/SKPathOp.xml b/docs/xml/SkiaSharp/SKPathOp.xml index a224122181..e7a97c1080 100644 --- a/docs/xml/SkiaSharp/SKPathOp.xml +++ b/docs/xml/SkiaSharp/SKPathOp.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathOp @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathOp @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathOp @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathOp @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathOp diff --git a/docs/xml/SkiaSharp/SKPathSegmentMask.xml b/docs/xml/SkiaSharp/SKPathSegmentMask.xml index c94a80499f..f0979a5c99 100644 --- a/docs/xml/SkiaSharp/SKPathSegmentMask.xml +++ b/docs/xml/SkiaSharp/SKPathSegmentMask.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -33,6 +34,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathSegmentMask @@ -53,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathSegmentMask @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathSegmentMask @@ -93,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathSegmentMask diff --git a/docs/xml/SkiaSharp/SKPathVerb.xml b/docs/xml/SkiaSharp/SKPathVerb.xml index e3add5e43a..feedd7dd04 100644 --- a/docs/xml/SkiaSharp/SKPathVerb.xml +++ b/docs/xml/SkiaSharp/SKPathVerb.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -128,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb @@ -148,6 +155,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPathVerb diff --git a/docs/xml/SkiaSharp/SKPicture.xml b/docs/xml/SkiaSharp/SKPicture.xml index d25e9d6e65..ed217a7acd 100644 --- a/docs/xml/SkiaSharp/SKPicture.xml +++ b/docs/xml/SkiaSharp/SKPicture.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -54,6 +55,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -75,6 +77,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -83,9 +86,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -99,6 +103,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 diff --git a/docs/xml/SkiaSharp/SKPictureRecorder.xml b/docs/xml/SkiaSharp/SKPictureRecorder.xml index 027862d403..3c78a09599 100644 --- a/docs/xml/SkiaSharp/SKPictureRecorder.xml +++ b/docs/xml/SkiaSharp/SKPictureRecorder.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas @@ -72,6 +75,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -80,9 +84,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -96,6 +101,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPicture @@ -126,6 +132,7 @@ This invalidates the canvas returned by 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas diff --git a/docs/xml/SkiaSharp/SKPixelGeometry.xml b/docs/xml/SkiaSharp/SKPixelGeometry.xml index 78981e3674..7c16914215 100644 --- a/docs/xml/SkiaSharp/SKPixelGeometry.xml +++ b/docs/xml/SkiaSharp/SKPixelGeometry.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelGeometry @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelGeometry @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelGeometry @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelGeometry @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelGeometry diff --git a/docs/xml/SkiaSharp/SKPixelSerializer.xml b/docs/xml/SkiaSharp/SKPixelSerializer.xml index b55626278e..e0048153a7 100644 --- a/docs/xml/SkiaSharp/SKPixelSerializer.xml +++ b/docs/xml/SkiaSharp/SKPixelSerializer.xml @@ -1,20 +1,42 @@ - - + + SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject + System.Object - + + + + System.Obsolete + + Represents a mechanism for serializing pixels. + + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + Creates a new instance of with an empty buffer. + + + @@ -23,6 +45,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelSerializer @@ -45,6 +68,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelSerializer @@ -69,6 +93,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -77,9 +102,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -90,6 +116,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -104,6 +131,60 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKData + + + + + + The pixel data to encode. + Implemented by derived types to encode the specified pixel data. + Returns the encoded pixel data, or if the raw pixels should be used. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The encoded data buffer. + The length of the encoded data buffer. + Implemented by derived types to determine whether the caller should use the specified encoded data instead of encoding a new version. + Returns if the specified encoded data should be used, otherwise to serialize another version. + + should not be called to encode +the source data. +]]> + + + @@ -112,6 +193,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKPixmap.xml b/docs/xml/SkiaSharp/SKPixmap.xml index 956b81f034..ab05b03c71 100644 --- a/docs/xml/SkiaSharp/SKPixmap.xml +++ b/docs/xml/SkiaSharp/SKPixmap.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -60,7 +63,29 @@ - + + + + Constructor + + SkiaSharp + 1.68.0.0 + + + + + + + + The image information of the pixels. + The memory address of the pixels. + The number of bytes per row. + Creates an instance of . + + + + + Constructor @@ -70,7 +95,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use SKPixmap(SKImageInfo, IntPtr, int) instead.") + + @@ -97,6 +128,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKAlphaType @@ -118,6 +150,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -128,6 +161,24 @@ + + + + + Property + + SkiaSharp + 1.68.0.0 + + + System.Int32 + + + Gets the total number of bytes needed to store the pixel data. + + + + @@ -138,6 +189,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorSpace @@ -159,7 +211,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported.") + + SkiaSharp.SKColorTable @@ -180,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKColorType @@ -201,6 +260,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -209,9 +269,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -222,6 +283,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -244,6 +306,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -266,6 +329,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -291,6 +355,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKData @@ -315,6 +380,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -339,6 +405,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -363,6 +430,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -390,6 +458,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -416,6 +485,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -442,6 +512,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -468,6 +539,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -494,6 +566,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -525,6 +598,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -545,6 +619,122 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The color to fill. + Fill the entire pixmap with the specified color. + Returns if the pixels were changed, otherwise . + If the pixmap's color type does not support alpha (e.g. 565) then the alpha of the color is ignored (treated as opaque). If the color type only supports alpha (e.g. A1 or A8) then the color's R, G, B components are ignored. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The color to fill. + The subset of the pixmap to fill. + Fill the entire pixmap with the specified color. + Returns if the pixels were changed, otherwise . + If the pixmap's color type does not support alpha (e.g. 565) then the alpha of the color is ignored (treated as opaque). If the color type only supports alpha (e.g. A1 or A8) then the color's R, G, B components are ignored. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKPixmap + + + + + + The bounds of the pixmap subset to retrieve. + Creates a new which is a subset of this pixmap. + Returns a subset of the pixmap. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The pixmap to store the subset pixels. + The bounds of the pixmap subset to retrieve. + Creates a new which is a subset of this pixmap. + Returns if the pixels were read, or if there was an error. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColor + + + + + + + The column index, zero or greater, and less than the pixmap width. + The row index, zero or greater, and less than the pixmap height. + Returns the color of the pixel at the specified coordinates. + Returns the color of the pixel. + + + @@ -556,6 +746,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -567,6 +758,30 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.IntPtr + + + + + + + The column index, zero or greater, and less than the pixmap width. + The row index, zero or greater, and less than the pixmap height. + Returns the memory address of the pixels at (x, y). + + + + @@ -578,6 +793,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -599,6 +815,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImageInfo @@ -618,6 +835,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -641,6 +859,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -668,6 +887,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -695,6 +915,37 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Boolean + + + + + + + + + + The image information describing the destination pixel buffer. + The pixel buffer to read the pixel data into. + The number of bytes in each row of in the destination buffer. + The source x-coordinate to start reading from. + The source y-coordinate to start reading from. + Copies the pixels from the image into the specified buffer. + Returns if the pixels were read, or if there was an error. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 System.Boolean @@ -705,6 +956,7 @@ + The image information describing the destination pixel buffer. @@ -712,11 +964,30 @@ The number of bytes in each row of in the destination buffer. The source x-coordinate to start reading from. The source y-coordinate to start reading from. + The behavior to control whether or not the source pixels are first converted to linear space. Copies the pixels from the image into the specified buffer. Returns if the pixels were read, or if there was an error. + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKRectI + + + Gets a rectangle with the current width and height. + + + + @@ -728,6 +999,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -739,7 +1011,32 @@ - + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Void + + + + + + + + The image information of the pixels. + The memory address of the pixels. + The number of bytes per row. + Resets the pixmap to the specified pixels. + + + + + Method @@ -749,7 +1046,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("The Index8 color type and color table is no longer supported. Use Reset(SKImageInfo, IntPtr, int) instead.") + + System.Void @@ -779,7 +1082,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use ScalePixels(SKPixmap, SKFilterQuality) instead.") + + System.Boolean @@ -808,6 +1117,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -818,6 +1128,74 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + + The pixmap to recieve the scaled and converted pixels. + The level of quality to use when scaling the pixels. + Copies this pixmap to the destination, scaling the pixels to fit the destination size and converting the pixels to match the color type and alpha type. + Returns on success, or if there was an error. + + , or +, the destination color type must match. +If the color type is , destination +colorspace must also match. + +If the alpha type is , the destination +alpha type must match. + +If the colorspace is `null`, the destination colorspace must also be `null`. + +Filter Quality: + + - is fastest, typically implemented + with nearest neighbor filter. + - is typically implemented with bilerp + filter. + - is typically implemented with + bilerp filter, and mipmap when size is reduced. + - is slowest, typically implemented + with the bicubic filter.]]> + + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSizeI + + + Gets the current size of the pixmap. + + + + @@ -829,6 +1207,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -847,6 +1226,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -869,6 +1249,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -891,6 +1272,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap diff --git a/docs/xml/SkiaSharp/SKPngEncoderFilterFlags.xml b/docs/xml/SkiaSharp/SKPngEncoderFilterFlags.xml index 94f78feea8..09346b688a 100644 --- a/docs/xml/SkiaSharp/SKPngEncoderFilterFlags.xml +++ b/docs/xml/SkiaSharp/SKPngEncoderFilterFlags.xml @@ -5,12 +5,13 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -27,6 +28,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -44,6 +46,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -61,6 +64,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -78,6 +82,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -95,6 +100,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -112,6 +118,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -129,6 +136,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags diff --git a/docs/xml/SkiaSharp/SKPngEncoderOptions.xml b/docs/xml/SkiaSharp/SKPngEncoderOptions.xml index 43bbc76f2b..fc3f958781 100644 --- a/docs/xml/SkiaSharp/SKPngEncoderOptions.xml +++ b/docs/xml/SkiaSharp/SKPngEncoderOptions.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.ValueType @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -65,6 +68,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderOptions @@ -82,6 +86,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPngEncoderFilterFlags @@ -104,6 +109,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTransferFunctionBehavior @@ -122,6 +128,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKPoint.xml b/docs/xml/SkiaSharp/SKPoint.xml index e87550933a..5ae7b73ca7 100644 --- a/docs/xml/SkiaSharp/SKPoint.xml +++ b/docs/xml/SkiaSharp/SKPoint.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -52,6 +54,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -106,6 +110,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -133,6 +138,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -160,6 +166,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -180,6 +187,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -205,6 +213,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -227,6 +236,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -248,6 +258,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -272,6 +283,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -298,6 +310,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -325,6 +338,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -352,6 +366,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -379,6 +394,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -406,6 +422,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -433,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -460,6 +478,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -487,6 +506,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -514,6 +534,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -541,6 +562,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -568,6 +590,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -595,6 +618,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -622,6 +646,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -649,6 +674,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -676,6 +702,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -698,6 +725,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -719,6 +747,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKPoint3.xml b/docs/xml/SkiaSharp/SKPoint3.xml index 7e7c66e9b7..9cf7fe7834 100644 --- a/docs/xml/SkiaSharp/SKPoint3.xml +++ b/docs/xml/SkiaSharp/SKPoint3.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint3 @@ -81,6 +84,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint3 @@ -101,6 +105,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -126,6 +131,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -148,6 +154,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -169,6 +176,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint3 @@ -196,6 +204,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -223,6 +232,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -250,6 +260,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint3 @@ -277,6 +288,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint3 @@ -304,6 +316,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -326,6 +339,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -347,6 +361,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -368,6 +383,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKPointI.xml b/docs/xml/SkiaSharp/SKPointI.xml index 16c9966906..31c8ebed29 100644 --- a/docs/xml/SkiaSharp/SKPointI.xml +++ b/docs/xml/SkiaSharp/SKPointI.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -100,6 +104,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -127,6 +132,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -152,6 +158,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -172,6 +179,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -197,6 +205,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -219,6 +228,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -240,6 +250,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -264,6 +275,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -290,6 +302,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -317,6 +330,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -344,6 +358,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -371,6 +386,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -396,6 +412,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -421,6 +438,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -448,6 +466,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -475,6 +494,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -502,6 +522,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -527,6 +548,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -554,6 +576,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -581,6 +604,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -603,6 +627,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -628,6 +653,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -649,6 +675,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKPointMode.xml b/docs/xml/SkiaSharp/SKPointMode.xml index 118a13a7fa..1c3ba0cfc8 100644 --- a/docs/xml/SkiaSharp/SKPointMode.xml +++ b/docs/xml/SkiaSharp/SKPointMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointMode @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointMode @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointMode diff --git a/docs/xml/SkiaSharp/SKRect.xml b/docs/xml/SkiaSharp/SKRect.xml index fd5930e2a1..90dd8c25d2 100644 --- a/docs/xml/SkiaSharp/SKRect.xml +++ b/docs/xml/SkiaSharp/SKRect.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -56,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -81,6 +84,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -106,6 +110,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -127,6 +132,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -152,6 +158,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -177,6 +184,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -204,6 +212,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -229,6 +238,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -256,6 +266,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -283,6 +294,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -314,6 +326,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -334,6 +347,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -359,6 +373,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -381,6 +396,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -402,6 +418,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -426,6 +443,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -452,6 +470,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -481,6 +500,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -505,6 +525,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -532,6 +553,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -557,6 +579,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -582,6 +605,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -603,6 +627,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -624,6 +649,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -645,6 +671,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -666,6 +693,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -687,6 +715,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -711,6 +740,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -737,6 +767,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -764,6 +795,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -789,6 +821,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -816,6 +849,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -837,6 +871,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -858,6 +893,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -879,6 +915,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -900,6 +937,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -922,6 +960,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -946,6 +985,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -973,6 +1013,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKRectI.xml b/docs/xml/SkiaSharp/SKRectI.xml index 84e6544d0b..d39055fa8d 100644 --- a/docs/xml/SkiaSharp/SKRectI.xml +++ b/docs/xml/SkiaSharp/SKRectI.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -56,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -81,6 +84,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -106,6 +110,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -127,6 +132,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -151,6 +157,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -178,6 +185,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -203,6 +211,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -228,6 +237,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -255,6 +265,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -280,6 +291,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -307,6 +319,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -334,6 +347,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -365,6 +379,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -385,6 +400,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -409,6 +425,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -433,6 +450,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -460,6 +478,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -482,6 +501,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -503,6 +523,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -527,6 +548,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -553,6 +575,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -582,6 +605,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -606,6 +630,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -633,6 +658,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -658,6 +684,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -679,6 +706,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -700,6 +728,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -721,6 +750,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -742,6 +772,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -763,6 +794,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -787,6 +819,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -813,6 +846,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -840,6 +874,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -867,6 +902,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -888,6 +924,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -913,6 +950,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -934,6 +972,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -955,6 +994,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -976,6 +1016,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -998,6 +1039,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -1023,6 +1065,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1047,6 +1090,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -1074,6 +1118,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKRegion.xml b/docs/xml/SkiaSharp/SKRegion.xml index db2df7ed98..4e1ce26c0b 100644 --- a/docs/xml/SkiaSharp/SKRegion.xml +++ b/docs/xml/SkiaSharp/SKRegion.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -47,6 +49,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRectI @@ -89,6 +93,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -114,6 +119,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -139,6 +145,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -166,6 +173,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -191,6 +199,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -216,6 +225,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -243,6 +253,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -270,6 +281,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -303,6 +315,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -328,6 +341,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -355,6 +369,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -380,6 +395,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKRegionOperation.xml b/docs/xml/SkiaSharp/SKRegionOperation.xml index 1bdd8af244..fb99100afa 100644 --- a/docs/xml/SkiaSharp/SKRegionOperation.xml +++ b/docs/xml/SkiaSharp/SKRegionOperation.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRegionOperation @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRegionOperation @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRegionOperation @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRegionOperation @@ -108,6 +113,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRegionOperation @@ -128,6 +134,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRegionOperation diff --git a/docs/xml/SkiaSharp/SKRoundRect.xml b/docs/xml/SkiaSharp/SKRoundRect.xml index 91a3b8c23d..f3c5954d85 100644 --- a/docs/xml/SkiaSharp/SKRoundRect.xml +++ b/docs/xml/SkiaSharp/SKRoundRect.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -38,6 +40,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -56,6 +59,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -74,6 +78,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -96,6 +101,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -114,6 +120,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -136,6 +143,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -158,6 +166,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -179,6 +188,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -202,6 +212,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -210,9 +221,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -223,6 +235,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -245,6 +258,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Single @@ -263,6 +277,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -284,6 +299,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -307,6 +323,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Boolean @@ -325,6 +342,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -346,6 +364,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -369,6 +388,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRect @@ -387,6 +407,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -405,6 +426,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -434,6 +456,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -455,6 +478,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -476,6 +500,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -501,6 +526,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -524,6 +550,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRect @@ -546,6 +573,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType @@ -564,6 +592,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKRoundRectCorner.xml b/docs/xml/SkiaSharp/SKRoundRectCorner.xml index 8b01bdbe52..ee6bd0eb89 100644 --- a/docs/xml/SkiaSharp/SKRoundRectCorner.xml +++ b/docs/xml/SkiaSharp/SKRoundRectCorner.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Enum @@ -22,6 +23,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectCorner @@ -39,6 +41,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectCorner @@ -56,6 +59,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectCorner @@ -73,6 +77,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectCorner diff --git a/docs/xml/SkiaSharp/SKRoundRectType.xml b/docs/xml/SkiaSharp/SKRoundRectType.xml index e08691571e..93831bff46 100644 --- a/docs/xml/SkiaSharp/SKRoundRectType.xml +++ b/docs/xml/SkiaSharp/SKRoundRectType.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Enum @@ -22,6 +23,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType @@ -39,6 +41,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType @@ -56,6 +59,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType @@ -73,6 +77,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType @@ -90,6 +95,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType @@ -107,6 +113,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKRoundRectType diff --git a/docs/xml/SkiaSharp/SKShader.xml b/docs/xml/SkiaSharp/SKShader.xml index 361c380253..da5cce64fd 100644 --- a/docs/xml/SkiaSharp/SKShader.xml +++ b/docs/xml/SkiaSharp/SKShader.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -263,6 +264,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -295,6 +297,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -329,6 +332,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -354,6 +358,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -431,6 +436,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -458,6 +464,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -520,6 +527,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -590,6 +598,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -623,6 +632,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -658,6 +668,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -685,6 +696,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -716,6 +728,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -749,6 +762,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -780,6 +794,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -813,6 +828,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -846,6 +862,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -881,6 +898,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -910,6 +928,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -941,6 +960,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -978,6 +998,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShader @@ -1017,6 +1038,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -1025,9 +1047,10 @@ The example above produces the following: - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp/SKShaderTileMode.xml b/docs/xml/SkiaSharp/SKShaderTileMode.xml index 64b1d70c42..1c2286af82 100644 --- a/docs/xml/SkiaSharp/SKShaderTileMode.xml +++ b/docs/xml/SkiaSharp/SKShaderTileMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShaderTileMode @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShaderTileMode @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKShaderTileMode diff --git a/docs/xml/SkiaSharp/SKSize.xml b/docs/xml/SkiaSharp/SKSize.xml index 9cad247ff9..bd84aca236 100644 --- a/docs/xml/SkiaSharp/SKSize.xml +++ b/docs/xml/SkiaSharp/SKSize.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -100,6 +104,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -120,6 +125,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -145,6 +151,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -167,6 +174,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single @@ -188,6 +196,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -209,6 +218,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -236,6 +246,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -263,6 +274,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -288,6 +300,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -313,6 +326,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -340,6 +354,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -367,6 +382,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSize @@ -394,6 +410,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPoint @@ -416,6 +433,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -438,6 +456,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -460,6 +479,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Single diff --git a/docs/xml/SkiaSharp/SKSizeI.xml b/docs/xml/SkiaSharp/SKSizeI.xml index ce1397ea47..ae30d03eb4 100644 --- a/docs/xml/SkiaSharp/SKSizeI.xml +++ b/docs/xml/SkiaSharp/SKSizeI.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -73,6 +76,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -100,6 +104,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -120,6 +125,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -145,6 +151,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -167,6 +174,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -188,6 +196,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -209,6 +218,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -236,6 +246,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -263,6 +274,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -288,6 +300,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -315,6 +328,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -342,6 +356,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSizeI @@ -369,6 +384,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPointI @@ -391,6 +407,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -413,6 +430,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKStream.xml b/docs/xml/SkiaSharp/SKStream.xml index 94cdd6c45b..cbb02f70b9 100644 --- a/docs/xml/SkiaSharp/SKStream.xml +++ b/docs/xml/SkiaSharp/SKStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.IntPtr @@ -51,6 +53,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -72,6 +75,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -93,6 +97,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -114,6 +119,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -135,6 +141,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -157,6 +164,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Int32 @@ -184,6 +192,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -205,6 +214,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -232,6 +242,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -248,6 +259,47 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + Read a single boolean. + Returns the boolean that was read. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The boolean that was read. + Read a single boolean. + Returns true if the read was successful, otherwise false. + + + @@ -259,6 +311,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte @@ -270,6 +323,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The byte that was read. + Read a single byte. + Returns true if the read was successful, otherwise false. + + + @@ -281,6 +356,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int16 @@ -292,6 +368,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The 16-bit integer that was read. + Read a single 16-bit integer. + Returns true if the read was successful, otherwise false. + + + @@ -303,6 +401,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -314,6 +413,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The 32-bit integer that was read. + Read a single 32-bit integer. + Returns true if the read was successful, otherwise false. + + + @@ -325,6 +446,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.SByte @@ -336,6 +458,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The signed byte that was read. + Read a single, signed byte. + Returns true if the read was successful, otherwise false. + + + @@ -347,6 +491,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt16 @@ -358,6 +503,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The unsigned 16-bit integer that was read. + Read a single, unsigned 16-bit integer. + Returns true if the read was successful, otherwise false. + + + @@ -369,6 +536,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32 @@ -380,6 +548,28 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.Boolean + + + + + + The unsigned 32-bit integer that was read. + Read a single, unsigned 32-bit integer. + Returns true if the read was successful, otherwise false. + + + @@ -391,6 +581,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -413,6 +604,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -438,6 +630,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKStreamAsset.xml b/docs/xml/SkiaSharp/SKStreamAsset.xml index 55405c102f..b8d4b0a0e5 100644 --- a/docs/xml/SkiaSharp/SKStreamAsset.xml +++ b/docs/xml/SkiaSharp/SKStreamAsset.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamSeekable diff --git a/docs/xml/SkiaSharp/SKStreamMemory.xml b/docs/xml/SkiaSharp/SKStreamMemory.xml index 7e277f3723..50098680b9 100644 --- a/docs/xml/SkiaSharp/SKStreamMemory.xml +++ b/docs/xml/SkiaSharp/SKStreamMemory.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset diff --git a/docs/xml/SkiaSharp/SKStreamRewindable.xml b/docs/xml/SkiaSharp/SKStreamRewindable.xml index 4094fc32dc..2c82a521f9 100644 --- a/docs/xml/SkiaSharp/SKStreamRewindable.xml +++ b/docs/xml/SkiaSharp/SKStreamRewindable.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStream diff --git a/docs/xml/SkiaSharp/SKStreamSeekable.xml b/docs/xml/SkiaSharp/SKStreamSeekable.xml index a211e4996f..a8822c0373 100644 --- a/docs/xml/SkiaSharp/SKStreamSeekable.xml +++ b/docs/xml/SkiaSharp/SKStreamSeekable.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamRewindable diff --git a/docs/xml/SkiaSharp/SKStrokeCap.xml b/docs/xml/SkiaSharp/SKStrokeCap.xml index 2ebe5b989b..495c3e09a8 100644 --- a/docs/xml/SkiaSharp/SKStrokeCap.xml +++ b/docs/xml/SkiaSharp/SKStrokeCap.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeCap @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeCap @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeCap diff --git a/docs/xml/SkiaSharp/SKStrokeJoin.xml b/docs/xml/SkiaSharp/SKStrokeJoin.xml index 8cb22f4253..cc991fc3b8 100644 --- a/docs/xml/SkiaSharp/SKStrokeJoin.xml +++ b/docs/xml/SkiaSharp/SKStrokeJoin.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeJoin @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeJoin @@ -92,6 +95,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStrokeJoin diff --git a/docs/xml/SkiaSharp/SKSurface.xml b/docs/xml/SkiaSharp/SKSurface.xml index d74f881656..6fbf40047f 100644 --- a/docs/xml/SkiaSharp/SKSurface.xml +++ b/docs/xml/SkiaSharp/SKSurface.xml @@ -1,6 +1,6 @@ - + SkiaSharp @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -78,6 +79,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas @@ -99,6 +101,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface @@ -123,6 +126,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface @@ -148,7 +152,13 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRContext, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType) instead.") + + SkiaSharp.SKSurface @@ -159,7 +169,7 @@ The example above produces the following: The graphics context. The description of the existing render target. - Wraps a preexisting 3D API rendering target as a surface. + Wraps a pre-existing 3D API render target as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . @@ -175,7 +185,13 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.") + + SkiaSharp.SKSurface @@ -186,7 +202,7 @@ The example above produces the following: The graphics context. The description of the existing texture. - Wraps a preexisting 3D API texture as a surface. + Wraps a pre-existing 3D API texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . @@ -199,7 +215,13 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.") + + SkiaSharp.SKSurface @@ -210,7 +232,7 @@ The example above produces the following: The graphics context. The description of the existing OpenGL texture. - Wraps a preexisting OpenGL texture as a surface. + Wraps a pre-existing OpenGL texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . @@ -226,6 +248,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface @@ -242,6 +265,54 @@ The example above produces the following: This will create a buffer with the parameters specified in and the properties specified in . + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + The image configuration parameters. + The number of bytes per row in the pixel buffer. + Creates a new surface from the specified image parameters. + Returns the new surface if it could be created and the configuration is supported, otherwise . + This will create a buffer with the parameters specified in . + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + The image configuration parameters. + The pointer to an in memory-buffer that can hold the image as specified. + Creates a new surface with the specified image parameters using a provided buffer. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + @@ -252,6 +323,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface @@ -268,6 +340,32 @@ The example above produces the following: + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + The graphics context. + The description of the existing render target. + The color type to use for the surface. + Wraps a pre-existing 3D API render target as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + @@ -279,7 +377,13 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRContext, GRBackendRenderTarget, GRSurfaceOrigin, SKColorType, SKSurfaceProps) instead.") + + SkiaSharp.SKSurface @@ -292,7 +396,33 @@ The example above produces the following: The graphics context. The description of the existing render target. The surface property configuration. - Wraps a preexisting 3D API rendering target as a surface. + Wraps a pre-existing 3D API render target as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + The graphics context. + The description of the existing texture. + The color type to use for the surface. + Wraps a pre-existing 3D API texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . @@ -308,7 +438,13 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProps) instead.") + + SkiaSharp.SKSurface @@ -321,7 +457,7 @@ The example above produces the following: The graphics context. The description of the existing texture. The surface property configuration. - Wraps a preexisting 3D API texture as a surface. + Wraps a pre-existing 3D API texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . @@ -334,7 +470,13 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use Create(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProps) instead.") + + SkiaSharp.SKSurface @@ -347,7 +489,7 @@ The example above produces the following: The graphics context. The description of the existing OpenGL texture. The surface property configuration. - Wraps a preexisting OpenGL texture as a surface. + Wraps a pre-existing OpenGL texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . @@ -363,6 +505,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface @@ -382,69 +525,61 @@ The example above produces the following: - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - + The image configuration parameters. - The pointer to an in memory-buffer that can hold the image as specified. The number of bytes per row in the pixel buffer. - Creates a new surface with the specified image parameters using a provided buffer. + The surface property configuration. + Creates a new surface from the specified image parameters and surface properties. Returns the new surface if it could be created and the configuration is supported, otherwise . - This will create a buffer that will be backend by the in-memory buffer provided in . + This will create a buffer with the parameters specified in and the properties specified in . - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - - + + - The graphics context. - Whether an allocation should count against a cache budget. The image configuration parameters. - The number of samples. - Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. + The pointer to an in memory-buffer that can hold the image as specified. + The surface property configuration. + Creates a new surface from the specified image parameters and surface properties. Returns the new surface if it could be created and the configuration is supported, otherwise . - + This will create a buffer with the parameters specified in and the properties specified in . - - - + + + Method SkiaSharp @@ -452,6 +587,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface @@ -460,191 +596,160 @@ The example above produces the following: - The image configuration parameters. The pointer to an in memory-buffer that can hold the image as specified. The number of bytes per row in the pixel buffer. - The surface property configuration. - Creates a new surface from the specified image parameters, the provided buffer and surface properties. + Creates a new surface with the specified image parameters using a provided buffer. Returns the new surface if it could be created and the configuration is supported, otherwise . This will create a buffer that will be backend by the in-memory buffer provided in . - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - + + + - - The desired width for the surface. - The desired height for the surface. + The graphics context. + The description of the existing render target. + The origin of the texture. The color type to use for the surface. - The transparency mode to use for the surface. - Creates a new surface with the specified image parameters. + Wraps a pre-existing backend 3D API render target as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . - This will create a buffer that will be backend by the in-memory buffer. + - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - - + + The graphics context. - Whether an allocation should count against a cache budget. - The image configuration parameters. - The number of samples. + The description of the existing render target. + The color type to use for the surface. The surface property configuration. - Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. + Wraps a pre-existing backend 3D API render target as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - + + + - - - The desired width for the surface. - The desired height for the surface. + The graphics context. + The description of the existing texture. + The origin of the texture. The color type to use for the surface. - The transparency mode to use for the surface. - The surface property configuration. - Creates a new surface with the specified image parameters and surface properties. + Wraps a pre-existing backend 3D API texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - + + - - - + - The desired width for the surface. - The desired height for the surface. + The graphics context. + The description of the existing texture. The color type to use for the surface. - The transparency mode to use for the surface. - The pointer to an in memory-buffer that can hold the image as specified. - The number of bytes per row in the pixel buffer. - Creates a new surface with the specified image parameters using a provided buffer. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . - - - + + + Method SkiaSharp - 1.57.0.0 - 1.58.0.0 - 1.59.0.0 - 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - - - - - + + + - The desired width for the surface. - The desired height for the surface. - The color type to use for the surface. - The transparency mode to use for the surface. - The pointer to an in memory-buffer that can hold the image as specified. - The number of bytes per row in the pixel buffer. + The graphics context. + Whether an allocation should count against a cache budget. + The image configuration parameters. The surface property configuration. - Creates a new surface with the specified image parameters using a provided buffer and surface properties. + Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. Returns the new surface if it could be created and the configuration is supported, otherwise . - - - - + + + + Method SkiaSharp @@ -652,46 +757,718 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - + + + The graphics context. - The description of the existing texture. - Wraps a preexisting backend 3D API texture as a surface. + Whether an allocation should count against a cache budget. + The image configuration parameters. + The number of samples. + Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. Returns the new surface if it could be created and the configuration is supported, otherwise . - The flag must be set on for this to succeed. The texture must remain valid for the lifetime of the surface. + - - - - + + + + Method SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurface - - - - - The graphics context. + + + + + + + The image configuration parameters. + The pointer to an in memory-buffer that can hold the image as specified. + The number of bytes per row in the pixel buffer. + The surface property configuration. + Creates a new surface from the specified image parameters, the provided buffer and surface properties. + Returns the new surface if it could be created and the configuration is supported, otherwise . + This will create a buffer that will be backend by the in-memory buffer provided in . + + + + + + + Method + + SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 + 1.60.0.0 + 1.68.0.0 + + + + System.Obsolete("Use Create(SKImageInfo) instead.") + + + + SkiaSharp.SKSurface + + + + + + + + + The desired width for the surface. + The desired height for the surface. + The color type to use for the surface. + The transparency mode to use for the surface. + Creates a new surface with the specified image parameters. + Returns the new surface if it could be created and the configuration is supported, otherwise . + This will create a buffer that will be backend by the in-memory buffer. + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + The description of the existing render target. + The origin of the texture. + The color type to use for the surface. + The colorspace to use for the surface. + Wraps a pre-existing backend 3D API render target as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + The description of the existing render target. + The origin of the texture. + The color type to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API render target as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The color type to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + Whether an allocation should count against a cache budget. + The image configuration parameters. + The number of samples per pixel. + The origin of the texture. + Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 + 1.60.0.0 + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + Whether an allocation should count against a cache budget. + The image configuration parameters. + The number of samples. + The surface property configuration. + Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The image configuration parameters. + The pointer to an in memory-buffer that can hold the image as specified. + The number of bytes per row in the pixel buffer. + The delegate to invoke when the surface is about to be disposed. + The user data to use when invoking the delegate. + Creates a new surface with the specified image parameters using a provided buffer. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 + 1.60.0.0 + 1.68.0.0 + + + + System.Obsolete("Use Create(SKImageInfo, SKSurfaceProps) instead.") + + + + SkiaSharp.SKSurface + + + + + + + + + + The desired width for the surface. + The desired height for the surface. + The color type to use for the surface. + The transparency mode to use for the surface. + The surface property configuration. + Creates a new surface with the specified image parameters and surface properties. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + The graphics context. + The description of the existing render target. + The origin of the texture. + The color type to use for the surface. + The colorspace to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API render target as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + The colorspace to use for the surface. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + The image configuration parameters. + The pointer to an in memory-buffer that can hold the image as specified. + The number of bytes per row in the pixel buffer. + The delegate to invoke when the surface is about to be disposed. + The user data to use when invoking the delegate. + The surface property configuration. + Creates a new surface with the specified image parameters using a provided buffer. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 + 1.60.0.0 + 1.68.0.0 + + + + System.Obsolete("Use Create(SKImageInfo, IntPtr, int) instead.") + + + + SkiaSharp.SKSurface + + + + + + + + + + + The desired width for the surface. + The desired height for the surface. + The color type to use for the surface. + The transparency mode to use for the surface. + The pointer to an in memory-buffer that can hold the image as specified. + The number of bytes per row in the pixel buffer. + Creates a new surface with the specified image parameters using a provided buffer. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + The colorspace to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + + The graphics context. + Whether an allocation should count against a cache budget. + The image configuration parameters. + The number of samples per pixel. + The origin of the texture. + The surface property configuration. + A hint that the surface will host mip map images. + Creates a new surface whose contents will be drawn to an offscreen render target, allocated by the surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 + 1.60.0.0 + 1.68.0.0 + + + + System.Obsolete("Use Create(SKImageInfo, IntPtr, int, SKSurfaceProps) instead.") + + + + SkiaSharp.SKSurface + + + + + + + + + + + + The desired width for the surface. + The desired height for the surface. + The color type to use for the surface. + The transparency mode to use for the surface. + The pointer to an in memory-buffer that can hold the image as specified. + The number of bytes per row in the pixel buffer. + The surface property configuration. + Creates a new surface with the specified image parameters using a provided buffer and surface properties. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.57.0.0 + 1.58.0.0 + 1.59.0.0 + 1.60.0.0 + 1.68.0.0 + + + + System.Obsolete("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.") + + + + SkiaSharp.SKSurface + + + + + + + The graphics context. + The description of the existing texture. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + The flag must be set on for this to succeed. The texture must remain valid for the lifetime of the surface. + + + + + + + Method + + SkiaSharp + 1.60.0.0 + 1.68.0.0 + + + + System.Obsolete("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType) instead.") + + + + SkiaSharp.SKSurface + + + + + + + The graphics context. The description of the existing OpenGL texture. - Wraps a preexisting backend OpenGL texture as a surface. + Wraps a pre-existing backend OpenGL texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . The flag must be set on for this to succeed. The texture must remain valid for the lifetime of the surface. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + The graphics context. + The description of the existing texture. + The color type to use for the surface. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + @@ -703,7 +1480,13 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProps) instead.") + + SkiaSharp.SKSurface @@ -716,7 +1499,7 @@ The example above produces the following: The graphics context. The description of the existing texture. The surface property configuration. - Wraps a preexisting backend 3D API texture as a surface. + Wraps a pre-existing backend 3D API texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . The flag must be set on for this to succeed. The texture must remain valid for the lifetime of the surface. @@ -729,7 +1512,13 @@ The example above produces the following: SkiaSharp 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use CreateAsRenderTarget(GRContext, GRBackendTexture, GRSurfaceOrigin, int, SKColorType, SKSurfaceProps) instead.") + + SkiaSharp.SKSurface @@ -742,11 +1531,249 @@ The example above produces the following: The graphics context. The description of the existing OpenGL texture. The surface property configuration. - Wraps a preexisting backend OpenGL texture as a surface. + Wraps a pre-existing backend OpenGL texture as a surface. Returns the new surface if it could be created and the configuration is supported, otherwise . The flag must be set on for this to succeed. The texture must remain valid for the lifetime of the surface. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The color type to use for the surface. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + The graphics context. + The description of the existing texture. + The color type to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The color type to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + The colorspace to use for the surface. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + + + + + + The graphics context. + The description of the existing texture. + The origin of the texture. + The number of samples per pixel. + The color type to use for the surface. + The colorspace to use for the surface. + The surface property configuration. + Wraps a pre-existing backend 3D API texture as a surface. + Returns the new surface if it could be created and the configuration is supported, otherwise . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKSurface + + + + + + + The desired width for the surface. + The desired height for the surface. + Creates a new surface without any backing pixels. + Returns the new surface if it could be created, otherwise . + Drawing to the returned from has no effect. Calling on the returned returns . + + @@ -758,6 +1785,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -766,9 +1794,10 @@ The example above produces the following: - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -782,6 +1811,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -812,6 +1842,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixmap @@ -834,6 +1865,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -859,6 +1891,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -892,6 +1925,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKImage @@ -914,6 +1948,7 @@ The example above produces the following: 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurfaceProps diff --git a/docs/xml/SkiaSharp/SKSurfaceProps.xml b/docs/xml/SkiaSharp/SKSurfaceProps.xml index 4ca5a89a31..3d30cefaf0 100644 --- a/docs/xml/SkiaSharp/SKSurfaceProps.xml +++ b/docs/xml/SkiaSharp/SKSurfaceProps.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.ValueType @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurfacePropsFlags @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKPixelGeometry diff --git a/docs/xml/SkiaSharp/SKSurfacePropsFlags.xml b/docs/xml/SkiaSharp/SKSurfacePropsFlags.xml index b35a1674ce..1be1515642 100644 --- a/docs/xml/SkiaSharp/SKSurfacePropsFlags.xml +++ b/docs/xml/SkiaSharp/SKSurfacePropsFlags.xml @@ -8,12 +8,13 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags @@ -31,6 +32,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurfacePropsFlags @@ -51,6 +53,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKSurfacePropsFlags diff --git a/docs/xml/SkiaSharp/SKSurfaceReleaseDelegate.xml b/docs/xml/SkiaSharp/SKSurfaceReleaseDelegate.xml new file mode 100644 index 0000000000..8719ecd7cb --- /dev/null +++ b/docs/xml/SkiaSharp/SKSurfaceReleaseDelegate.xml @@ -0,0 +1,25 @@ + + + + + + SkiaSharp + 1.68.0.0 + + + System.Delegate + + + + + + + System.Void + + + The memory address of the pixels being released. + The user data that was provided when creating the surface. + The delegate that is used when releasing the memory for a surface. + + + diff --git a/docs/xml/SkiaSharp/SKSvgCanvas.xml b/docs/xml/SkiaSharp/SKSvgCanvas.xml index 112e7d887a..4599ff9037 100644 --- a/docs/xml/SkiaSharp/SKSvgCanvas.xml +++ b/docs/xml/SkiaSharp/SKSvgCanvas.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKCanvas diff --git a/docs/xml/SkiaSharp/SKSwizzle.xml b/docs/xml/SkiaSharp/SKSwizzle.xml index 26203502c0..d429854abf 100644 --- a/docs/xml/SkiaSharp/SKSwizzle.xml +++ b/docs/xml/SkiaSharp/SKSwizzle.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Object @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void @@ -46,6 +48,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Void diff --git a/docs/xml/SkiaSharp/SKTextAlign.xml b/docs/xml/SkiaSharp/SKTextAlign.xml index 8ac95e885b..ee0065aa9e 100644 --- a/docs/xml/SkiaSharp/SKTextAlign.xml +++ b/docs/xml/SkiaSharp/SKTextAlign.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextAlign @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextAlign @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextAlign diff --git a/docs/xml/SkiaSharp/SKTextEncoding.xml b/docs/xml/SkiaSharp/SKTextEncoding.xml index 0dd8f7b9fd..795b8a5aad 100644 --- a/docs/xml/SkiaSharp/SKTextEncoding.xml +++ b/docs/xml/SkiaSharp/SKTextEncoding.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextEncoding @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextEncoding @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextEncoding @@ -88,6 +92,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTextEncoding diff --git a/docs/xml/SkiaSharp/SKTransferFunctionBehavior.xml b/docs/xml/SkiaSharp/SKTransferFunctionBehavior.xml index 7c18f05bff..0ca3711cd3 100644 --- a/docs/xml/SkiaSharp/SKTransferFunctionBehavior.xml +++ b/docs/xml/SkiaSharp/SKTransferFunctionBehavior.xml @@ -6,6 +6,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -24,6 +25,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTransferFunctionBehavior @@ -42,6 +44,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTransferFunctionBehavior diff --git a/docs/xml/SkiaSharp/SKTypeface.xml b/docs/xml/SkiaSharp/SKTypeface.xml index cbd622fc12..8b339c1bb5 100644 --- a/docs/xml/SkiaSharp/SKTypeface.xml +++ b/docs/xml/SkiaSharp/SKTypeface.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -42,6 +43,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -69,6 +71,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -100,6 +103,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -125,6 +129,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -143,6 +148,43 @@ Typeface objects are immutable, and so they can be shared between threads. + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + Creates a new which is the default, Normal typeface. + + This will never be null. + + + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + Gets the default, Normal typeface. + + This will never be . + + @@ -154,6 +196,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -162,9 +205,10 @@ Typeface objects are immutable, and so they can be shared between threads. - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. @@ -178,6 +222,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -199,6 +244,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKFontStyleSlant @@ -209,6 +255,24 @@ Typeface objects are immutable, and so they can be shared between threads. This may be one of the values in . + + + + + Property + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKFontStyle + + + Gets the font style for the typeface. + + + + @@ -220,6 +284,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -241,6 +306,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -260,6 +326,7 @@ Typeface objects are immutable, and so they can be shared between threads. SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -277,7 +344,53 @@ Typeface objects are immutable, and so they can be shared between threads. - + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + The name of the font family. May be . + Returns a new instance to a typeface that most closely matches the requested family name and style. + Returns to the closest-matching typeface. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKTypeface + + + + + + + The name of the font family. May be . + The style (normal, bold, italic) of the typeface. + Returns a new instance to a typeface that most closely matches the requested family name and style. + Returns to the closest-matching typeface. + + + + + Method @@ -287,7 +400,13 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FromFamilyName(string, SKFontStyleWeight, SKFontStyleWidth, SKFontStyleSlant) instead.") + + SkiaSharp.SKTypeface @@ -314,6 +433,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -345,6 +465,7 @@ Typeface objects are immutable, and so they can be shared between threads. 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -409,6 +530,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -436,6 +558,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -463,6 +586,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypeface @@ -480,7 +604,7 @@ using (var surface = SKSurface.Create(info)) { - + Method @@ -490,7 +614,13 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete + + SkiaSharp.SKTypeface @@ -517,6 +647,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte[] @@ -542,6 +673,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.UInt32[] @@ -564,6 +696,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset @@ -586,6 +719,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKStreamAsset @@ -611,7 +745,13 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 + + + System.Obsolete("Use FontWeight and FontSlant instead.") + + SkiaSharp.SKTypefaceStyle @@ -632,6 +772,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -659,6 +800,7 @@ using (var surface = SKSurface.Create(info)) { 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/SkiaSharp/SKTypefaceStyle.xml b/docs/xml/SkiaSharp/SKTypefaceStyle.xml index f78e454aa5..eb7481074e 100644 --- a/docs/xml/SkiaSharp/SKTypefaceStyle.xml +++ b/docs/xml/SkiaSharp/SKTypefaceStyle.xml @@ -8,14 +8,18 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum - + System.Flags + + System.Obsolete("Use SKFontStyleWeight and SKFontStyleSlant instead.") + Specifies the intrinsic style attributes of a given typeface. @@ -33,6 +37,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypefaceStyle @@ -53,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypefaceStyle @@ -73,6 +79,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypefaceStyle @@ -93,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTypefaceStyle diff --git a/docs/xml/SkiaSharp/SKVertexMode.xml b/docs/xml/SkiaSharp/SKVertexMode.xml index 560338114e..2e8d94be13 100644 --- a/docs/xml/SkiaSharp/SKVertexMode.xml +++ b/docs/xml/SkiaSharp/SKVertexMode.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKVertexMode @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKVertexMode @@ -68,6 +71,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKVertexMode diff --git a/docs/xml/SkiaSharp/SKVertices.xml b/docs/xml/SkiaSharp/SKVertices.xml index de7c74cb33..941909de0a 100644 --- a/docs/xml/SkiaSharp/SKVertices.xml +++ b/docs/xml/SkiaSharp/SKVertices.xml @@ -6,6 +6,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -25,6 +26,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKVertices @@ -52,6 +54,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKVertices @@ -81,6 +84,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKVertices @@ -112,6 +116,7 @@ SkiaSharp 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -120,9 +125,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp/SKWStream.xml b/docs/xml/SkiaSharp/SKWStream.xml index 92a543aa88..43fd20b907 100644 --- a/docs/xml/SkiaSharp/SKWStream.xml +++ b/docs/xml/SkiaSharp/SKWStream.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -71,6 +74,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 @@ -96,6 +100,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -118,6 +123,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -145,6 +151,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -170,6 +177,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -195,6 +203,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -220,6 +229,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -247,6 +257,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -272,6 +283,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -297,6 +309,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -324,6 +337,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -349,6 +363,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -374,6 +389,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -399,6 +415,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -426,6 +443,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean diff --git a/docs/xml/SkiaSharp/SKWebpEncoderCompression.xml b/docs/xml/SkiaSharp/SKWebpEncoderCompression.xml index 5a1be85ac3..4892394b88 100644 --- a/docs/xml/SkiaSharp/SKWebpEncoderCompression.xml +++ b/docs/xml/SkiaSharp/SKWebpEncoderCompression.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Enum @@ -22,6 +23,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWebpEncoderCompression @@ -39,6 +41,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWebpEncoderCompression diff --git a/docs/xml/SkiaSharp/SKWebpEncoderOptions.xml b/docs/xml/SkiaSharp/SKWebpEncoderOptions.xml index ea69c2133c..739f7b6a39 100644 --- a/docs/xml/SkiaSharp/SKWebpEncoderOptions.xml +++ b/docs/xml/SkiaSharp/SKWebpEncoderOptions.xml @@ -5,6 +5,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.ValueType @@ -23,6 +24,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -43,6 +45,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 @@ -65,6 +68,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWebpEncoderCompression @@ -83,6 +87,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKWebpEncoderOptions @@ -100,6 +105,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.Single @@ -121,6 +127,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 SkiaSharp.SKTransferFunctionBehavior diff --git a/docs/xml/SkiaSharp/SKXmlStreamWriter.xml b/docs/xml/SkiaSharp/SKXmlStreamWriter.xml index 600f6b4f94..ff9d3f8eca 100644 --- a/docs/xml/SkiaSharp/SKXmlStreamWriter.xml +++ b/docs/xml/SkiaSharp/SKXmlStreamWriter.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKXmlWriter @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 @@ -50,6 +52,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Void @@ -58,9 +61,10 @@ - To be added. - To be added. - To be added. + + to release both managed and unmanaged resources; to release only unmanaged resources. + Releases the unmanaged resources used by the and optionally releases the managed resources. + Always dispose the object before you release your last reference to the . Otherwise, the resources it is using will not be freed until the garbage collector calls the finalizer. diff --git a/docs/xml/SkiaSharp/SKXmlWriter.xml b/docs/xml/SkiaSharp/SKXmlWriter.xml index f65ba93e9d..333715a282 100644 --- a/docs/xml/SkiaSharp/SKXmlWriter.xml +++ b/docs/xml/SkiaSharp/SKXmlWriter.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKObject diff --git a/docs/xml/SkiaSharp/SKZeroInitialized.xml b/docs/xml/SkiaSharp/SKZeroInitialized.xml index 6805c02099..304ac1cd45 100644 --- a/docs/xml/SkiaSharp/SKZeroInitialized.xml +++ b/docs/xml/SkiaSharp/SKZeroInitialized.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Enum @@ -28,6 +29,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKZeroInitialized @@ -48,6 +50,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 SkiaSharp.SKZeroInitialized diff --git a/docs/xml/SkiaSharp/SkiaExtensions.xml b/docs/xml/SkiaSharp/SkiaExtensions.xml index 51f0eecf68..9f1ad054ba 100644 --- a/docs/xml/SkiaSharp/SkiaExtensions.xml +++ b/docs/xml/SkiaSharp/SkiaExtensions.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -54,6 +56,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -79,6 +82,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -104,6 +108,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Boolean @@ -118,5 +123,120 @@ + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.SKColorType + + + + + + The to convert. + Converts a to an equivalent , if possible. + Returns the equivalent , or if there is none. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + + System.Obsolete + + + + SkiaSharp.SKFilterQuality + + + + + + The to convert. + Converts a to an equivalent . + Returns the equivalent . + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.UInt32 + + + + + + The to convert. + Converts a to the equivalent OpenGL sized format, if possible. + Returns the equivalent OpenGL sized format, or 0 if there is none. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + System.UInt32 + + + + + + The to convert. + Converts a to the equivalent OpenGL sized format, if possible. + Returns the equivalent OpenGL sized format, or 0 if there is none. + + + + + + + + Method + + SkiaSharp + 1.68.0.0 + + + SkiaSharp.GRPixelConfig + + + + + + The to convert. + Converts a to an equivalent , if possible. + Returns the equivalent , or if there is none. + + + diff --git a/docs/xml/SkiaSharp/StringUtilities.xml b/docs/xml/SkiaSharp/StringUtilities.xml index 46630cf6b7..67c3ba066e 100644 --- a/docs/xml/SkiaSharp/StringUtilities.xml +++ b/docs/xml/SkiaSharp/StringUtilities.xml @@ -8,6 +8,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Object @@ -29,6 +30,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Byte[] @@ -56,6 +58,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -83,6 +86,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.String @@ -109,6 +113,7 @@ SkiaSharp 1.60.0.0 + 1.68.0.0 System.String @@ -140,6 +145,7 @@ 1.58.0.0 1.59.0.0 1.60.0.0 + 1.68.0.0 System.Int32 diff --git a/docs/xml/index.xml b/docs/xml/index.xml index 4c9b5bf18d..c8b2331da4 100644 --- a/docs/xml/index.xml +++ b/docs/xml/index.xml @@ -1,21 +1,21 @@ - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.Default | System.Diagnostics.DebuggableAttribute+DebuggingModes.DisableOptimizations | System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints | System.Diagnostics.DebuggableAttribute+DebuggingModes.EnableEditAndContinue) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Debug") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp is a cross-platform 2D graphics API for .NET platforms that can be used across mobile, server and desktop models to render images.") @@ -24,25 +24,25 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp") - + System.Reflection.AssemblyTitle("SkiaSharp") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.InternalsVisibleTo("SkiaSharp.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010079159977d2d03a8e6bea7a2e74e8d1afcc93e8851974952bb480a12c9134474d04062447c37e0e68c080536fcf3c3fbe2ff9c979ce998475e506e8ce82dd5b0f350dc10e93bf2eeecf874b24770c5081dbea7447fddafa277b22de47d6ffea449674a4f9fccf84d15069089380284dbdd35f46cdff12a1bd78e4ef0065d016df") - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v1.3", FrameworkDisplayName="") @@ -126,24 +126,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -152,22 +158,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework("MonoAndroid,Version=v4.0.3", FrameworkDisplayName="Xamarin.Android v4.0.3 Support") @@ -260,24 +266,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -286,22 +298,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName=".NET Framework 4.5") @@ -388,24 +400,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -414,22 +432,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName=".NET Framework 4.5") @@ -462,24 +480,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -488,22 +512,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETFramework,Version=v4.5", FrameworkDisplayName=".NET Framework 4.5") @@ -590,24 +614,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -616,22 +646,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework("Tizen,Version=v4.0", FrameworkDisplayName="") @@ -646,24 +676,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -672,22 +708,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETCore,Version=v5.0", FrameworkDisplayName=".NET for Windows Universal") @@ -774,24 +810,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -800,22 +842,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework("Xamarin.iOS,Version=v1.0", FrameworkDisplayName="Xamarin.iOS") @@ -905,24 +947,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -931,22 +979,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework("Xamarin.Mac,Version=v2.0", FrameworkDisplayName="Xamarin.Mac") @@ -1036,24 +1084,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -1062,22 +1116,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework("Xamarin.TVOS,Version=v1.0", FrameworkDisplayName="Xamarin.TVOS") @@ -1167,24 +1221,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp Views & Layers are a set of platform-specific views and containers that can be used to draw on the screen.") @@ -1193,22 +1253,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views") - + System.Reflection.AssemblyTitle("SkiaSharp.Views") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework("Xamarin.WatchOS,Version=v1.0", FrameworkDisplayName="Xamarin.WatchOS") @@ -1241,23 +1301,29 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("SkiaSharp for Xamarin.Forms is a set of views that can be used to draw on the screen.") @@ -1266,22 +1332,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.Views.Forms") - + System.Reflection.AssemblyTitle("SkiaSharp.Views.Forms") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v1.3", FrameworkDisplayName="") @@ -1371,24 +1437,30 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.Default | System.Diagnostics.DebuggableAttribute+DebuggingModes.DisableOptimizations | System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints | System.Diagnostics.DebuggableAttribute+DebuggingModes.EnableEditAndContinue) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Debug") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("HarfBuzzSharp is a cross-platform OpenType text shaping engine for .NET platforms.") @@ -1397,22 +1469,22 @@ System.Reflection.AssemblyInformationalVersion("1.4.6.1") - + System.Reflection.AssemblyProduct("HarfBuzzSharp") - + System.Reflection.AssemblyTitle("HarfBuzzSharp") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v1.3", FrameworkDisplayName="") @@ -1442,24 +1514,30 @@ System.Reflection.AssemblyInformationalVersion("1.4.6.0-c1ca16") + + System.Reflection.AssemblyFileVersion("1.4.6.2") + + + System.Reflection.AssemblyInformationalVersion("1.4.6.2-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - + [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 79 15 99 77 d2 d0 3a 8e 6b ea 7a 2e 74 e8 d1 af cc 93 e8 85 19 74 95 2b b4 80 a1 2c 91 34 47 4d 04 06 24 47 c3 7e 0e 68 c0 80 53 6f cf 3c 3f be 2f f9 c9 79 ce 99 84 75 e5 06 e8 ce 82 dd 5b 0f 35 0d c1 0e 93 bf 2e ee cf 87 4b 24 77 0c 50 81 db ea 74 47 fd da fa 27 7b 22 de 47 d6 ff ea 44 96 74 a4 f9 fc cf 84 d1 50 69 08 93 80 28 4d bd d3 5f 46 cd ff 12 a1 bd 78 e4 ef 00 65 d0 16 df ] - + System.Diagnostics.Debuggable(System.Diagnostics.DebuggableAttribute+DebuggingModes.IgnoreSymbolStoreSequencePoints) - + System.Reflection.AssemblyCompany("Xamarin Inc.") - + System.Reflection.AssemblyConfiguration("Release") - + System.Reflection.AssemblyCopyright("© Microsoft Corporation. All rights reserved.") - + System.Reflection.AssemblyDescription("This package adds text shaping support to SkiaSharp via HarfBuzz.") @@ -1468,22 +1546,22 @@ System.Reflection.AssemblyInformationalVersion("1.60.3.0") - + System.Reflection.AssemblyProduct("SkiaSharp.HarfBuzz") - + System.Reflection.AssemblyTitle("SkiaSharp.HarfBuzz") - + System.Resources.NeutralResourcesLanguage("en") - + System.Runtime.CompilerServices.CompilationRelaxations(8) - + System.Runtime.CompilerServices.RuntimeCompatibility(WrapNonExceptionThrows=true) - + System.Runtime.Versioning.TargetFramework(".NETStandard,Version=v1.3", FrameworkDisplayName="") @@ -1516,11 +1594,17 @@ System.Reflection.AssemblyInformationalVersion("1.60.2.0") + + System.Reflection.AssemblyFileVersion("1.68.0.0") + + + System.Reflection.AssemblyInformationalVersion("1.68.0.0-efc709437fb8b15785a6f4ca213d1435f0dd7a07") + - To be added. - To be added. + + © Microsoft Corporation. All rights reserved. @@ -1537,8 +1621,10 @@ + + @@ -1547,6 +1633,7 @@ + @@ -1571,6 +1658,7 @@ + @@ -1600,12 +1688,15 @@ + + + @@ -1627,6 +1718,7 @@ + @@ -1642,6 +1734,7 @@ + @@ -1697,6 +1790,7 @@ + @@ -2037,6 +2131,116 @@ + + + + + + + + + ExtensionMethod + + SkiaSharp.SKColorType + + + + + + The to convert. + Converts a to an equivalent , if possible. + + + + + + + + + + + + + ExtensionMethod + + SkiaSharp.SKFilterQuality + + + + + + The to convert. + Converts a to an equivalent . + + + + + + + + + + + + + ExtensionMethod + + System.UInt32 + + + + + + The to convert. + Converts a to the equivalent OpenGL sized format, if possible. + + + + + + + + + + + + + ExtensionMethod + + System.UInt32 + + + + + + The to convert. + Converts a to the equivalent OpenGL sized format, if possible. + + + + + + + + + + + + + ExtensionMethod + + SkiaSharp.GRPixelConfig + + + + + + The to convert. + Converts a to an equivalent , if possible. + + + + @@ -5757,6 +5961,50 @@ + + + + + + + + + ExtensionMethod + + ElmSharp.Size + + + + + + The SkiaSharp size. + Converts a SkiaSharp size into a Tizen size. + + + + + + + + + + + + + ExtensionMethod + + ElmSharp.Size + + + + + + The SkiaSharp size. + Converts a SkiaSharp size into a Tizen size. + + + + @@ -5867,6 +6115,50 @@ + + + + + + + + + ExtensionMethod + + SkiaSharp.SKSize + + + + + + The Tizen size. + Converts a Tizen size into a SkiaSharp size. + + + + + + + + + + + + + ExtensionMethod + + SkiaSharp.SKSizeI + + + + + + The Tizen size. + Converts a Tizen size into a SkiaSharp size. + + + + diff --git a/externals/depot_tools b/externals/depot_tools index 92df4e63ab..71e3be7a50 160000 --- a/externals/depot_tools +++ b/externals/depot_tools @@ -1 +1 @@ -Subproject commit 92df4e63abbe9ffe24ff632927acea5523112aeb +Subproject commit 71e3be7a50c21faeee91ed99a8d5addfb7594e7c diff --git a/externals/skia b/externals/skia index 1c582c77c9..9ec6cb29f4 160000 --- a/externals/skia +++ b/externals/skia @@ -1 +1 @@ -Subproject commit 1c582c77c986b63cdd81a560ae66d2d76d2b8c59 +Subproject commit 9ec6cb29f41014890f61ed1329fc934bfd9167ae diff --git a/samples/Basic/Docker/.dockerignore b/samples/Basic/Docker/.dockerignore new file mode 100644 index 0000000000..df2e0fe502 --- /dev/null +++ b/samples/Basic/Docker/.dockerignore @@ -0,0 +1,9 @@ +.dockerignore +.env +.git +.gitignore +.vs +.vscode +*/bin +*/obj +**/.toolstarget \ No newline at end of file diff --git a/samples/Basic/Docker/SkiaSharpSample.Docker.sln b/samples/Basic/Docker/SkiaSharpSample.Docker.sln new file mode 100644 index 0000000000..4adf3ad12b --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample.Docker.sln @@ -0,0 +1,35 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28124.53 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SkiaSharpSample", "SkiaSharpSample\SkiaSharpSample.csproj", "{C1CEAB8C-4B2C-4F00-87AB-4E5BEE97007F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{B6BA03F1-8904-4C3F-9C43-426A70A80678}" + ProjectSection(SolutionItems) = preProject + .dockerignore = .dockerignore + linux.Dockerfile = linux.Dockerfile + linux.run-sample.ps1 = linux.run-sample.ps1 + sample-base.ps1 = sample-base.ps1 + windows.Dockerfile = windows.Dockerfile + windows.run-sample.ps1 = windows.run-sample.ps1 + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {C1CEAB8C-4B2C-4F00-87AB-4E5BEE97007F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C1CEAB8C-4B2C-4F00-87AB-4E5BEE97007F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C1CEAB8C-4B2C-4F00-87AB-4E5BEE97007F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C1CEAB8C-4B2C-4F00-87AB-4E5BEE97007F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {0E235A49-8A5D-45AD-A87D-5D9A91031248} + EndGlobalSection +EndGlobal diff --git a/samples/Basic/Docker/SkiaSharpSample/Controllers/Images.cs b/samples/Basic/Docker/SkiaSharpSample/Controllers/Images.cs new file mode 100644 index 0000000000..5677602c7f --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/Controllers/Images.cs @@ -0,0 +1,63 @@ +using System.Collections.Generic; +using Microsoft.AspNetCore.Mvc; +using SkiaSharp; + +namespace SkiaSharpSample.Controllers +{ + [Route("api/[controller]")] + [ApiController] + public class ImagesController : ControllerBase + { + // GET api/images + [HttpGet] + public ActionResult> Get() + { + using (var image = CreateImage("SkiaSharp")) + { + return File(image.ToArray(), "image/png"); + } + } + + // GET api/image/text + [HttpGet("{text}")] + public ActionResult Get(string text) + { + using (var image = CreateImage(text ?? "SkiaSharp")) + { + return File(image.ToArray(), "image/png"); + } + } + + private SKData CreateImage(string text) + { + // create a surface + var info = new SKImageInfo(256, 256); + using (var surface = SKSurface.Create(info)) + { + // the the canvas and properties + var canvas = surface.Canvas; + + // make sure the canvas is blank + canvas.Clear(SKColors.White); + + // draw some text + var paint = new SKPaint + { + Color = SKColors.Black, + IsAntialias = true, + Style = SKPaintStyle.Fill, + TextAlign = SKTextAlign.Center, + TextSize = 24 + }; + var coord = new SKPoint(info.Width / 2, (info.Height + paint.TextSize) / 2); + canvas.DrawText(text, coord, paint); + + // retrieve the encoded image + using (var image = surface.Snapshot()) + { + return image.Encode(SKEncodedImageFormat.Png, 100); + } + } + } + } +} diff --git a/samples/Basic/Docker/SkiaSharpSample/Program.cs b/samples/Basic/Docker/SkiaSharpSample/Program.cs new file mode 100644 index 0000000000..153ed49334 --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/Program.cs @@ -0,0 +1,17 @@ +using Microsoft.AspNetCore; +using Microsoft.AspNetCore.Hosting; + +namespace SkiaSharpSample +{ + public class Program + { + public static void Main(string[] args) + { + CreateWebHostBuilder(args).Build().Run(); + } + + public static IWebHostBuilder CreateWebHostBuilder(string[] args) => + WebHost.CreateDefaultBuilder(args) + .UseStartup(); + } +} diff --git a/samples/Basic/Docker/SkiaSharpSample/Properties/launchSettings.json b/samples/Basic/Docker/SkiaSharpSample/Properties/launchSettings.json new file mode 100644 index 0000000000..9724ea4597 --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/Properties/launchSettings.json @@ -0,0 +1,27 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:29237/", + "sslPort": 0 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "SkiaSharpSample": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "http://localhost:29238/" + } + } +} \ No newline at end of file diff --git a/samples/Basic/Docker/SkiaSharpSample/SkiaSharpSample.csproj b/samples/Basic/Docker/SkiaSharpSample/SkiaSharpSample.csproj new file mode 100644 index 0000000000..3298aa0e53 --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/SkiaSharpSample.csproj @@ -0,0 +1,20 @@ + + + + netcoreapp2.1 + Windows + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/samples/Basic/Docker/SkiaSharpSample/Startup.cs b/samples/Basic/Docker/SkiaSharpSample/Startup.cs new file mode 100644 index 0000000000..45c1cdfebe --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/Startup.cs @@ -0,0 +1,35 @@ +using Microsoft.AspNetCore.Builder; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore.Mvc; +using Microsoft.Extensions.Configuration; +using Microsoft.Extensions.DependencyInjection; + +namespace SkiaSharpSample +{ + public class Startup + { + public Startup(IConfiguration configuration) + { + Configuration = configuration; + } + + public IConfiguration Configuration { get; } + + // This method gets called by the runtime. Use this method to add services to the container. + public void ConfigureServices(IServiceCollection services) + { + services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1); + } + + // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. + public void Configure(IApplicationBuilder app, IHostingEnvironment env) + { + if (env.IsDevelopment()) + { + app.UseDeveloperExceptionPage(); + } + + app.UseMvc(); + } + } +} diff --git a/samples/Basic/Docker/SkiaSharpSample/appsettings.Development.json b/samples/Basic/Docker/SkiaSharpSample/appsettings.Development.json new file mode 100644 index 0000000000..e203e9407e --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } + } +} diff --git a/samples/Basic/Docker/SkiaSharpSample/appsettings.json b/samples/Basic/Docker/SkiaSharpSample/appsettings.json new file mode 100644 index 0000000000..def9159a7d --- /dev/null +++ b/samples/Basic/Docker/SkiaSharpSample/appsettings.json @@ -0,0 +1,8 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/samples/Basic/Docker/linux.Dockerfile b/samples/Basic/Docker/linux.Dockerfile new file mode 100644 index 0000000000..980b9de826 --- /dev/null +++ b/samples/Basic/Docker/linux.Dockerfile @@ -0,0 +1,51 @@ + +################################################################################ +# runtime +# +# Downloads the files that are needed for running an ASP.NET Core app. +################################################################################ + +FROM microsoft/dotnet:2.1-aspnetcore-runtime AS runtime +RUN apt-get update \ + && apt-get install -y --no-install-recommends libfontconfig1 \ + && rm -rf /var/lib/apt/lists/* + + +################################################################################ +# build +# +# Builds the app. +################################################################################ + +FROM microsoft/dotnet:2.1-sdk AS build +WORKDIR /src +COPY SkiaSharpSample/SkiaSharpSample.csproj SkiaSharpSample/ +COPY packages/ packages/ +RUN dotnet restore SkiaSharpSample/SkiaSharpSample.csproj -s "/src/packages" -s "https://api.nuget.org/v3/index.json" + +COPY . . +WORKDIR /src/SkiaSharpSample +RUN dotnet build SkiaSharpSample.csproj -c Release -o /app + + +################################################################################ +# publish +# +# Publishes the app. +################################################################################ + +FROM build AS publish +RUN dotnet publish SkiaSharpSample.csproj -c Release -o /app + + +################################################################################ +# final +# +# Copies and runs the app. +################################################################################ + +FROM runtime AS final +WORKDIR /app +EXPOSE 80 +COPY --from=publish /app . +ENTRYPOINT dotnet SkiaSharpSample.dll diff --git a/samples/Basic/Docker/linux.run-sample.ps1 b/samples/Basic/Docker/linux.run-sample.ps1 new file mode 100644 index 0000000000..e8a9667ff4 --- /dev/null +++ b/samples/Basic/Docker/linux.run-sample.ps1 @@ -0,0 +1 @@ +. .\sample-base.ps1 -Platform "linux" \ No newline at end of file diff --git a/samples/Basic/Docker/sample-base.ps1 b/samples/Basic/Docker/sample-base.ps1 new file mode 100644 index 0000000000..df2d570304 --- /dev/null +++ b/samples/Basic/Docker/sample-base.ps1 @@ -0,0 +1,54 @@ +param( + [ValidateSet("linux", "windows")] + [string]$Platform = "linux" +) + +$name = "skiasharp-basic-$Platform-sample" + +# build the container +docker stop $name +docker rm $name +New-Item "packages" -ItemType Directory -Force | Out-Null +docker build --platform $Platform --tag $name --file "$Platform.Dockerfile" . + +# run +docker stop $name +docker rm $name +docker run --detach --name $name --publish "80:80" $name +$ip = docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" $name + +# get a response (retry on 404 as the server may take a second to start up) +try { + $retry = 0 + do { + $imageResponse = try { Invoke-WebRequest "http://$ip/api/images" } catch { $_.Exception.Response } + + # we were successful on 200 and > 0 content + if ($imageResponse.StatusCode -eq 200) { + if ($imageResponse.Content.Length -gt 0) { + break + } else { + throw "Empty response." + } + } + + # errors + if ($imageResponse -eq $null -or $imageResponse.StatusCode -ge 404) { + # the server might not be up yet + Write-Host "Retrying..." + Start-Sleep 5 + $retry += 5 + } else { + # some error occured + throw "Error: $imageResponse.StatusDescription" + } + } while ($retry -lt 30) + + if ($retry -ge 30) { + throw "Timed out." + } +} finally { + # clean up + docker stop $name + docker rm $name +} diff --git a/samples/Basic/Docker/windows.Dockerfile b/samples/Basic/Docker/windows.Dockerfile new file mode 100644 index 0000000000..56bd38fc64 --- /dev/null +++ b/samples/Basic/Docker/windows.Dockerfile @@ -0,0 +1,111 @@ +# escape=` + +################################################################################ +# sdk +# +# Downloads the files that are needed for building an ASP.NET Core app. +################################################################################ + +FROM microsoft/windowsservercore:1803 AS sdk +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +# install .NET Core SDK +ENV DOTNET_SDK_VERSION 2.1.403 +RUN Invoke-WebRequest -OutFile dotnet.zip https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$Env:DOTNET_SDK_VERSION/dotnet-sdk-$Env:DOTNET_SDK_VERSION-win-x64.zip; ` + $dotnet_sha512 = '52bb1117f170587eaceec1f78cdc41a41d4272154b5535bf61c86bfb75287323cac248434b05eabe4bc7716facabdb0f6475015cbb63f38d91af662618a06720'; ` + if ((Get-FileHash dotnet.zip -Algorithm sha512).Hash -ne $dotnet_sha512) { ` + Write-Host 'CHECKSUM VERIFICATION FAILED!'; ` + exit 1; ` + }; ` + ` + Expand-Archive dotnet.zip -DestinationPath $Env:ProgramFiles\dotnet; ` + Remove-Item -Force dotnet.zip + +# set PATH +RUN setx /M PATH $($Env:PATH + ';' + $Env:ProgramFiles + '\dotnet') + +# Configure Kestrel web server to bind to port 80 when present +ENV ASPNETCORE_URLS=http://+:80 ` + # Enable detection of running in a container + DOTNET_RUNNING_IN_CONTAINER=true ` + # Enable correct mode for dotnet watch (only mode supported in a container) + DOTNET_USE_POLLING_FILE_WATCHER=true ` + # Skip extraction of XML docs - generally not useful within an image/container - helps performance + NUGET_XMLDOC_MODE=skip + +# Trigger first run experience by running arbitrary cmd to populate local package cache +RUN dotnet help + + +################################################################################ +# runtime +# +# Downloads the files that are needed for running an ASP.NET Core app. +################################################################################ + +FROM microsoft/windowsservercore:1803 AS runtime +SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"] + +# install ASP.NET Core Runtime +ENV ASPNETCORE_VERSION 2.1.5 +RUN Invoke-WebRequest -OutFile aspnetcore.zip https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$Env:ASPNETCORE_VERSION/aspnetcore-runtime-$Env:ASPNETCORE_VERSION-win-x64.zip; ` + $aspnetcore_sha512 = '98224c8646b7eab234b97f52735905bb0219ea2290490e408ff469459ea82116068854e7b9c5869bccef780b4ceac17477f34f23e06a0a6bedca445a3866d73e'; ` + if ((Get-FileHash aspnetcore.zip -Algorithm sha512).Hash -ne $aspnetcore_sha512) { ` + Write-Host 'CHECKSUM VERIFICATION FAILED!'; ` + exit 1; ` + }; ` + ` + Expand-Archive aspnetcore.zip -DestinationPath $Env:ProgramFiles\dotnet; ` + Remove-Item -Force aspnetcore.zip + +RUN setx /M PATH $($Env:PATH + ';' + $Env:ProgramFiles + '\dotnet') + +# install Visual C++ Redistributable +RUN Invoke-WebRequest -OutFile vc_redist.x64.exe https://aka.ms/vs/15/release/vc_redist.x64.exe; ` + Start-Process vc_redist.x64.exe -ArgumentList '/install /passive /norestart' -Wait; ` + Remove-Item -Force vc_redist.x64.exe + +# Configure web servers to bind to port 80 when present +ENV ASPNETCORE_URLS=http://+:80 ` + # Enable detection of running in a container + DOTNET_RUNNING_IN_CONTAINERS=true + + +################################################################################ +# build +# +# Builds the app. +################################################################################ + +FROM sdk AS build +WORKDIR /src +COPY SkiaSharpSample/SkiaSharpSample.csproj SkiaSharpSample/ +COPY packages/ packages/ +RUN dotnet restore SkiaSharpSample/SkiaSharpSample.csproj -s "/src/packages" -s "https://api.nuget.org/v3/index.json" + +COPY . . +WORKDIR /src/SkiaSharpSample +RUN dotnet build SkiaSharpSample.csproj -c Release -o /app + + +################################################################################ +# publish +# +# Publishes the app. +################################################################################ + +FROM build AS publish +RUN dotnet publish SkiaSharpSample.csproj -c Release -o /app + + +################################################################################ +# final +# +# Copies and runs the app. +################################################################################ + +FROM runtime AS final +WORKDIR /app +EXPOSE 80 +COPY --from=publish /app . +ENTRYPOINT dotnet SkiaSharpSample.dll diff --git a/samples/Basic/Docker/windows.run-sample.ps1 b/samples/Basic/Docker/windows.run-sample.ps1 new file mode 100644 index 0000000000..f6bc216b3d --- /dev/null +++ b/samples/Basic/Docker/windows.run-sample.ps1 @@ -0,0 +1 @@ +. .\sample-base.ps1 -Platform "windows" \ No newline at end of file diff --git a/samples/Basic/watchOS/SkiaSharpSample/SkiaSharpSample.csproj b/samples/Basic/watchOS/SkiaSharpSample/SkiaSharpSample.csproj index a058ba58c0..c5662918df 100644 --- a/samples/Basic/watchOS/SkiaSharpSample/SkiaSharpSample.csproj +++ b/samples/Basic/watchOS/SkiaSharpSample/SkiaSharpSample.csproj @@ -26,7 +26,6 @@ None i386, x86_64 HttpClientHandler - x86 pdbonly @@ -40,7 +39,6 @@ Full ARMv7, ARM64 HttpClientHandler - x86 pdbonly @@ -53,7 +51,6 @@ None i386, x86_64 HttpClientHandler - x86 true @@ -74,7 +71,6 @@ SdkOnly ARMv7, ARM64 HttpClientHandler - x86 diff --git a/samples/Gallery/Desktop/SkiaSharpSample/Form1.cs b/samples/Gallery/Desktop/SkiaSharpSample/Form1.cs index 93faee3c2e..0189e5aef1 100644 --- a/samples/Gallery/Desktop/SkiaSharpSample/Form1.cs +++ b/samples/Gallery/Desktop/SkiaSharpSample/Form1.cs @@ -141,7 +141,7 @@ private void OnToggleSlideshow(object sender, EventArgs e) private void OnPaintGL(object sender, SKPaintGLSurfaceEventArgs e) { - OnPaintSurface(e.Surface.Canvas, e.RenderTarget.Width, e.RenderTarget.Height); + OnPaintSurface(e.Surface.Canvas, e.BackendRenderTarget.Width, e.BackendRenderTarget.Height); } private void OnPaintCanvas(object sender, SKPaintSurfaceEventArgs e) diff --git a/samples/Gallery/Shared/SampleBackends.cs b/samples/Gallery/Shared/SampleBackends.cs index 65fb9ca657..6b908a4404 100644 --- a/samples/Gallery/Shared/SampleBackends.cs +++ b/samples/Gallery/Shared/SampleBackends.cs @@ -8,7 +8,8 @@ public enum SampleBackends Memory = 1 << 0, OpenGL = 1 << 1, Vulkan = 1 << 2, + Metal = 1 << 3, - All = Memory | OpenGL | Vulkan, + All = Memory | OpenGL | Vulkan | Metal, } } diff --git a/samples/Gallery/Shared/Samples/BitmapDecoderSample.cs b/samples/Gallery/Shared/Samples/BitmapDecoderSample.cs index 041e90ea0f..5c87be237d 100644 --- a/samples/Gallery/Shared/Samples/BitmapDecoderSample.cs +++ b/samples/Gallery/Shared/Samples/BitmapDecoderSample.cs @@ -36,8 +36,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) // decode the image using (var bitmap = new SKBitmap(info.Width, info.Height, info.ColorType, info.IsOpaque ? SKAlphaType.Opaque : SKAlphaType.Premul)) { - IntPtr length; - var result = codec.GetPixels(bitmap.Info, bitmap.GetPixels(out length)); + var result = codec.GetPixels(bitmap.Info, bitmap.GetPixels()); if (result == SKCodecResult.Success || result == SKCodecResult.IncompleteInput) { var x = 25; diff --git a/samples/Gallery/Shared/Samples/BitmapScalerSample.cs b/samples/Gallery/Shared/Samples/BitmapScalerSample.cs index 8bc48c48cd..a8b0ed0ee6 100644 --- a/samples/Gallery/Shared/Samples/BitmapScalerSample.cs +++ b/samples/Gallery/Shared/Samples/BitmapScalerSample.cs @@ -7,6 +7,7 @@ namespace SkiaSharpSample.Samples { [Preserve(AllMembers = true)] + [Obsolete] public class BitmapScalerSample : SampleBase { private List methods; diff --git a/samples/Gallery/Shared/Samples/BitmapSubsetDecoderSample.cs b/samples/Gallery/Shared/Samples/BitmapSubsetDecoderSample.cs index ed4262e0f0..fe6391910f 100644 --- a/samples/Gallery/Shared/Samples/BitmapSubsetDecoderSample.cs +++ b/samples/Gallery/Shared/Samples/BitmapSubsetDecoderSample.cs @@ -41,9 +41,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) var options = new SKCodecOptions(subset); using (var bitmap = new SKBitmap(subset.Width, subset.Height, info.ColorType, SKAlphaType.Premul)) { - IntPtr length; - int count = 0; - var result = codec.GetPixels(bitmap.Info, bitmap.GetPixels(out length), options, null, ref count); + var result = codec.GetPixels(bitmap.Info, bitmap.GetPixels(), options); if (result == SKCodecResult.Success || result == SKCodecResult.IncompleteInput) { canvas.DrawBitmap(bitmap, info.Width + 20, subset.Top + 10); diff --git a/samples/Gallery/Shared/Samples/BlurMaskFilterSample.cs b/samples/Gallery/Shared/Samples/BlurMaskFilterSample.cs index 12d16908e3..189125debd 100644 --- a/samples/Gallery/Shared/Samples/BlurMaskFilterSample.cs +++ b/samples/Gallery/Shared/Samples/BlurMaskFilterSample.cs @@ -19,7 +19,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) canvas.DrawColor(SKColors.White); using (var paint = new SKPaint()) - using (var filter = SKMaskFilter.CreateBlur(SKBlurStyle.Normal, 5.0f, SKBlurMaskFilterFlags.HighQuality)) + using (var filter = SKMaskFilter.CreateBlur(SKBlurStyle.Normal, 5.0f)) { paint.IsAntialias = true; paint.TextSize = 120; @@ -41,7 +41,7 @@ private void DrawInnerBlurRectangle(SKCanvas canvas, SKRect rect) { // create the rounded rectangle var roundedRect = new SKPath(); - roundedRect.AddRoundedRect(rect, 10, 10); + roundedRect.AddRoundRect(rect, 10, 10); // draw the white background var p = new SKPaint @@ -61,13 +61,13 @@ private void DrawInnerBlurRectangle(SKCanvas canvas, SKRect rect) p.Color = SKColors.Black; p.Style = SKPaintStyle.Stroke; p.StrokeWidth = 2; - p.MaskFilter = SKMaskFilter.CreateBlur(SKBlurStyle.Normal, 2, SKBlurMaskFilterFlags.HighQuality); + p.MaskFilter = SKMaskFilter.CreateBlur(SKBlurStyle.Normal, 2); canvas.Translate(0.5f, 1.5f); canvas.DrawPath(roundedRect, p); // draw the narrow blur at the top p.StrokeWidth = 1; - p.MaskFilter = SKMaskFilter.CreateBlur(SKBlurStyle.Normal, 1, SKBlurMaskFilterFlags.HighQuality); + p.MaskFilter = SKMaskFilter.CreateBlur(SKBlurStyle.Normal, 1); canvas.DrawPath(roundedRect, p); } diff --git a/samples/Gallery/Shared/Samples/ColorMatrixColorFilterSample.cs b/samples/Gallery/Shared/Samples/ColorMatrixColorFilterSample.cs index 4012a60bae..5686855aca 100644 --- a/samples/Gallery/Shared/Samples/ColorMatrixColorFilterSample.cs +++ b/samples/Gallery/Shared/Samples/ColorMatrixColorFilterSample.cs @@ -94,9 +94,9 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) var w = (float)width / cols; var h = (float)height / rows; - for (int y = 0; y < rows; y++) + for (var y = 0; y < rows; y++) { - for (int x = 0; x < cols; x++) + for (var x = 0; x < cols; x++) { f(SKRect.Create(x * w, y * h, w, h), matices[y * cols + x]); } diff --git a/samples/Gallery/Shared/Samples/ColorTableColorFilterSample.cs b/samples/Gallery/Shared/Samples/ColorTableColorFilterSample.cs index e169d20eb8..2b24a739ea 100644 --- a/samples/Gallery/Shared/Samples/ColorTableColorFilterSample.cs +++ b/samples/Gallery/Shared/Samples/ColorTableColorFilterSample.cs @@ -19,7 +19,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) canvas.Clear(SKColors.White); var ct = new byte[256]; - for (int i = 0; i < 256; ++i) + for (var i = 0; i < 256; ++i) { var x = (i - 96) * 255 / 64; ct[i] = x < 0 ? (byte)0 : x > 255 ? (byte)255 : (byte)x; diff --git a/samples/Gallery/Shared/Samples/CustomFontsSample.cs b/samples/Gallery/Shared/Samples/CustomFontsSample.cs index a571ba36ce..6c5bb5b3ae 100644 --- a/samples/Gallery/Shared/Samples/CustomFontsSample.cs +++ b/samples/Gallery/Shared/Samples/CustomFontsSample.cs @@ -18,7 +18,7 @@ public CustomFontsSample() protected override void OnDrawSample(SKCanvas canvas, int width, int height) { - string text = "\u03A3 and \u0750"; + var text = "\u03A3 and \u0750"; canvas.Clear(SKColors.White); diff --git a/samples/Gallery/Shared/Samples/DngDecoderSample.cs b/samples/Gallery/Shared/Samples/DngDecoderSample.cs index 2af38e40c8..70bf044aef 100644 --- a/samples/Gallery/Shared/Samples/DngDecoderSample.cs +++ b/samples/Gallery/Shared/Samples/DngDecoderSample.cs @@ -36,8 +36,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) // decode the image using (var bitmap = new SKBitmap(info.Width, info.Height, info.ColorType, info.IsOpaque ? SKAlphaType.Opaque : SKAlphaType.Premul)) { - IntPtr length; - var result = codec.GetPixels(bitmap.Info, bitmap.GetPixels(out length)); + var result = codec.GetPixels(bitmap.Info, bitmap.GetPixels()); if (result == SKCodecResult.Success || result == SKCodecResult.IncompleteInput) { var x = 25; diff --git a/samples/Gallery/Shared/Samples/FilledHeptagramSample.cs b/samples/Gallery/Shared/Samples/FilledHeptagramSample.cs index ec215e12fd..8f7ce0304d 100644 --- a/samples/Gallery/Shared/Samples/FilledHeptagramSample.cs +++ b/samples/Gallery/Shared/Samples/FilledHeptagramSample.cs @@ -25,7 +25,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) using (var path = new SKPath()) { path.MoveTo(R, 0.0f); - for (int i = 1; i < 7; ++i) + for (var i = 1; i < 7; ++i) { var theta = 3f * i * TAU / 7f; path.LineTo(R * (float)Math.Cos(theta), R * (float)Math.Sin(theta)); diff --git a/samples/Gallery/Shared/Samples/ManipulatedBitmapShaderSample.cs b/samples/Gallery/Shared/Samples/ManipulatedBitmapShaderSample.cs index e08662bbf7..46b66e1eee 100644 --- a/samples/Gallery/Shared/Samples/ManipulatedBitmapShaderSample.cs +++ b/samples/Gallery/Shared/Samples/ManipulatedBitmapShaderSample.cs @@ -22,7 +22,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) { // invert the pixels var pixels = source.Pixels; - for (int i = 0; i < pixels.Length; i++) + for (var i = 0; i < pixels.Length; i++) { pixels[i] = new SKColor( (byte)(255 - pixels[i].Red), diff --git a/samples/Gallery/Shared/Samples/PathBoundsSample.cs b/samples/Gallery/Shared/Samples/PathBoundsSample.cs index d0f41ee837..974347e773 100644 --- a/samples/Gallery/Shared/Samples/PathBoundsSample.cs +++ b/samples/Gallery/Shared/Samples/PathBoundsSample.cs @@ -19,8 +19,8 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) canvas.Clear(SKColors.White); canvas.Scale(2, 2); - using (SKPaint paint = new SKPaint()) - using (SKPaint textPaint = new SKPaint()) + using (var paint = new SKPaint()) + using (var textPaint = new SKPaint()) { paint.Style = SKPaintStyle.Stroke; paint.StrokeWidth = 1; @@ -29,7 +29,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) textPaint.IsAntialias = true; - using (SKPath path = new SKPath()) + using (var path = new SKPath()) { path.MoveTo(-6.2157825e-7f, -25.814698f); path.RCubicTo(-34.64102137842175f, 19.9999998f, 0f, 40f, 0f, 40f); @@ -39,8 +39,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) paint.Color = SampleMedia.Colors.XamarinLightBlue; canvas.DrawPath(path, paint); - SKRect rect; - path.GetBounds(out rect); + path.GetBounds(out var rect); paint.Color = SampleMedia.Colors.XamarinDarkBlue; canvas.DrawRect(rect, paint); diff --git a/samples/Gallery/Shared/Samples/PathConicToQuadsSample.cs b/samples/Gallery/Shared/Samples/PathConicToQuadsSample.cs index 455dc4886d..8983f7a9b4 100644 --- a/samples/Gallery/Shared/Samples/PathConicToQuadsSample.cs +++ b/samples/Gallery/Shared/Samples/PathConicToQuadsSample.cs @@ -26,8 +26,8 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) new SKPoint(100, 150) }; - using (SKPaint paint = new SKPaint()) - using (SKPaint textPaint = new SKPaint()) + using (var paint = new SKPaint()) + using (var textPaint = new SKPaint()) { paint.Style = SKPaintStyle.Stroke; paint.StrokeWidth = 5; @@ -36,7 +36,7 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) textPaint.IsAntialias = true; - using (SKPath path = new SKPath()) + using (var path = new SKPath()) { // create a conic path path.MoveTo(points[0]); @@ -47,16 +47,16 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) canvas.DrawPath(path, paint); // get the quads from the conic points - SKPoint[] pts; - var quads = SKPath.ConvertConicToQuads(points[0], points[1], points[2], 10, out pts, 2); + var quads = SKPath.ConvertConicToQuads(points[0], points[1], points[2], 10, out var pts, 2); // move the points on a bit - for (int i = 0; i < pts.Length; i++) pts[i].Offset(120, 0); + for (var i = 0; i < pts.Length; i++) + pts[i].Offset(120, 0); // draw the quad-based path using (var quadsPath = new SKPath()) { quadsPath.MoveTo(pts[0].X, pts[0].Y); - for (int i = 0; i < quads; i++) + for (var i = 0; i < quads; i++) { var idx = i * 2; quadsPath.CubicTo( @@ -70,7 +70,8 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) } // move the points on a bit - for (int i = 0; i < pts.Length; i++) pts[i].Offset(120, 0); + for (var i = 0; i < pts.Length; i++) + pts[i].Offset(120, 0); // draw the dots paint.Color = SampleMedia.Colors.XamarinGreen; canvas.DrawPoints(SKPointMode.Points, pts, paint); diff --git a/samples/Gallery/Shared/Samples/PathEffect2DPathSample.cs b/samples/Gallery/Shared/Samples/PathEffect2DPathSample.cs index 097690895d..bb136968b0 100644 --- a/samples/Gallery/Shared/Samples/PathEffect2DPathSample.cs +++ b/samples/Gallery/Shared/Samples/PathEffect2DPathSample.cs @@ -32,9 +32,11 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) SKMatrix.PreConcat(ref offsetMatrix, SKMatrix.MakeSkew(0.5f, 0)); // create the paint - var paint = new SKPaint(); - paint.PathEffect = SKPathEffect.Create2DPath(offsetMatrix, path); - paint.Color = SKColors.LightGray; + var paint = new SKPaint + { + PathEffect = SKPathEffect.Create2DPath(offsetMatrix, path), + Color = SKColors.LightGray + }; // draw a rectangle canvas.DrawRect(SKRect.Create(width + blockSize, height + blockSize), paint); diff --git a/samples/Gallery/Shared/Samples/PathMeasureSample.cs b/samples/Gallery/Shared/Samples/PathMeasureSample.cs index b21a86fefd..7178a8b13c 100644 --- a/samples/Gallery/Shared/Samples/PathMeasureSample.cs +++ b/samples/Gallery/Shared/Samples/PathMeasureSample.cs @@ -18,8 +18,8 @@ protected override void OnDrawSample(SKCanvas canvas, int width, int height) { canvas.Clear(SKColors.White); - using (SKPaint paint = new SKPaint()) - using (SKPath path = new SKPath()) + using (var paint = new SKPaint()) + using (var path = new SKPath()) { paint.Style = SKPaintStyle.Stroke; paint.StrokeWidth = 10; diff --git a/samples/Gallery/UWP/SkiaSharpSample/MainPage.xaml.cs b/samples/Gallery/UWP/SkiaSharpSample/MainPage.xaml.cs index b7a31191eb..2e40552f88 100644 --- a/samples/Gallery/UWP/SkiaSharpSample/MainPage.xaml.cs +++ b/samples/Gallery/UWP/SkiaSharpSample/MainPage.xaml.cs @@ -158,7 +158,7 @@ private void OnPaintCanvas(object sender, SKPaintSurfaceEventArgs e) private void OnPaintGL(object sender, SKPaintGLSurfaceEventArgs e) { - OnPaintSurface(e.Surface.Canvas, e.RenderTarget.Width, e.RenderTarget.Height); + OnPaintSurface(e.Surface.Canvas, e.BackendRenderTarget.Width, e.BackendRenderTarget.Height); } private void SetSample(SampleBase newSample) diff --git a/samples/Gallery/WPF/SkiaSharpSample/MainWindow.xaml.cs b/samples/Gallery/WPF/SkiaSharpSample/MainWindow.xaml.cs index 212c7aa2a5..1271a74bf5 100644 --- a/samples/Gallery/WPF/SkiaSharpSample/MainWindow.xaml.cs +++ b/samples/Gallery/WPF/SkiaSharpSample/MainWindow.xaml.cs @@ -161,7 +161,7 @@ private void OnGLControlHost(object sender, EventArgs e) private void OnPaintGL(object sender, SKPaintGLSurfaceEventArgs e) { - OnPaintSurface(e.Surface.Canvas, e.RenderTarget.Width, e.RenderTarget.Height); + OnPaintSurface(e.Surface.Canvas, e.BackendRenderTarget.Width, e.BackendRenderTarget.Height); } private void OnPaintCanvas(object sender, SKPaintSurfaceEventArgs e) diff --git a/samples/Gallery/Xamarin.Forms/Core/DetailContentsPage.xaml.cs b/samples/Gallery/Xamarin.Forms/Core/DetailContentsPage.xaml.cs index cff1594c9e..84037dbcec 100644 --- a/samples/Gallery/Xamarin.Forms/Core/DetailContentsPage.xaml.cs +++ b/samples/Gallery/Xamarin.Forms/Core/DetailContentsPage.xaml.cs @@ -62,6 +62,7 @@ public void SwitchBackend(SampleBackends backend) canvas.IsVisible = false; break; case SampleBackends.Vulkan: + case SampleBackends.Metal: default: DisplayAlert("Configure Backend", "This functionality is not yet implemented.", "OK"); break; @@ -124,7 +125,7 @@ private void OnPaintSample(object sender, SKPaintSurfaceEventArgs e) private void OnPaintGLSample(object sender, SKPaintGLSurfaceEventArgs e) { - Sample?.DrawSample(e.Surface.Canvas, e.RenderTarget.Width, e.RenderTarget.Height); + Sample?.DrawSample(e.Surface.Canvas, e.BackendRenderTarget.Width, e.BackendRenderTarget.Height); //lastImage?.Dispose(); //lastImage = e.Surface.Snapshot(); diff --git a/samples/Gallery/Xamarin.Forms/Core/DetailsPage.xaml.cs b/samples/Gallery/Xamarin.Forms/Core/DetailsPage.xaml.cs index 86d8b3bd0f..b4919b843b 100644 --- a/samples/Gallery/Xamarin.Forms/Core/DetailsPage.xaml.cs +++ b/samples/Gallery/Xamarin.Forms/Core/DetailsPage.xaml.cs @@ -58,8 +58,7 @@ private async void OnConfigureBackend(object sender, EventArgs e) var items = Enum.GetNames(typeof(SampleBackends)).Except(new[] { nameof(SampleBackends.All) }); var backendString = await DisplayActionSheet("Select Backend:", "Close", null, items.ToArray()); - SampleBackends backend; - if (Enum.TryParse(backendString, out backend)) + if (Enum.TryParse(backendString, out SampleBackends backend)) { ((DetailContentsPage)CurrentPage).SwitchBackend(backend); } diff --git a/samples/Gallery/macOS/SkiaSharpSample/MainViewController.cs b/samples/Gallery/macOS/SkiaSharpSample/MainViewController.cs index ae3f7fd690..611d546184 100644 --- a/samples/Gallery/macOS/SkiaSharpSample/MainViewController.cs +++ b/samples/Gallery/macOS/SkiaSharpSample/MainViewController.cs @@ -88,7 +88,7 @@ private void OnPaintCanvas(object sender, SKPaintSurfaceEventArgs e) private void OnPaintGL(object sender, SKPaintGLSurfaceEventArgs e) { - OnPaintSurface(e.Surface.Canvas, e.RenderTarget.Width, e.RenderTarget.Height); + OnPaintSurface(e.Surface.Canvas, e.BackendRenderTarget.Width, e.BackendRenderTarget.Height); } public void OnSampleClicked() diff --git a/samples/Gallery/tvOS/SkiaSharpSample/SkiaSharpSample.csproj b/samples/Gallery/tvOS/SkiaSharpSample/SkiaSharpSample.csproj index 09f17ff3c9..72f1c3b0dc 100644 --- a/samples/Gallery/tvOS/SkiaSharpSample/SkiaSharpSample.csproj +++ b/samples/Gallery/tvOS/SkiaSharpSample/SkiaSharpSample.csproj @@ -26,7 +26,6 @@ x86_64 HttpClientHandler Default - x86 pdbonly @@ -43,7 +42,6 @@ ARM64 HttpClientHandler Default - x86 pdbonly @@ -56,7 +54,6 @@ x86_64 HttpClientHandler Default - x86 true @@ -77,7 +74,6 @@ ARM64 HttpClientHandler Default - x86 diff --git a/scripts/pipeline.groovy b/scripts/pipeline.groovy index 62676beac8..917bb4713e 100644 --- a/scripts/pipeline.groovy +++ b/scripts/pipeline.groovy @@ -9,7 +9,7 @@ import groovy.transform.Field @Field def minimalLinuxPackages = "curl mono-complete msbuild" @Field def nativeLinuxPackages = "python git libfontconfig1-dev" @Field def nativeTizenPackages = "python git openjdk-8-jdk zip libxcb-xfixes0 libxcb-render-util0 libwebkitgtk-1.0-0 libxcb-image0 acl libsdl1.2debian libv4l-0 libxcb-randr0 libxcb-shape0 libxcb-icccm4 libsm6 gettext rpm2cpio cpio bridge-utils openvpn" -@Field def managedLinuxPackages = "dotnet-sdk-2.0.0 ttf-ancient-fonts" +@Field def managedLinuxPackages = "dotnet-sdk-2.1 ttf-ancient-fonts" @Field def nativeStashes = [] @Field def managedStashes = [] @@ -57,18 +57,18 @@ node("ubuntu-1604-amd64") { failFast: true, // windows - win32: createNativeBuilder("Windows", "Windows", "components-windows", ""), uwp: createNativeBuilder("UWP", "Windows", "components-windows", ""), + win32: createNativeBuilder("Windows", "Windows", "components-windows", ""), android_windows: createNativeBuilder("Android", "Windows", "components-windows", ""), tizen_windows: createNativeBuilder("Tizen", "Windows", "components-windows", ""), // macos - macos: createNativeBuilder("macOS", "macOS", "components", ""), - ios: createNativeBuilder("iOS", "macOS", "components", ""), - tvos: createNativeBuilder("tvOS", "macOS", "components", ""), - watchos: createNativeBuilder("watchOS", "macOS", "components", ""), android_macos: createNativeBuilder("Android", "macOS", "components", ""), tizen_macos: createNativeBuilder("Tizen", "macOS", "components", ""), + tvos: createNativeBuilder("tvOS", "macOS", "components", ""), + ios: createNativeBuilder("iOS", "macOS", "components", ""), + macos: createNativeBuilder("macOS", "macOS", "components", ""), + watchos: createNativeBuilder("watchOS", "macOS", "components", ""), // linux linux: createNativeBuilder("Linux", "Linux", "ubuntu-1604-amd64", nativeLinuxPackages), diff --git a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs index 3cb4f451a8..41d7c25bfb 100644 --- a/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs +++ b/source/SkiaSharp.Views.Forms/SkiaSharp.Views.Forms.Native.Shared/SKCanvasViewRendererBase.cs @@ -115,6 +115,11 @@ protected virtual TNativeView CreateNativeControl() TNativeView ret = (TNativeView)Activator.CreateInstance(typeof(TNativeView), new[] { TForms.NativeParent }); return ret; } +#elif __IOS__ || __MACOS__ + protected override TNativeView CreateNativeControl() + { + return (TNativeView)Activator.CreateInstance(typeof(TNativeView)); + } #else protected virtual TNativeView CreateNativeControl() { diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs index 9a992c2b7f..f733ba5fcf 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.Shared/GlesInterop/Gles.cs @@ -73,10 +73,10 @@ internal static class Gles [DllImport(libGLESv2)] public static extern void glGenRenderbuffers(int n, [In, Out] uint[] buffers); [DllImport(libGLESv2)] - public static extern void glGenFramebuffers(int n, [In, Out] uint[] buffers); - [DllImport(libGLESv2)] public static extern void glGenRenderbuffers(int n, ref uint buffer); [DllImport(libGLESv2)] + public static extern void glGenFramebuffers(int n, [In, Out] uint[] buffers); + [DllImport(libGLESv2)] public static extern void glGenFramebuffers(int n, ref uint buffer); [DllImport(libGLESv2)] public static extern void glGetIntegerv(uint pname, out int data); @@ -91,20 +91,14 @@ internal static class Gles [DllImport(libGLESv2)] public static extern void glClear(uint mask); [DllImport(libGLESv2)] - public static extern void glRenderbufferStorageMultisampleANGLE(uint target, int samples, uint internalformat, int width, int height); - [DllImport(libGLESv2)] - public static extern void glRenderbufferStorage(uint target, uint internalformat, int width, int height); - [DllImport(libGLESv2)] - public static extern void glBlitFramebufferANGLE(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, uint mask, uint filter); - [DllImport(libGLESv2)] public static extern void glBindFramebuffer(uint target, uint framebuffer); [DllImport(libGLESv2)] public static extern void glDeleteFramebuffers(int n, [In, Out] uint[] framebuffers); [DllImport(libGLESv2)] - public static extern void glDeleteRenderbuffers(int n, [In, Out] uint[] renderbuffers); - [DllImport(libGLESv2)] public static extern void glDeleteFramebuffers(int n, ref uint framebuffer); [DllImport(libGLESv2)] + public static extern void glDeleteRenderbuffers(int n, [In, Out] uint[] renderbuffers); + [DllImport(libGLESv2)] public static extern void glDeleteRenderbuffers(int n, ref uint renderbuffer); [DllImport(libGLESv2)] public static extern void glFramebufferRenderbuffer(uint target, uint attachment, uint renderbuffertarget, uint renderbuffer); diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Shared/SKGLDrawable.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Shared/SKGLDrawable.cs index 12873f96b8..e8627747c9 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.Shared/SKGLDrawable.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.Shared/SKGLDrawable.cs @@ -38,7 +38,7 @@ public static GRBackendRenderTarget CreateRenderTarget(int bufferWidth, int buff var config = GRPixelConfig.Rgba8888; #endif - var glInfo = new GRGlFramebufferInfo((uint)framebuffer, config.ToSizedFormat()); + var glInfo = new GRGlFramebufferInfo((uint)framebuffer, config.ToGlSizedFormat()); return new GRBackendRenderTarget(bufferWidth, bufferHeight, samples, stencil, glInfo); } } diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/SKGLSurfaceView.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/SKGLSurfaceView.cs index 2fc5524d3e..ecb7051626 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/SKGLSurfaceView.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/SKGLSurfaceView.cs @@ -23,13 +23,14 @@ public class SKGLSurfaceView : CustomRenderingView public SKGLSurfaceView(EvasObject parent) : base(parent) { - glConfig = new Evas.Config() + glConfig = new Evas.Config { color_format = Evas.ColorFormat.RGBA_8888, depth_bits = Evas.DepthBits.BIT_24, stencil_bits = Evas.StencilBits.BIT_8, options_bits = Evas.OptionsBits.NONE, multisample_bits = Evas.MultisampleBits.HIGH, + gles_version = default(int) }; } diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs index f48c43c51b..95dcc29f04 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.Tizen/ScalingInfo.cs @@ -14,7 +14,9 @@ public static class ScalingInfo if (Profile == "tv") return 72; +#pragma warning disable CS0618 // Type or member is obsolete SystemInfo.TryGetValue("http://tizen.org/feature/screen.dpi", out int dpi); +#pragma warning restore CS0618 // Type or member is obsolete return dpi; }); diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop/GlesContext.cs b/source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop/GlesContext.cs index 00fc47d6e4..0f2c6d0b7f 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop/GlesContext.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.UWP/GlesInterop/GlesContext.cs @@ -3,7 +3,7 @@ using Windows.Foundation.Collections; using Windows.UI.Xaml.Controls; -using SkiaSharp.Views.UWP; +using SkiaSharp.Views.UWP.Interop; using EGLDisplay = System.IntPtr; using EGLContext = System.IntPtr; @@ -12,7 +12,7 @@ namespace SkiaSharp.Views.GlesInterop { - public class GlesContext : IDisposable + internal class GlesContext : IDisposable { private EGLDisplay eglDisplay; private EGLContext eglContext; diff --git a/source/SkiaSharp.Views/SkiaSharp.Views.UWP/Interop/PropertySetExtensions.cs b/source/SkiaSharp.Views/SkiaSharp.Views.UWP/Interop/PropertySetExtensions.cs index bb8eb34679..f4a74e7a0d 100644 --- a/source/SkiaSharp.Views/SkiaSharp.Views.UWP/Interop/PropertySetExtensions.cs +++ b/source/SkiaSharp.Views/SkiaSharp.Views.UWP/Interop/PropertySetExtensions.cs @@ -2,7 +2,7 @@ using Windows.Foundation; using Windows.Foundation.Collections; -namespace SkiaSharp.Views.UWP +namespace SkiaSharp.Views.UWP.Interop { internal static class PropertySetExtensions { diff --git a/tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj b/tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj index eaeac451a8..609c6aed42 100644 --- a/tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj +++ b/tests/SkiaSharp.NetCore.Tests/SkiaSharp.NetCore.Tests.csproj @@ -2,16 +2,13 @@ - netcoreapp2.0 + netcoreapp2.1 $(DefineConstants);NET_STANDARD true portable SkiaSharp.Tests SkiaSharp.Tests SkiaSharp.NetCore.Tests - true - win7-x64;win7-x86;osx.10.10-x64;osx.10.11-x64;ubuntu.14.04-x64;ubuntu.14.10-x64;ubuntu.16.04-x64;ubuntu.16.10-x64 - 2.0.0 true true true @@ -19,15 +16,13 @@ + - - - diff --git a/tests/Tests/SKFontManagerTest.cs b/tests/Tests/SKFontManagerTest.cs index 24799aa972..5d72ede1e8 100644 --- a/tests/Tests/SKFontManagerTest.cs +++ b/tests/Tests/SKFontManagerTest.cs @@ -41,11 +41,11 @@ public void TestFamilyCount() } [SkippableFact] - public void TestMatchFamily() + public void TestGetFontStyles() { var fonts = SKFontManager.Default; - var set = fonts.MatchFamily(DefaultFontFamily); + var set = fonts.GetFontStyles(DefaultFontFamily); Assert.NotNull(set); Assert.True(set.Count > 0); @@ -62,7 +62,6 @@ public void TestMatchFamilyStyle() Assert.Equal((int)SKFontStyleWeight.Bold, tf.FontWeight); } - [Obsolete] [SkippableFact] public void TestMatchTypeface() { @@ -82,7 +81,6 @@ public void TestMatchTypeface() Assert.Equal(normal.FamilyName, bold.FamilyName); } - [Obsolete] [SkippableFact] public void TestMatchTypefaceFromStream() { @@ -93,7 +91,7 @@ public void TestMatchTypefaceFromStream() var fonts = SKFontManager.Default; - var typeface = fonts.FromFile(Path.Combine(PathToFonts, "Roboto2-Regular_NoEmbed.ttf")); + var typeface = fonts.CreateTypeface(Path.Combine(PathToFonts, "Roboto2-Regular_NoEmbed.ttf")); Assert.Equal("Roboto2", typeface.FamilyName); var match = fonts.MatchTypeface(typeface, SKFontStyle.Bold); @@ -105,7 +103,7 @@ public void NullWithMissingFile() { var fonts = SKFontManager.Default; - Assert.Null(fonts.FromFile(Path.Combine(PathToFonts, "font that doesn't exist.ttf"))); + Assert.Null(fonts.CreateTypeface(Path.Combine(PathToFonts, "font that doesn't exist.ttf"))); } [SkippableFact] @@ -113,7 +111,7 @@ public void TestFamilyName() { var fonts = SKFontManager.Default; - using (var typeface = fonts.FromFile(Path.Combine(PathToFonts, "Roboto2-Regular_NoEmbed.ttf"))) + using (var typeface = fonts.CreateTypeface(Path.Combine(PathToFonts, "Roboto2-Regular_NoEmbed.ttf"))) { Assert.Equal("Roboto2", typeface.FamilyName); } @@ -126,7 +124,7 @@ public void CanReadData() var bytes = File.ReadAllBytes(Path.Combine(PathToFonts, "Distortable.ttf")); using (var data = SKData.CreateCopy(bytes)) - using (var typeface = fonts.FromData(data)) + using (var typeface = fonts.CreateTypeface(data)) { Assert.NotNull(typeface); } @@ -139,18 +137,36 @@ public void CanReadNonSeekableStream() using (var stream = File.OpenRead(Path.Combine(PathToFonts, "Distortable.ttf"))) using (var nonSeekable = new NonSeekableReadOnlyStream(stream)) - using (var typeface = fonts.FromStream(nonSeekable)) + using (var typeface = fonts.CreateTypeface(nonSeekable)) { Assert.NotNull(typeface); } } [SkippableFact] - public void CanCreateStyleSet() + public void CanGetFontStyles() { var fonts = SKFontManager.Default; - Assert.NotNull(fonts.CreateStyleSet(0)); + Assert.NotNull(fonts.GetFontStyles(0)); + } + + [SkippableFact] + public void CanDisposeDefault() + { + // get the fist + var fonts = SKFontManager.Default; + Assert.NotNull(fonts); + + // dispose and make sure that we didn't kill it + fonts.Dispose(); + fonts = SKFontManager.Default; + Assert.NotNull(fonts); + + // dispose and make sure that we didn't kill it again + fonts.Dispose(); + fonts = SKFontManager.Default; + Assert.NotNull(fonts); } } } diff --git a/tests/Tests/SKFontStyleSetTest.cs b/tests/Tests/SKFontStyleSetTest.cs index dce64d959b..5b9697d180 100644 --- a/tests/Tests/SKFontStyleSetTest.cs +++ b/tests/Tests/SKFontStyleSetTest.cs @@ -9,7 +9,7 @@ public void TestCanCreateEmpty() { var set = new SKFontStyleSet(); - Assert.Equal(0, set.Count); + Assert.Empty(set); } [SkippableFact] @@ -17,10 +17,10 @@ public void TestFindsNothing() { var fonts = SKFontManager.Default; - var set = fonts.MatchFamily("Missing Font"); + var set = fonts.GetFontStyles("Missing Font"); Assert.NotNull(set); - Assert.Equal(0, set.Count); + Assert.Empty(set); } [SkippableFact] @@ -28,7 +28,7 @@ public void TestSetHasAtLeastOne() { var fonts = SKFontManager.Default; - var set = fonts.MatchFamily(DefaultFontFamily); + var set = fonts.GetFontStyles(DefaultFontFamily); Assert.NotNull(set); Assert.True(set.Count > 0); @@ -38,14 +38,12 @@ public void TestSetHasAtLeastOne() public void TestCanGetStyles() { var fonts = SKFontManager.Default; - var set = fonts.MatchFamily(DefaultFontFamily); + var set = fonts.GetFontStyles(DefaultFontFamily); for (var i = 0; i < set.Count; i++) { - set.GetStyle(i, out var style, out var name); - - Assert.NotNull(style); - Assert.NotNull(name); + Assert.NotNull(set[i]); + Assert.NotNull(set.GetStyleName(i)); } } @@ -53,13 +51,12 @@ public void TestCanGetStyles() public void TestCanCreateBoldFromIndex() { var fonts = SKFontManager.Default; - var set = fonts.MatchFamily(DefaultFontFamily); + var set = fonts.GetFontStyles(DefaultFontFamily); int idx; for (idx = 0; idx < set.Count; idx++) { - set.GetStyle(idx, out var style, out var name); - if (style.Weight == (int)SKFontStyleWeight.Bold) + if (set[idx].Weight == (int)SKFontStyleWeight.Bold) { // flip the sign so we can confirm that we found it idx *= -1; @@ -81,12 +78,27 @@ public void TestCanCreateBoldFromIndex() public void TestCanCreateBold() { var fonts = SKFontManager.Default; - var set = fonts.MatchFamily(DefaultFontFamily); + var set = fonts.GetFontStyles(DefaultFontFamily); var typeface = set.CreateTypeface(SKFontStyle.Bold); Assert.NotNull(typeface); Assert.Equal((int)SKFontStyleWeight.Bold, typeface.FontStyle.Weight); } + + [SkippableFact] + public void TestCanIterate() + { + var fonts = SKFontManager.Default; + var set = fonts.GetFontStyles(DefaultFontFamily); + + var count = 0; + foreach (var style in set) + { + count++; + } + + Assert.Equal(set.Count, count); + } } } diff --git a/tests/Tests/SKImageTest.cs b/tests/Tests/SKImageTest.cs index 400255a1a4..459083985b 100644 --- a/tests/Tests/SKImageTest.cs +++ b/tests/Tests/SKImageTest.cs @@ -30,6 +30,7 @@ public void TestNotLazyImage() Assert.False(image.IsLazyGenerated); } + [Obsolete] [SkippableFact] public void EncodeWithSimpleSerializer() { @@ -52,6 +53,7 @@ public void EncodeWithSimpleSerializer() Assert.True(encoded); } + [Obsolete] [SkippableFact] public void EncodeWithSerializer() { @@ -70,6 +72,7 @@ public void EncodeWithSerializer() Assert.Equal(data.ToArray(), bitmap.Bytes); } + [Obsolete] private class TestSerializer : SKPixelSerializer { public int DidEncode { get; set; } diff --git a/tests/Tests/SKSurfaceTest.cs b/tests/Tests/SKSurfaceTest.cs index 9b02369b67..9d93ad86d4 100644 --- a/tests/Tests/SKSurfaceTest.cs +++ b/tests/Tests/SKSurfaceTest.cs @@ -187,7 +187,7 @@ public void CanConvertFromPointerToDescToTextureWithNewInfo() var newInfo = texture.GetGlTextureInfo(); Assert.Equal(oldInfo.Id, newInfo.Id); Assert.Equal(oldInfo.Target, newInfo.Target); - Assert.Equal(GRPixelConfig.Rgba8888.ToSizedFormat(), newInfo.Format); + Assert.Equal(GRPixelConfig.Rgba8888.ToGlSizedFormat(), newInfo.Format); } [Obsolete] @@ -229,7 +229,7 @@ public void CanConvertFromPointerToDescToTexture() var newInfo = texture.GetGlTextureInfo(); Assert.Equal(oldInfo.Id, newInfo.Id); Assert.Equal(oldInfo.Target, newInfo.Target); - Assert.Equal(GRPixelConfig.Rgba8888.ToSizedFormat(), newInfo.Format); + Assert.Equal(GRPixelConfig.Rgba8888.ToGlSizedFormat(), newInfo.Format); } [Trait(Category, GpuCategory)] diff --git a/tests/Tests/SKTypefaceTest.cs b/tests/Tests/SKTypefaceTest.cs index 567f948cfb..cdf9595be7 100644 --- a/tests/Tests/SKTypefaceTest.cs +++ b/tests/Tests/SKTypefaceTest.cs @@ -146,5 +146,23 @@ public void CanReadNonSeekableStream() Assert.NotNull(typeface); } } + + [SkippableFact] + public void CanDisposeDefault() + { + // get the fist + var typeface = SKTypeface.Default; + Assert.NotNull(typeface); + + // dispose and make sure that we didn't kill it + typeface.Dispose(); + typeface = SKTypeface.Default; + Assert.NotNull(typeface); + + // dispose and make sure that we didn't kill it again + typeface.Dispose(); + typeface = SKTypeface.Default; + Assert.NotNull(typeface); + } } }