Uno.SkiaSharp/binding/Binding/SKSVG.cs

30 строки
480 B
C#
Исходник Обычный вид История

2017-01-16 16:06:16 +03:00
//
// Bindings for Skia's SVG features
//
// Author:
// Matthew Leibowitz
//
// Copyright 2017 Xamarin Inc
//
using System;
namespace SkiaSharp
{
public class SKSvgCanvas
{
private SKSvgCanvas ()
{
}
public static SKCanvas Create (SKRect bounds, SKXmlWriter writer)
{
if (writer == null) {
throw new ArgumentNullException (nameof (writer));
}
return SKObject.GetObject<SKCanvas> (SkiaApi.sk_svgcanvas_create (ref bounds, writer.Handle));
}
}
}