VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
In This Topic
    Drawing of 2D graphics using SkiaSharp library
    In This Topic
    The Vintasoft.Imaging.dll assembly defines interfaces (IRegion, IDrawingPen, IDrawingBrush, IDrawingSolidBrush, IDrawingHatchBrush, IDrawingImageBrush, IDrawingLinearGradientBrush) and abstract classes (RasterDrawingEngine, DrawingFactory, DrawingFont, DrawingFontMetrics, GraphicsPathBase) for drawing of 2D graphics.

    The Vintasoft.Imaging.Drawing.SkiaSharp.dll assembly contains implementations of interfaces and abstract classes for drawing of 2D graphics using SkiaSharp library:
    By default the SDK will search and use the Vintasoft.Imaging.Drawing.SkiaSharp.dll assembly for drawing of 2D graphics if SDK is used in Linux or macOS.

    Also it is possible to explicitly specify that SDK should use SkiaSharp library for drawing of 2D graphics using the following code:
    /// <summary>
    /// Sets the SKIA Sharp drawing factory as a default drawing factory.
    /// </summary>
    public static void SetSkiaSharpSdkDrawing()
    {
        // Skia - cross platform drawing engine
        Vintasoft.Imaging.Drawing.SkiaSharp.SkiaSharpDrawingFactory.SetAsDefault();
    }
    
    ''' <summary>
    ''' Sets the SKIA Sharp drawing factory as a default drawing factory.
    ''' </summary>
    Public Shared Sub SetSkiaSharpSdkDrawing()
        ' Skia - cross platform drawing engine
        Vintasoft.Imaging.Drawing.SkiaSharp.SkiaSharpDrawingFactory.SetAsDefault()
    End Sub