public SKPath GetSegment(float start, float stop, bool startWithMoveTo) { var dst = new SKPath(); if (!GetSegment(start, stop, dst, startWithMoveTo)) { dst.Dispose(); dst = null; } return(dst); }
// GetBoundaryPath public SKPath GetBoundaryPath() { var path = new SKPath(); if (!SkiaApi.sk_region_get_boundary_path(Handle, path.Handle)) { path.Dispose(); path = null; } return(path); }
public static SKPath ParseSvgPathData(string svgPath) { SKPath path = new SKPath(); var success = SkiaApi.sk_path_parse_svg_string(path.Handle, svgPath); if (!success) { path.Dispose(); path = null; } return(path); }
public SKPath Simplify() { var result = new SKPath(); if (Simplify(result)) { return(result); } else { result.Dispose(); return(null); } }
public SKPath Op(SKPath other, SKPathOp op) { var result = new SKPath(); if (Op(other, op, result)) { return(result); } else { result.Dispose(); return(null); } }
public static SKPath ParseSvgPathData (string svgPath) { SKPath path = new SKPath (); var success = SkiaApi.sk_path_parse_svg_string (path.Handle, svgPath); if (!success) { path.Dispose (); path = null; } return path; }
public SKPath Simplify () { var result = new SKPath (); if (Simplify (result)) { return result; } else { result.Dispose (); return null; } }
public SKPath Op (SKPath other, SKPathOp op) { var result = new SKPath (); if (Op (other, op, result)) { return result; } else { result.Dispose (); return null; } }