changelogs/SkiaSharp.Views/1.55.0/SkiaSharp.Views.Desktop.md
Assembly Version Changed: 1.55.0.0 vs 0.0.0.0
public static class Extensions {
// methods
public static System.Drawing.Color ToDrawingColor (this SkiaSharp.SKColor color);
public static System.Drawing.PointF ToDrawingPoint (this SkiaSharp.SKPoint point);
public static System.Drawing.Point ToDrawingPoint (this SkiaSharp.SKPointI point);
public static System.Drawing.RectangleF ToDrawingRect (this SkiaSharp.SKRect rect);
public static System.Drawing.Rectangle ToDrawingRect (this SkiaSharp.SKRectI rect);
public static System.Drawing.SizeF ToDrawingSize (this SkiaSharp.SKSize size);
public static System.Drawing.Size ToDrawingSize (this SkiaSharp.SKSizeI size);
public static SkiaSharp.SKColor ToSKColor (this System.Drawing.Color color);
public static SkiaSharp.SKPointI ToSKPoint (this System.Drawing.Point point);
public static SkiaSharp.SKPoint ToSKPoint (this System.Drawing.PointF point);
public static SkiaSharp.SKRectI ToSKRect (this System.Drawing.Rectangle rect);
public static SkiaSharp.SKRect ToSKRect (this System.Drawing.RectangleF rect);
public static SkiaSharp.SKSizeI ToSKSize (this System.Drawing.Size size);
public static SkiaSharp.SKSize ToSKSize (this System.Drawing.SizeF size);
}
public class SKControl : System.Windows.Forms.Control, System.ComponentModel.IComponent, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window {
// constructors
public SKControl ();
// properties
public SkiaSharp.SKSize CanvasSize { get; }
// events
public event System.EventHandler<SKPaintSurfaceEventArgs> PaintSurface;
// methods
protected override void Dispose (bool disposing);
protected override void OnPaint (System.Windows.Forms.PaintEventArgs e);
protected virtual void OnPaintSurface (SKPaintSurfaceEventArgs e);
}
public class SKGLControl : OpenTK.GLControl, System.ComponentModel.IComponent, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window {
// constructors
public SKGLControl ();
// properties
public SkiaSharp.SKSize CanvasSize { get; }
// events
public event System.EventHandler<SKPaintGLSurfaceEventArgs> PaintSurface;
// methods
protected override void Dispose (bool disposing);
protected override void OnPaint (System.Windows.Forms.PaintEventArgs e);
protected virtual void OnPaintSurface (SKPaintGLSurfaceEventArgs e);
}
public class SKPaintGLSurfaceEventArgs : System.EventArgs {
// constructors
public SKPaintGLSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.GRBackendRenderTargetDesc renderTarget);
// properties
public SkiaSharp.GRBackendRenderTargetDesc RenderTarget { get; }
public SkiaSharp.SKSurface Surface { get; }
}
public class SKPaintSurfaceEventArgs : System.EventArgs {
// constructors
public SKPaintSurfaceEventArgs (SkiaSharp.SKSurface surface, SkiaSharp.SKImageInfo info);
// properties
public SkiaSharp.SKImageInfo Info { get; }
public SkiaSharp.SKSurface Surface { get; }
}