зеркало из https://github.com/mono/SkiaSharp.git
Update changelogs
This commit is contained in:
Родитель
54e8a3f3d5
Коммит
7e4dc6959d
|
@ -0,0 +1,29 @@
|
|||
# API diff: SkiaSharp.Views.Maui.Controls.dll
|
||||
|
||||
## SkiaSharp.Views.Maui.Controls.dll
|
||||
|
||||
> Assembly Version Changed: 3.0.0.0 vs 2.88.0.0
|
||||
|
||||
### Namespace SkiaSharp.Views.Maui.Controls
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.Maui.Controls.SKCanvasView
|
||||
|
||||
Removed interface:
|
||||
|
||||
```csharp
|
||||
ISKCanvasViewController
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.Maui.Controls.SKGLView
|
||||
|
||||
Removed interface:
|
||||
|
||||
```csharp
|
||||
ISKGLViewController
|
||||
```
|
||||
|
||||
|
||||
#### Removed Type SkiaSharp.Views.Maui.Controls.ISKCanvasViewController
|
||||
#### Removed Type SkiaSharp.Views.Maui.Controls.ISKGLViewController
|
||||
|
|
@ -4,3 +4,56 @@
|
|||
|
||||
> Assembly Version Changed: 3.0.0.0 vs 2.88.0.0
|
||||
|
||||
### Namespace SkiaSharp.Views.Maui.Controls
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.Maui.Controls.SKCanvasView
|
||||
|
||||
Removed interface:
|
||||
|
||||
```csharp
|
||||
ISKCanvasViewController
|
||||
```
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
protected override Microsoft.Maui.SizeRequest OnMeasure (double widthConstraint, double heightConstraint);
|
||||
```
|
||||
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.Maui.Controls.SKGLView
|
||||
|
||||
Removed interface:
|
||||
|
||||
```csharp
|
||||
ISKGLViewController
|
||||
```
|
||||
|
||||
Added interface:
|
||||
|
||||
```csharp
|
||||
SkiaSharp.Views.Maui.ISKGLView
|
||||
```
|
||||
|
||||
Added field:
|
||||
|
||||
```csharp
|
||||
public static Microsoft.Maui.Controls.BindableProperty IgnorePixelScalingProperty;
|
||||
```
|
||||
|
||||
Added property:
|
||||
|
||||
```csharp
|
||||
public override bool IgnorePixelScaling { get; set; }
|
||||
```
|
||||
|
||||
Removed method:
|
||||
|
||||
```csharp
|
||||
protected override Microsoft.Maui.SizeRequest OnMeasure (double widthConstraint, double heightConstraint);
|
||||
```
|
||||
|
||||
|
||||
#### Removed Type SkiaSharp.Views.Maui.Controls.ISKCanvasViewController
|
||||
#### Removed Type SkiaSharp.Views.Maui.Controls.ISKGLViewController
|
||||
|
||||
|
|
|
@ -4,3 +4,64 @@
|
|||
|
||||
> Assembly Version Changed: 3.0.0.0 vs 2.88.0.0
|
||||
|
||||
### Namespace SkiaSharp.Views.Maui
|
||||
|
||||
#### Type Changed: SkiaSharp.Views.Maui.SKPaintGLSurfaceEventArgs
|
||||
|
||||
Added constructors:
|
||||
|
||||
```csharp
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKImageInfo info);
|
||||
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTarget renderTarget, SkiaSharp.GRSurfaceOrigin origin, SkiaSharp.SKImageInfo info, SkiaSharp.SKImageInfo rawInfo);
|
||||
```
|
||||
|
||||
Added properties:
|
||||
|
||||
```csharp
|
||||
public SkiaSharp.SKImageInfo Info { get; }
|
||||
public SkiaSharp.SKImageInfo RawInfo { get; }
|
||||
```
|
||||
|
||||
|
||||
#### New Type: SkiaSharp.Views.Maui.ISKGLView
|
||||
|
||||
```csharp
|
||||
public interface ISKGLView : Microsoft.Maui.IElement, Microsoft.Maui.ITransform, Microsoft.Maui.IView {
|
||||
// properties
|
||||
public virtual SkiaSharp.SKSize CanvasSize { get; }
|
||||
public virtual bool EnableTouchEvents { get; }
|
||||
public virtual SkiaSharp.GRContext GRContext { get; }
|
||||
public virtual bool HasRenderLoop { get; }
|
||||
public virtual bool IgnorePixelScaling { get; }
|
||||
// methods
|
||||
public virtual void InvalidateSurface ();
|
||||
public virtual void OnCanvasSizeChanged (SkiaSharp.SKSizeI size);
|
||||
public virtual void OnGRContextChanged (SkiaSharp.GRContext context);
|
||||
public virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
||||
public virtual void OnTouch (SKTouchEventArgs e);
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Namespace SkiaSharp.Views.Maui.Handlers
|
||||
|
||||
#### New Type: SkiaSharp.Views.Maui.Handlers.SKGLViewHandler
|
||||
|
||||
```csharp
|
||||
public class SKGLViewHandler : Microsoft.Maui.Handlers.ViewHandler`2[SkiaSharp.Views.Maui.ISKGLView,System.Object], Microsoft.Maui.IElementHandler, Microsoft.Maui.IPlatformViewHandler, Microsoft.Maui.IViewHandler {
|
||||
// constructors
|
||||
public SKGLViewHandler ();
|
||||
public SKGLViewHandler (Microsoft.Maui.PropertyMapper mapper, Microsoft.Maui.CommandMapper commands);
|
||||
// fields
|
||||
public static Microsoft.Maui.CommandMapper<SkiaSharp.Views.Maui.ISKGLView,SkiaSharp.Views.Maui.Handlers.SKGLViewHandler> SKGLViewCommandMapper;
|
||||
public static Microsoft.Maui.PropertyMapper<SkiaSharp.Views.Maui.ISKGLView,SkiaSharp.Views.Maui.Handlers.SKGLViewHandler> SKGLViewMapper;
|
||||
// methods
|
||||
protected override object CreatePlatformView ();
|
||||
public static void MapEnableTouchEvents (SKGLViewHandler handler, SkiaSharp.Views.Maui.ISKGLView view);
|
||||
public static void MapHasRenderLoop (SKGLViewHandler handler, SkiaSharp.Views.Maui.ISKGLView view);
|
||||
public static void MapIgnorePixelScaling (SKGLViewHandler handler, SkiaSharp.Views.Maui.ISKGLView view);
|
||||
public static void OnInvalidateSurface (SKGLViewHandler handler, SkiaSharp.Views.Maui.ISKGLView view, object args);
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -27,4 +27,39 @@ public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
|
|||
|
||||
|
||||
#### Removed Type SkiaSharp.Views.Windows.Extensions
|
||||
#### New Type: SkiaSharp.Views.Windows.AngleSwapChainPanel
|
||||
|
||||
```csharp
|
||||
public class AngleSwapChainPanel : Microsoft.UI.Xaml.Controls.SwapChainPanel {
|
||||
// constructors
|
||||
public AngleSwapChainPanel ();
|
||||
// properties
|
||||
public double ContentsScale { get; }
|
||||
public bool DrawInBackground { get; set; }
|
||||
public bool EnableRenderLoop { get; set; }
|
||||
// methods
|
||||
public void Invalidate ();
|
||||
protected virtual void OnDestroyingContext ();
|
||||
protected virtual void OnRenderFrame (Windows.Foundation.Rect rect);
|
||||
}
|
||||
```
|
||||
|
||||
#### New Type: SkiaSharp.Views.Windows.SKSwapChainPanel
|
||||
|
||||
```csharp
|
||||
public class SKSwapChainPanel : SkiaSharp.Views.Windows.AngleSwapChainPanel {
|
||||
// constructors
|
||||
public SKSwapChainPanel ();
|
||||
// properties
|
||||
public SkiaSharp.SKSize CanvasSize { get; }
|
||||
public SkiaSharp.GRContext GRContext { get; }
|
||||
// events
|
||||
public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
|
||||
// methods
|
||||
protected override void OnDestroyingContext ();
|
||||
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
|
||||
protected override void OnRenderFrame (Windows.Foundation.Rect rect);
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче