changelogs/SkiaSharp/2.80.0/SkiaSharp.md
Assembly Version Changed: 2.80.0.0 vs 1.68.0.0
Added value:
Dawn = 3,
Added constructor:
public GRBackendRenderTarget (int width, int height, int sampleCount, GRVkImageInfo vkImageInfo);
Added constructor:
public GRBackendTexture (int width, int height, GRVkImageInfo vkInfo);
Obsoleted methods:
[Obsolete ("Use CreateGl() instead.")]
public static GRContext Create (GRBackend backend);
[Obsolete ("Use CreateGl(GRGlInterface) instead.")]
public static GRContext Create (GRBackend backend, GRGlInterface backendContext);
[Obsolete ("Use GetResourceCacheLimit() instead.")]
public void GetResourceCacheLimits (out int maxResources, out long maxResourceBytes);
[Obsolete ("Use SetResourceCacheLimit(long) instead.")]
public void SetResourceCacheLimits (int maxResources, long maxResourceBytes);
Added methods:
public static GRContext CreateVulkan (GRVkBackendContext backendContext);
public long GetResourceCacheLimit ();
public void SetResourceCacheLimit (long maxResourceBytes);
Obsoleted methods:
[Obsolete ("Use CreateAngle(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleAngleInterface (GRGlGetProcDelegate get);
[Obsolete ("Use CreateAngle(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleAngleInterface (object context, GRGlGetProcDelegate get);
[Obsolete ("Use CreateOpenGl(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleGlInterface (GRGlGetProcDelegate get);
[Obsolete ("Use CreateOpenGl(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleGlInterface (object context, GRGlGetProcDelegate get);
[Obsolete ("Use CreateGles(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleGlesInterface (GRGlGetProcDelegate get);
[Obsolete ("Use CreateGles(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleGlesInterface (object context, GRGlGetProcDelegate get);
[Obsolete ("Use Create(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleInterface (GRGlGetProcDelegate get);
[Obsolete ("Use Create(GRGlGetProcedureAddressDelegate) instead.")]
public static GRGlInterface AssembleInterface (object context, GRGlGetProcDelegate get);
[Obsolete ("Use Create() instead.")]
public static GRGlInterface CreateDefaultInterface ();
[Obsolete ("Use Create() instead.")]
public static GRGlInterface CreateNativeAngleInterface ();
[Obsolete ("Use CreateEvas(IntPtr) instead.")]
public static GRGlInterface CreateNativeEvasInterface (IntPtr evas);
[Obsolete ("Use Create() instead.")]
public static GRGlInterface CreateNativeGlInterface ();
Added methods:
public static GRGlInterface Create ();
public static GRGlInterface Create (GRGlGetProcedureAddressDelegate get);
public static GRGlInterface CreateAngle (GRGlGetProcedureAddressDelegate get);
public static GRGlInterface CreateEvas (IntPtr evas);
public static GRGlInterface CreateGles (GRGlGetProcedureAddressDelegate get);
public static GRGlInterface CreateOpenGl (GRGlGetProcedureAddressDelegate get);
public static GRGlInterface CreateWebGl (GRGlGetProcedureAddressDelegate get);
Obsoleted fields:
[Obsolete ("The pixel configuration 'floating-point RG' is no longer supported in the native library.")]
RgFloat = 12,
[Obsolete ("The pixel configuration 'floating-point RGBA' is no longer supported in the native library.")]
RgbaFloat = 11,
[Obsolete ("The pixel configuration 'sBGRA 8888' is no longer supported in the native library.")]
Sbgra8888 = 9,
Added values:
Alpha16 = 22,
Alpha8AsAlpha = 15,
Alpha8AsRed = 16,
AlphaHalfAsLum = 17,
AlphaHalfAsRed = 18,
Gray8AsLum = 19,
Gray8AsRed = 20,
Rg1616 = 23,
Rg88 = 26,
RgHalf = 25,
Rgb888x = 27,
RgbEtc1 = 28,
Rgba16161616 = 24,
RgbaHalfClamped = 21,
Added constructor:
public SKBitmap (int width, int height, SKColorType colorType, SKAlphaType alphaType, SKColorSpace colorspace);
Obsoleted methods:
[Obsolete ("Use GetAddress instead.")]
public IntPtr GetAddr (int x, int y);
[Obsolete ()]
public ushort GetAddr16 (int x, int y);
[Obsolete ()]
public uint GetAddr32 (int x, int y);
[Obsolete ()]
public byte GetAddr8 (int x, int y);
Added method:
public IntPtr GetAddress (int x, int y);
Obsoleted methods:
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawPositionedText (byte[] text, SKPoint[] points, SKPaint paint);
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawPositionedText (string text, SKPoint[] points, SKPaint paint);
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawPositionedText (IntPtr buffer, int length, SKPoint[] points, SKPaint paint);
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawText (byte[] text, SKPoint p, SKPaint paint);
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawText (byte[] text, float x, float y, SKPaint paint);
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawText (IntPtr buffer, int length, SKPoint p, SKPaint paint);
[Obsolete ("Use DrawText(SKTextBlob, float, float, SKPaint) instead.")]
public void DrawText (IntPtr buffer, int length, float x, float y, SKPaint paint);
[Obsolete ("Use DrawTextOnPath(string, SKPath, SKPoint, SKPaint) instead.")]
public void DrawTextOnPath (byte[] text, SKPath path, SKPoint offset, SKPaint paint);
[Obsolete ("Use DrawTextOnPath(string, SKPath, float, float, SKPaint) instead.")]
public void DrawTextOnPath (byte[] text, SKPath path, float hOffset, float vOffset, SKPaint paint);
[Obsolete ("Use DrawTextOnPath(string, SKPath, SKPoint, SKPaint) instead.")]
public void DrawTextOnPath (IntPtr buffer, int length, SKPath path, SKPoint offset, SKPaint paint);
[Obsolete ("Use DrawTextOnPath(string, SKPath, float, float, SKPaint) instead.")]
public void DrawTextOnPath (IntPtr buffer, int length, SKPath path, float hOffset, float vOffset, SKPaint paint);
Added methods:
public void DrawText (string text, float x, float y, SKFont font, SKPaint paint);
public void DrawTextOnPath (string text, SKPath path, SKPoint offset, bool warpGlyphs, SKPaint paint);
public void DrawTextOnPath (string text, SKPath path, SKPoint offset, bool warpGlyphs, SKFont font, SKPaint paint);
Obsoleted properties:
[Obsolete ()]
public SKTransferFunctionBehavior PremulBehavior { get; set; }
Obsoleted properties:
[Obsolete ("Use GetNumericalTransferFunction() instead.")]
public SKNamedGamma NamedGamma { get; }
[Obsolete ()]
public SKColorSpaceType Type { get; }
Obsoleted methods:
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SKColorSpace CreateRgb (SKColorSpaceRenderTargetGamma gamma, SKColorSpaceGamut gamut);
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SKColorSpace CreateRgb (SKColorSpaceRenderTargetGamma gamma, SKMatrix44 toXyzD50);
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn coeffs, SKColorSpaceGamut gamut);
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn coeffs, SKMatrix44 toXyzD50);
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SKColorSpace CreateRgb (SKNamedGamma gamma, SKColorSpaceGamut gamut);
[Obsolete ("Use CreateRgb(SKColorSpaceTransferFn, SKColorSpaceXyz) instead.")]
public static SKColorSpace CreateRgb (SKNamedGamma gamma, SKMatrix44 toXyzD50);
[Obsolete ()]
public SKMatrix44 FromXyzD50 ();
[Obsolete ("Use ToColorSpaceXyz() instead.")]
public SKMatrix44 ToXyzD50 ();
[Obsolete ("Use ToColorSpaceXyz(out SKColorSpaceXyz) instead.")]
public bool ToXyzD50 (SKMatrix44 toXyzD50);
Added methods:
public static SKColorSpace CreateIcc (SKColorSpaceIccProfile profile);
public static SKColorSpace CreateIcc (SKData input);
public static SKColorSpace CreateIcc (System.ReadOnlySpan<byte> input);
public static SKColorSpace CreateRgb (SKColorSpaceTransferFn transferFn, SKColorSpaceXyz toXyzD50);
public SKColorSpaceTransferFn GetNumericalTransferFunction ();
public SKColorSpaceXyz ToColorSpaceXyz ();
public bool ToColorSpaceXyz (out SKColorSpaceXyz toXyzD50);
public SKColorSpace ToLinearGamma ();
public SKColorSpaceIccProfile ToProfile ();
public SKColorSpace ToSrgbGamma ();
Obsoleted methods:
[Obsolete ("Use ToColorSpaceXyz() instead.")]
public SKMatrix44 ToXyzD50 ();
[Obsolete ("Use ToColorSpaceXyz(out SKColorSpaceXyz) instead.")]
public bool ToXyzD50 (SKMatrix44 toXyzD50);
Added methods:
public SKColorSpaceXyz ToColorSpaceXyz ();
public bool ToColorSpaceXyz (out SKColorSpaceXyz toXyzD50);
Added properties:
public static SKColorSpaceTransferFn Hlg { get; }
public static SKColorSpaceTransferFn Linear { get; }
public static SKColorSpaceTransferFn Pq { get; }
public static SKColorSpaceTransferFn Rec2020 { get; }
public static SKColorSpaceTransferFn Srgb { get; }
public static SKColorSpaceTransferFn TwoDotTwo { get; }
Added values:
Alpha16 = 16,
AlphaF16 = 14,
Rg1616 = 17,
Rg88 = 13,
RgF16 = 15,
Rgba16161616 = 18,
RgbaF16Clamped = 11,
RgbaF32 = 12,
Obsoleted methods:
[Obsolete ("Use ToTextureImage(GRContext) instead.")]
public SKImage ToTextureImage (GRContext context, SKColorSpace colorspace);
Added method:
public SKImage ToTextureImage (GRContext context, bool mipmapped);
Obsoleted methods:
[Obsolete ("Use CreateDisplacementMapEffect(SKColorChannel, SKColorChannel, float, SKImageFilter, SKImageFilter, SKImageFilter.CropRect) instead.")]
public static SKImageFilter CreateDisplacementMapEffect (SKDisplacementMapEffectChannelSelectorType xChannelSelector, SKDisplacementMapEffectChannelSelectorType yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
[Obsolete ("Use CreateDropShadow or CreateDropShadowOnly instead.")]
public static SKImageFilter CreateDropShadow (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKDropShadowImageFilterShadowMode shadowMode, SKImageFilter input, SKImageFilter.CropRect cropRect);
[Obsolete ("Use CreateMatrixConvolution(SKSizeI, float[], float, float, SKPointI, SKShaderTileMode, bool, SKImageFilter, SKImageFilter.CropRect) instead.")]
public static SKImageFilter CreateMatrixConvolution (SKSizeI kernelSize, float[] kernel, float gain, float bias, SKPointI kernelOffset, SKMatrixConvolutionTileMode tileMode, bool convolveAlpha, SKImageFilter input, SKImageFilter.CropRect cropRect);
Added methods:
public static SKImageFilter CreateBlur (float sigmaX, float sigmaY, SKShaderTileMode tileMode, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateDisplacementMapEffect (SKColorChannel xChannelSelector, SKColorChannel yChannelSelector, float scale, SKImageFilter displacement, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateDropShadow (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateDropShadowOnly (float dx, float dy, float sigmaX, float sigmaY, SKColor color, SKImageFilter input, SKImageFilter.CropRect cropRect);
public static SKImageFilter CreateMatrixConvolution (SKSizeI kernelSize, float[] kernel, float gain, float bias, SKPointI kernelOffset, SKShaderTileMode tileMode, bool convolveAlpha, SKImageFilter input, SKImageFilter.CropRect cropRect);
Obsoleted constructors:
[Obsolete ("Use SKJpegEncoderOptions(int, SKJpegEncoderDownsample, SKJpegEncoderAlphaOption) instead.")]
public SKJpegEncoderOptions (int quality, SKJpegEncoderDownsample downsample, SKJpegEncoderAlphaOption alphaOption, SKTransferFunctionBehavior blendBehavior);
Obsoleted properties:
[Obsolete ()]
public SKTransferFunctionBehavior BlendBehavior { get; set; }
Obsoleted methods:
[Obsolete ("Use CreateBlur(SKBlurStyle, float) instead.")]
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder);
[Obsolete ("Use CreateBlur(SKBlurStyle, float, bool) instead.")]
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, SKRect occluder, bool respectCTM);
Added method:
public static SKMaskFilter CreateBlur (SKBlurStyle blurStyle, float sigma, bool respectCTM);
Added value:
Sdf = 5,
Obsoleted methods:
[Obsolete ("Use CreateIdentity() instead.")]
public static SKMatrix MakeIdentity ();
[Obsolete ("Use CreateRotation(float) instead.")]
public static SKMatrix MakeRotation (float radians);
[Obsolete ("Use CreateRotation(float, float, float) instead.")]
public static SKMatrix MakeRotation (float radians, float pivotx, float pivoty);
[Obsolete ("Use CreateRotationDegrees(float) instead.")]
public static SKMatrix MakeRotationDegrees (float degrees);
[Obsolete ("Use CreateRotationDegrees(float, float, float) instead.")]
public static SKMatrix MakeRotationDegrees (float degrees, float pivotx, float pivoty);
[Obsolete ("Use CreateScale(float, float) instead.")]
public static SKMatrix MakeScale (float sx, float sy);
[Obsolete ("Use CreateScale(float, float, float, float) instead.")]
public static SKMatrix MakeScale (float sx, float sy, float pivotX, float pivotY);
[Obsolete ("Use CreateSkew(float, float) instead.")]
public static SKMatrix MakeSkew (float sx, float sy);
[Obsolete ("Use CreateTranslation(float, float) instead.")]
public static SKMatrix MakeTranslation (float dx, float dy);
Added method:
protected virtual void DisposeUnownedManaged ();
Added method:
protected override void DisposeUnownedManaged ();
Added constructor:
public SKPaint (SKFont font);
Obsoleted properties:
[Obsolete ()]
public bool DeviceKerningEnabled { get; set; }
[Obsolete ()]
public bool IsVerticalText { get; set; }
Added property:
public SKColorF ColorF { get; set; }
Obsoleted methods:
[Obsolete ("Use GetFontMetrics (out SKFontMetrics) instead.")]
public float GetFontMetrics (out SKFontMetrics metrics, float scale);
Modified methods:
public float GetFontMetrics (out SKFontMetrics metrics, float scale--- = 0---)
Added methods:
public long BreakText (System.ReadOnlySpan<byte> text, float maxWidth);
public long BreakText (System.ReadOnlySpan<char> text, float maxWidth);
public long BreakText (System.ReadOnlySpan<byte> text, float maxWidth, out float measuredWidth);
public long BreakText (System.ReadOnlySpan<char> text, float maxWidth, out float measuredWidth);
public bool ContainsGlyphs (System.ReadOnlySpan<byte> text);
public bool ContainsGlyphs (System.ReadOnlySpan<char> text);
public int CountGlyphs (System.ReadOnlySpan<byte> text);
public int CountGlyphs (System.ReadOnlySpan<char> text);
public float GetFontMetrics (out SKFontMetrics metrics);
public float[] GetGlyphOffsets (System.ReadOnlySpan<byte> text, float origin);
public float[] GetGlyphOffsets (System.ReadOnlySpan<char> text, float origin);
public float[] GetGlyphOffsets (string text, float origin);
public float[] GetGlyphOffsets (IntPtr text, int length, float origin);
public SKPoint[] GetGlyphPositions (System.ReadOnlySpan<byte> text, SKPoint origin);
public SKPoint[] GetGlyphPositions (System.ReadOnlySpan<char> text, SKPoint origin);
public SKPoint[] GetGlyphPositions (string text, SKPoint origin);
public SKPoint[] GetGlyphPositions (IntPtr text, int length, SKPoint origin);
public float[] GetGlyphWidths (System.ReadOnlySpan<byte> text);
public float[] GetGlyphWidths (System.ReadOnlySpan<char> text);
public float[] GetGlyphWidths (System.ReadOnlySpan<byte> text, out SKRect[] bounds);
public float[] GetGlyphWidths (System.ReadOnlySpan<char> text, out SKRect[] bounds);
public ushort[] GetGlyphs (System.ReadOnlySpan<byte> text);
public ushort[] GetGlyphs (System.ReadOnlySpan<char> text);
public float[] GetHorizontalTextIntercepts (System.ReadOnlySpan<byte> text, System.ReadOnlySpan<float> xpositions, float y, float upperBounds, float lowerBounds);
public float[] GetHorizontalTextIntercepts (System.ReadOnlySpan<char> text, System.ReadOnlySpan<float> xpositions, float y, float upperBounds, float lowerBounds);
public float[] GetPositionedTextIntercepts (System.ReadOnlySpan<byte> text, System.ReadOnlySpan<SKPoint> positions, float upperBounds, float lowerBounds);
public float[] GetPositionedTextIntercepts (System.ReadOnlySpan<char> text, System.ReadOnlySpan<SKPoint> positions, float upperBounds, float lowerBounds);
public float[] GetTextIntercepts (System.ReadOnlySpan<byte> text, float x, float y, float upperBounds, float lowerBounds);
public float[] GetTextIntercepts (System.ReadOnlySpan<char> text, float x, float y, float upperBounds, float lowerBounds);
public SKPath GetTextPath (System.ReadOnlySpan<byte> text, System.ReadOnlySpan<SKPoint> points);
public SKPath GetTextPath (System.ReadOnlySpan<char> text, System.ReadOnlySpan<SKPoint> points);
public SKPath GetTextPath (IntPtr buffer, int length, System.ReadOnlySpan<SKPoint> points);
public SKPath GetTextPath (System.ReadOnlySpan<byte> text, float x, float y);
public SKPath GetTextPath (System.ReadOnlySpan<char> text, float x, float y);
public float MeasureText (System.ReadOnlySpan<byte> text);
public float MeasureText (System.ReadOnlySpan<char> text);
public float MeasureText (System.ReadOnlySpan<byte> text, ref SKRect bounds);
public float MeasureText (System.ReadOnlySpan<char> text, ref SKRect bounds);
public void SetColor (SKColorF color, SKColorSpace colorspace);
public SKFont ToFont ();
Added methods:
public SKPath ToWinding ();
public bool ToWinding (SKPath result);
Obsoleted methods:
[Obsolete ("Use Next(SKPoint[]) instead.")]
public SKPathVerb Next (SKPoint[] points, bool doConsumeDegenerates, bool exact);
Modified methods:
public SKPathVerb Next (SKPoint[] points, bool doConsumeDegenerates--- = true---, bool exact--- = false---)
Added methods:
public SKPathVerb Next (SKPoint[] points);
public SKPathVerb Next (System.Span<SKPoint> points);
Added method:
public SKPathVerb Next (System.Span<SKPoint> points);
Obsoleted methods:
[Obsolete ("Use ReadPixels(SKImageInfo, IntPtr, int, int, int) instead.")]
public bool ReadPixels (SKImageInfo dstInfo, IntPtr dstPixels, int dstRowBytes, int srcX, int srcY, SKTransferFunctionBehavior behavior);
Obsoleted constructors:
[Obsolete ("Using SKPngEncoderOptions(SKPngEncoderFilterFlags, int) instead.")]
public SKPngEncoderOptions (SKPngEncoderFilterFlags filterFlags, int zLibLevel, SKTransferFunctionBehavior unpremulBehavior);
Obsoleted properties:
[Obsolete ()]
public SKTransferFunctionBehavior UnpremulBehavior { get; set; }
Obsoleted properties:
[Obsolete ()]
public int TextSize { get; }
Obsoleted methods:
[Obsolete ()]
public System.Span<uint> GetClusterSpan ();
[Obsolete ()]
public System.Span<byte> GetTextSpan ();
[Obsolete ()]
public void SetClusters (System.ReadOnlySpan<uint> clusters);
[Obsolete ()]
public void SetText (System.ReadOnlySpan<byte> text);
Added method:
public static SKShader CreateLerp (float weight, SKShader dst, SKShader src);
Added value:
Decal = 3,
Added method:
public SKImage Snapshot (SKRectI bounds);
Added methods:
public int CountIntercepts (float upperBounds, float lowerBounds, SKPaint paint);
public static SKTextBlob Create (System.ReadOnlySpan<char> text, SKFont font, SKPoint origin);
public static SKTextBlob Create (string text, SKFont font, SKPoint origin);
public static SKTextBlob Create (System.ReadOnlySpan<byte> text, SKTextEncoding encoding, SKFont font, SKPoint origin);
public static SKTextBlob Create (IntPtr text, int length, SKTextEncoding encoding, SKFont font, SKPoint origin);
public static SKTextBlob CreateHorizontal (System.ReadOnlySpan<char> text, SKFont font, System.ReadOnlySpan<float> positions, float y);
public static SKTextBlob CreateHorizontal (string text, SKFont font, System.ReadOnlySpan<float> positions, float y);
public static SKTextBlob CreateHorizontal (System.ReadOnlySpan<byte> text, SKTextEncoding encoding, SKFont font, System.ReadOnlySpan<float> positions, float y);
public static SKTextBlob CreateHorizontal (IntPtr text, int length, SKTextEncoding encoding, SKFont font, System.ReadOnlySpan<float> positions, float y);
public static SKTextBlob CreatePathPositioned (System.ReadOnlySpan<char> text, SKFont font, SKPath path, SKTextAlign textAlign, SKPoint origin);
public static SKTextBlob CreatePathPositioned (string text, SKFont font, SKPath path, SKTextAlign textAlign, SKPoint origin);
public static SKTextBlob CreatePathPositioned (System.ReadOnlySpan<byte> text, SKTextEncoding encoding, SKFont font, SKPath path, SKTextAlign textAlign, SKPoint origin);
public static SKTextBlob CreatePathPositioned (IntPtr text, int length, SKTextEncoding encoding, SKFont font, SKPath path, SKTextAlign textAlign, SKPoint origin);
public static SKTextBlob CreatePositioned (System.ReadOnlySpan<char> text, SKFont font, System.ReadOnlySpan<SKPoint> positions);
public static SKTextBlob CreatePositioned (string text, SKFont font, System.ReadOnlySpan<SKPoint> positions);
public static SKTextBlob CreatePositioned (System.ReadOnlySpan<byte> text, SKTextEncoding encoding, SKFont font, System.ReadOnlySpan<SKPoint> positions);
public static SKTextBlob CreatePositioned (IntPtr text, int length, SKTextEncoding encoding, SKFont font, System.ReadOnlySpan<SKPoint> positions);
public static SKTextBlob CreateRotationScale (System.ReadOnlySpan<char> text, SKFont font, System.ReadOnlySpan<SKRotationScaleMatrix> positions);
public static SKTextBlob CreateRotationScale (string text, SKFont font, System.ReadOnlySpan<SKRotationScaleMatrix> positions);
public static SKTextBlob CreateRotationScale (System.ReadOnlySpan<byte> text, SKTextEncoding encoding, SKFont font, System.ReadOnlySpan<SKRotationScaleMatrix> positions);
public static SKTextBlob CreateRotationScale (IntPtr text, int length, SKTextEncoding encoding, SKFont font, System.ReadOnlySpan<SKRotationScaleMatrix> positions);
public float[] GetIntercepts (float upperBounds, float lowerBounds, SKPaint paint);
public void GetIntercepts (float upperBounds, float lowerBounds, System.Span<float> intervals, SKPaint paint);
Obsoleted methods:
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions, SKRect? bounds);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, SKRect bounds);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, byte[] text, uint[] clusters);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, string text, uint[] clusters);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<float> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters, SKRect? bounds);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, byte[] text, uint[] clusters, SKRect bounds);
[Obsolete ("Use AddHorizontalRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<float>, float) instead.")]
public void AddHorizontalRun (SKPaint font, float y, ushort[] glyphs, float[] positions, string text, uint[] clusters, SKRect bounds);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions, SKRect? bounds);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, SKRect bounds);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, byte[] text, uint[] clusters);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, string text, uint[] clusters);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<SKPoint> positions, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters, SKRect? bounds);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, byte[] text, uint[] clusters, SKRect bounds);
[Obsolete ("Use AddPositionedRun (ReadOnlySpan<ushort>, SKFont, ReadOnlySpan<SKPoint>) instead.")]
public void AddPositionedRun (SKPaint font, ushort[] glyphs, SKPoint[] positions, string text, uint[] clusters, SKRect bounds);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs, SKRect? bounds);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, SKRect bounds);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, System.ReadOnlySpan<ushort> glyphs, System.ReadOnlySpan<byte> text, System.ReadOnlySpan<uint> clusters, SKRect? bounds);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, byte[] text, uint[] clusters, SKRect bounds);
[Obsolete ("Use AddRun (ReadOnlySpan<ushort>, SKFont, float, float) instead.")]
public void AddRun (SKPaint font, float x, float y, ushort[] glyphs, string text, uint[] clusters, SKRect bounds);
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y);
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y, int textByteCount);
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y, SKRect? bounds);
[Obsolete ("Use AllocateHorizontalRun (SKFont, int, float, SKRect?) instead.")]
public SKHorizontalRunBuffer AllocateHorizontalRun (SKPaint font, int count, float y, int textByteCount, SKRect? bounds);
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count);
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count, int textByteCount);
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count, SKRect? bounds);
[Obsolete ("Use AllocatePositionedRun (SKFont, int, SKRect?) instead.")]
public SKPositionedRunBuffer AllocatePositionedRun (SKPaint font, int count, int textByteCount, SKRect? bounds);
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y);
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y, int textByteCount);
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y, SKRect? bounds);
[Obsolete ("Use AllocateRun (SKFont, int, float, float, SKRect?) instead.")]
public SKRunBuffer AllocateRun (SKPaint font, int count, float x, float y, int textByteCount, SKRect? bounds);
Added methods:
public void AddHorizontalRun (System.ReadOnlySpan<ushort> glyphs, SKFont font, System.ReadOnlySpan<float> positions, float y);
public void AddPathPositionedRun (System.ReadOnlySpan<ushort> glyphs, SKFont font, System.ReadOnlySpan<float> glyphWidths, System.ReadOnlySpan<SKPoint> glyphOffsets, SKPath path, SKTextAlign textAlign);
public void AddPositionedRun (System.ReadOnlySpan<ushort> glyphs, SKFont font, System.ReadOnlySpan<SKPoint> positions);
public void AddRotationScaleRun (System.ReadOnlySpan<ushort> glyphs, SKFont font, System.ReadOnlySpan<SKRotationScaleMatrix> positions);
public void AddRun (System.ReadOnlySpan<ushort> glyphs, SKFont font, SKPoint origin);
public SKHorizontalRunBuffer AllocateHorizontalRun (SKFont font, int count, float y, SKRect? bounds);
public SKPositionedRunBuffer AllocatePositionedRun (SKFont font, int count, SKRect? bounds);
public SKRotationScaleRunBuffer AllocateRotationScaleRun (SKFont font, int count);
public SKRunBuffer AllocateRun (SKFont font, int count, float x, float y, SKRect? bounds);
Added methods:
public bool ContainsGlyph (int codepoint);
public bool ContainsGlyphs (System.ReadOnlySpan<int> codepoints);
public ushort GetGlyph (int codepoint);
public ushort[] GetGlyphs (System.ReadOnlySpan<int> codepoints);
public SKFont ToFont ();
public SKFont ToFont (float size, float scaleX, float skewX);
Obsoleted constructors:
[Obsolete ("Use SKWebpEncoderOptions(SKWebpEncoderCompression, float) instead.")]
public SKWebpEncoderOptions (SKWebpEncoderCompression compression, float quality, SKTransferFunctionBehavior unpremulBehavior);
Obsoleted properties:
[Obsolete ()]
public SKTransferFunctionBehavior UnpremulBehavior { get; set; }
Obsoleted methods:
[Obsolete ("Use SKColorType instead.")]
public static SKColorType ToColorType (this GRPixelConfig config);
[Obsolete ("Use SKColorType instead.")]
public static uint ToGlSizedFormat (this GRPixelConfig config);
[Obsolete ("Use SKColorType instead.")]
public static GRPixelConfig ToPixelConfig (this SKColorType colorType);
[Obsolete ()]
public static SKTextEncoding ToTextEncoding (this SKEncoding encoding);
Added methods:
[Obsolete ("Use SKColorChannel instead.")]
public static SKColorChannel ToColorChannel (this SKDisplacementMapEffectChannelSelectorType channelSelectorType);
[Obsolete]
public static SKColorSpaceTransferFn ToColorSpaceTransferFn (this SKColorSpaceRenderTargetGamma gamma);
[Obsolete]
public static SKColorSpaceTransferFn ToColorSpaceTransferFn (this SKNamedGamma gamma);
[Obsolete]
public static SKColorSpaceXyz ToColorSpaceXyz (this SKColorSpaceGamut gamut);
[Obsolete]
public static SKColorSpaceXyz ToColorSpaceXyz (this SKMatrix44 matrix);
[Obsolete ("Use SKShaderTileMode instead.")]
public static SKShaderTileMode ToShaderTileMode (this SKMatrixConvolutionTileMode tileMode);
public sealed delegate GRGlGetProcedureAddressDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public GRGlGetProcedureAddressDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (string name, System.AsyncCallback callback, object object);
public virtual IntPtr EndInvoke (System.IAsyncResult result);
public virtual IntPtr Invoke (string name);
}
public struct GRVkAlloc, System.IEquatable<GRVkAlloc> {
// properties
public IntPtr BackendMemory { get; set; }
public uint Flags { get; set; }
public ulong Memory { get; set; }
public ulong Offset { get; set; }
public ulong Size { get; set; }
// methods
public virtual bool Equals (GRVkAlloc obj);
public override bool Equals (object obj);
public override int GetHashCode ();
public static bool op_Equality (GRVkAlloc left, GRVkAlloc right);
public static bool op_Inequality (GRVkAlloc left, GRVkAlloc right);
}
public class GRVkBackendContext : System.IDisposable {
// constructors
public GRVkBackendContext ();
// properties
public GRVkExtensions Extensions { get; set; }
public GRVkGetProcedureAddressDelegate GetProcedureAddress { get; set; }
public uint GraphicsQueueIndex { get; set; }
public uint MaxAPIVersion { get; set; }
public bool ProtectedContext { get; set; }
public IntPtr VkDevice { get; set; }
public IntPtr VkInstance { get; set; }
public IntPtr VkPhysicalDevice { get; set; }
public IntPtr VkPhysicalDeviceFeatures { get; set; }
public IntPtr VkPhysicalDeviceFeatures2 { get; set; }
public IntPtr VkQueue { get; set; }
// methods
public virtual void Dispose ();
protected virtual void Dispose (bool disposing);
}
public class GRVkExtensions : SkiaSharp.SKObject, System.IDisposable {
// methods
public static GRVkExtensions Create (GRVkGetProcedureAddressDelegate getProc, IntPtr vkInstance, IntPtr vkPhysicalDevice, string[] instanceExtensions, string[] deviceExtensions);
protected override void DisposeNative ();
public void HasExtension (string extension, int minVersion);
public void Initialize (GRVkGetProcedureAddressDelegate getProc, IntPtr vkInstance, IntPtr vkPhysicalDevice);
public void Initialize (GRVkGetProcedureAddressDelegate getProc, IntPtr vkInstance, IntPtr vkPhysicalDevice, string[] instanceExtensions, string[] deviceExtensions);
}
public sealed delegate GRVkGetProcedureAddressDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public GRVkGetProcedureAddressDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (string name, IntPtr instance, IntPtr device, System.AsyncCallback callback, object object);
public virtual IntPtr EndInvoke (System.IAsyncResult result);
public virtual IntPtr Invoke (string name, IntPtr instance, IntPtr device);
}
public struct GRVkImageInfo, System.IEquatable<GRVkImageInfo> {
// properties
public GRVkAlloc Alloc { get; set; }
public uint CurrentQueueFamily { get; set; }
public uint Format { get; set; }
public ulong Image { get; set; }
public uint ImageLayout { get; set; }
public uint ImageTiling { get; set; }
public uint LevelCount { get; set; }
public bool Protected { get; set; }
public GrVkYcbcrConversionInfo YcbcrConversionInfo { get; set; }
// methods
public virtual bool Equals (GRVkImageInfo obj);
public override bool Equals (object obj);
public override int GetHashCode ();
public static bool op_Equality (GRVkImageInfo left, GRVkImageInfo right);
public static bool op_Inequality (GRVkImageInfo left, GRVkImageInfo right);
}
public struct GrVkYcbcrConversionInfo, System.IEquatable<GrVkYcbcrConversionInfo> {
// properties
public uint ChromaFilter { get; set; }
public ulong ExternalFormat { get; set; }
public uint ForceExplicitReconstruction { get; set; }
public uint Format { get; set; }
public uint FormatFeatures { get; set; }
public uint XChromaOffset { get; set; }
public uint YChromaOffset { get; set; }
public uint YcbcrModel { get; set; }
public uint YcbcrRange { get; set; }
// methods
public virtual bool Equals (GrVkYcbcrConversionInfo obj);
public override bool Equals (object obj);
public override int GetHashCode ();
public static bool op_Equality (GrVkYcbcrConversionInfo left, GrVkYcbcrConversionInfo right);
public static bool op_Inequality (GrVkYcbcrConversionInfo left, GrVkYcbcrConversionInfo right);
}
[Serializable]
public enum SKColorChannel {
A = 3,
B = 2,
G = 1,
R = 0,
}
public class SKColorSpaceIccProfile : SkiaSharp.SKObject, System.IDisposable {
// constructors
public SKColorSpaceIccProfile ();
// properties
public IntPtr Buffer { get; }
public long Size { get; }
// methods
public static SKColorSpaceIccProfile Create (SKData data);
public static SKColorSpaceIccProfile Create (byte[] data);
public static SKColorSpaceIccProfile Create (System.ReadOnlySpan<byte> data);
public static SKColorSpaceIccProfile Create (IntPtr data, long length);
protected override void DisposeNative ();
public SKColorSpaceXyz ToColorSpaceXyz ();
public bool ToColorSpaceXyz (out SKColorSpaceXyz toXyzD50);
}
public struct SKColorSpaceXyz, System.IEquatable<SKColorSpaceXyz> {
// constructors
public SKColorSpaceXyz (float value);
public SKColorSpaceXyz (float[] values);
public SKColorSpaceXyz (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22);
// fields
public static SKColorSpaceXyz Empty;
// properties
public static SKColorSpaceXyz AdobeRgb { get; }
public static SKColorSpaceXyz Dcip3 { get; }
public float Item { get; }
public static SKColorSpaceXyz Rec2020 { get; }
public static SKColorSpaceXyz Srgb { get; }
public float[] Values { get; set; }
public static SKColorSpaceXyz Xyz { get; }
// methods
public static SKColorSpaceXyz Concat (SKColorSpaceXyz a, SKColorSpaceXyz b);
public virtual bool Equals (SKColorSpaceXyz obj);
public override bool Equals (object obj);
public override int GetHashCode ();
public SKColorSpaceXyz Invert ();
public static bool op_Equality (SKColorSpaceXyz left, SKColorSpaceXyz right);
public static bool op_Inequality (SKColorSpaceXyz left, SKColorSpaceXyz right);
}
public class SKFont : SkiaSharp.SKObject, System.IDisposable {
// constructors
public SKFont ();
public SKFont (SKTypeface typeface, float size, float scaleX, float skewX);
// properties
public bool BaselineSnap { get; set; }
public SKFontEdging Edging { get; set; }
public bool EmbeddedBitmaps { get; set; }
public bool Embolden { get; set; }
public bool ForceAutoHinting { get; set; }
public SKFontHinting Hinting { get; set; }
public bool LinearMetrics { get; set; }
public SKFontMetrics Metrics { get; }
public float ScaleX { get; set; }
public float Size { get; set; }
public float SkewX { get; set; }
public float Spacing { get; }
public bool Subpixel { get; set; }
public SKTypeface Typeface { get; set; }
// methods
public bool ContainsGlyph (int codepoint);
public bool ContainsGlyphs (System.ReadOnlySpan<char> text);
public bool ContainsGlyphs (System.ReadOnlySpan<int> codepoints);
public bool ContainsGlyphs (string text);
public bool ContainsGlyphs (System.ReadOnlySpan<byte> text, SKTextEncoding encoding);
public bool ContainsGlyphs (IntPtr text, int length, SKTextEncoding encoding);
public int CountGlyphs (System.ReadOnlySpan<char> text);
public int CountGlyphs (string text);
public int CountGlyphs (System.ReadOnlySpan<byte> text, SKTextEncoding encoding);
public int CountGlyphs (IntPtr text, int length, SKTextEncoding encoding);
protected override void DisposeNative ();
public float GetFontMetrics (out SKFontMetrics metrics);
public ushort GetGlyph (int codepoint);
public void GetGlyphOffsets (System.ReadOnlySpan<ushort> glyphs, System.Span<float> offsets, float origin);
public SKPath GetGlyphPath (ushort glyph);
public void GetGlyphPaths (System.ReadOnlySpan<ushort> glyphs, SKGlyphPathDelegate glyphPathDelegate);
public void GetGlyphPositions (System.ReadOnlySpan<ushort> glyphs, System.Span<SKPoint> positions, SKPoint origin);
public void GetGlyphWidths (System.ReadOnlySpan<ushort> glyphs, System.Span<float> widths, System.Span<SKRect> bounds, SKPaint paint);
public void GetGlyphs (System.ReadOnlySpan<char> text, System.Span<ushort> glyphs);
public void GetGlyphs (System.ReadOnlySpan<int> codepoints, System.Span<ushort> glyphs);
public void GetGlyphs (string text, System.Span<ushort> glyphs);
public void GetGlyphs (System.ReadOnlySpan<byte> text, SKTextEncoding encoding, System.Span<ushort> glyphs);
public void GetGlyphs (IntPtr text, int length, SKTextEncoding encoding, System.Span<ushort> glyphs);
public float MeasureText (System.ReadOnlySpan<ushort> glyphs, SKPaint paint);
public float MeasureText (System.ReadOnlySpan<ushort> glyphs, out SKRect bounds, SKPaint paint);
}
[Serializable]
public enum SKFontEdging {
Alias = 0,
Antialias = 1,
SubpixelAntialias = 2,
}
[Serializable]
public enum SKFontHinting {
Full = 3,
None = 0,
Normal = 2,
Slight = 1,
}
public sealed delegate SKGlyphPathDelegate : System.MulticastDelegate, System.ICloneable, System.Runtime.Serialization.ISerializable {
// constructors
public SKGlyphPathDelegate (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (SKPath path, SKMatrix matrix, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (SKPath path, SKMatrix matrix);
}
public sealed class SKRotationScaleRunBuffer : SkiaSharp.SKRunBuffer {
// methods
public System.Span<SKRotationScaleMatrix> GetRotationScaleSpan ();
public void SetRotationScale (System.ReadOnlySpan<SKRotationScaleMatrix> positions);
}
public static class SkiaSharpVersion {
// properties
public static System.Version Native { get; }
public static System.Version NativeMinimum { get; }
// methods
public static bool CheckNativeLibraryCompatible (bool throwIfIncompatible);
}