This commit is contained in:
Matthew Leibowitz 2018-09-27 15:15:15 +02:00
Родитель 8332c99ec1
Коммит 7c0bfd1e78
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 3650EBE4AA155AF9
11 изменённых файлов: 749 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,5 @@
# API diff: HarfBuzzSharp.dll
## HarfBuzzSharp.dll
> No changes.

Просмотреть файл

@ -4,3 +4,38 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.Forms
#### Type Changed: SkiaSharp.Views.Forms.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```

Просмотреть файл

@ -4,3 +4,144 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.Android
#### Type Changed: SkiaSharp.Views.Android.SKCanvasView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
protected virtual void OnDraw (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Android.SKGLSurfaceView
Added event:
```csharp
public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
```
Obsoleted methods:
```diff
[Obsolete ("Use PaintSurface instead.")]
public virtual void SetRenderer (SKGLSurfaceView.ISKRenderer renderer);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Android.SKGLSurfaceViewRenderer
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
protected virtual void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Modified methods:
```diff
-protected abstract void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget)
+protected virtual void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget)
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Android.SKGLTextureView
Added event:
```csharp
public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
```
Obsoleted methods:
```diff
[Obsolete ("Use PaintSurface instead.")]
public virtual void SetRenderer (SKGLTextureView.ISKRenderer renderer);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Android.SKGLTextureViewRenderer
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
protected virtual void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Modified methods:
```diff
-protected abstract void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget)
+protected virtual void OnDrawFrame (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget)
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Android.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```

Просмотреть файл

@ -4,3 +4,38 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.Desktop
#### Type Changed: SkiaSharp.Views.Desktop.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```

Просмотреть файл

@ -4,3 +4,116 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.Mac
#### Type Changed: SkiaSharp.Views.Mac.SKCanvasLayer
Obsoleted properties:
```diff
[Obsolete ("Use PaintSurface instead.")]
public ISKCanvasLayerDelegate SKDelegate { get; set; }
```
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Mac.SKCanvasView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Mac.SKGLLayer
Obsoleted properties:
```diff
[Obsolete ("Use PaintSurface instead.")]
public ISKGLLayerDelegate SKDelegate { get; set; }
```
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Mac.SKGLView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.Mac.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```

Просмотреть файл

@ -4,3 +4,50 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.Tizen
#### Type Changed: SkiaSharp.Views.Tizen.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```
#### Type Changed: SkiaSharp.Views.Tizen.TizenExtensions
Added methods:
```csharp
public static SkiaSharp.SKSize ToSKSize (this ElmSharp.Size size);
public static SkiaSharp.SKSizeI ToSKSizeI (this ElmSharp.Size size);
public static ElmSharp.Size ToSize (this SkiaSharp.SKSize size);
public static ElmSharp.Size ToSize (this SkiaSharp.SKSizeI size);
```

Просмотреть файл

@ -0,0 +1,34 @@
# API diff: SkiaSharp.Views.UWP.dll
## SkiaSharp.Views.UWP.dll
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.UWP
#### Type Changed: SkiaSharp.Views.UWP.AngleSwapChainPanel
Removed properties:
```csharp
public GlesBackingOption BackingOption { get; set; }
public GlesContext Context { get; set; }
public GlesDepthFormat DepthFormat { get; set; }
public GlesMultisampling Multisampling { get; set; }
public GlesStencilFormat StencilFormat { get; set; }
```
Modified properties:
```diff
public double ContentsScale { get; ---set;--- }
```
#### Removed Type SkiaSharp.Views.UWP.GlesBackingOption
#### Removed Type SkiaSharp.Views.UWP.GlesContext
#### Removed Type SkiaSharp.Views.UWP.GlesDepthFormat
#### Removed Type SkiaSharp.Views.UWP.GlesMultisampling
#### Removed Type SkiaSharp.Views.UWP.GlesRenderTarget
#### Removed Type SkiaSharp.Views.UWP.GlesStencilFormat

Просмотреть файл

@ -4,3 +4,94 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.UWP
#### Type Changed: SkiaSharp.Views.UWP.AngleSwapChainPanel
Removed properties:
```csharp
public GlesBackingOption BackingOption { get; set; }
public GlesContext Context { get; set; }
public GlesDepthFormat DepthFormat { get; set; }
public GlesMultisampling Multisampling { get; set; }
public GlesStencilFormat StencilFormat { get; set; }
```
Modified properties:
```diff
public double ContentsScale { get; ---set;--- }
```
#### Type Changed: SkiaSharp.Views.UWP.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```
#### Type Changed: SkiaSharp.Views.UWP.SKSwapChainPanel
Removed method:
```csharp
protected override Windows.Foundation.Size ArrangeOverride (Windows.Foundation.Size finalSize);
```
#### Removed Type SkiaSharp.Views.UWP.GlesBackingOption
#### Removed Type SkiaSharp.Views.UWP.GlesContext
#### Removed Type SkiaSharp.Views.UWP.GlesDepthFormat
#### Removed Type SkiaSharp.Views.UWP.GlesMultisampling
#### 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 ();
}
```

Просмотреть файл

@ -4,3 +4,116 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.iOS
#### Type Changed: SkiaSharp.Views.iOS.SKCanvasLayer
Obsoleted properties:
```diff
[Obsolete ("Use PaintSurface instead.")]
public ISKCanvasLayerDelegate SKDelegate { get; set; }
```
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.iOS.SKCanvasView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.iOS.SKGLLayer
Obsoleted properties:
```diff
[Obsolete ("Use PaintSurface instead.")]
public ISKGLLayerDelegate SKDelegate { get; set; }
```
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.iOS.SKGLView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.iOS.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```

Просмотреть файл

@ -4,3 +4,116 @@
> Assembly Version Changed: 1.68.0.0 vs 1.60.0.0
### Namespace SkiaSharp.Views.tvOS
#### Type Changed: SkiaSharp.Views.tvOS.SKCanvasLayer
Obsoleted properties:
```diff
[Obsolete ("Use PaintSurface instead.")]
public ISKCanvasLayerDelegate SKDelegate { get; set; }
```
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.tvOS.SKCanvasView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.tvOS.SKGLLayer
Obsoleted properties:
```diff
[Obsolete ("Use PaintSurface instead.")]
public ISKGLLayerDelegate SKDelegate { get; set; }
```
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.tvOS.SKGLView
Obsoleted methods:
```diff
[Obsolete ("Use OnPaintSurface(SKPaintGLSurfaceEventArgs) instead.")]
public virtual void DrawInSurface (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added method:
```csharp
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
```
#### Type Changed: SkiaSharp.Views.tvOS.SKPaintGLSurfaceEventArgs
Obsoleted constructors:
```diff
[Obsolete ("Use SKPaintGLSurfaceEventArgs(SKSurface, GRBackendRenderTarget, SKColorType, GRSurfaceOrigin) instead.")]
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
```
Added constructors:
```csharp
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget);
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKColorType colorType);
```
Obsoleted properties:
```diff
[Obsolete ("Use BackendRenderTarget instead.")]
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
```
Added properties:
```csharp
public SkiaSharp.GRBackendRenderTarget BackendRenderTarget { get; }
public SkiaSharp.SKColorType ColorType { get; }
public SkiaSharp.GRSurfaceOrigin Origin { get; }
```

Просмотреть файл

@ -155,6 +155,8 @@ Obsoleted properties:
Obsoleted methods:
```diff
[Obsolete ("The Index8 color type and color table is no longer supported. Use GetPixel(int, int) instead.")]
public SKPMColor GetIndex8Color (int x, int y);
[Obsolete ("The Index8 color type and color table is no longer supported. Use InstallPixels(SKImageInfo, IntPtr, int) instead.")]
public bool InstallPixels (SKImageInfo info, IntPtr pixels, int rowBytes, SKColorTable ctable);
[Obsolete ("The Index8 color type and color table is no longer supported. Use InstallPixels(SKImageInfo, IntPtr, int, SKBitmapReleaseDelegate, object) instead.")]
@ -656,6 +658,22 @@ public bool ScalePixels (SKPixmap destination, SKFilterQuality quality);
```
#### Type Changed: SkiaSharp.SKStream
Added methods:
```csharp
public bool ReadBool ();
public bool ReadBool (out bool buffer);
public bool ReadByte (out byte buffer);
public bool ReadInt16 (out short buffer);
public bool ReadInt32 (out int buffer);
public bool ReadSByte (out sbyte buffer);
public bool ReadUInt16 (out ushort buffer);
public bool ReadUInt32 (out uint buffer);
```
#### Type Changed: SkiaSharp.SKSurface
Obsoleted methods:
@ -777,7 +795,9 @@ public static SKColorType ToColorType (this GRPixelConfig config);
[Obsolete]
public static SKFilterQuality ToFilterQuality (this SKBitmapResizeMethod method);
public static GRPixelConfig ToPixelConfig (this SKColorType colorType);
public static uint ToSizedFormat (this GRPixelConfig config);
public static uint ToSizedFormat (this SKColorType colorType);
```
@ -801,7 +821,9 @@ public GRBackendRenderTarget (GRBackend backend, GRBackendRenderTargetDesc desc)
public GRBackend Backend { get; }
public int Height { get; }
public bool IsValid { get; }
public SKRectI Rect { get; }
public int SampleCount { get; }
public SKSizeI Size { get; }
public int StencilBits { get; }
public int Width { get; }
// methods