public static Art.Uta FromVpath(Art.Vpath vec) { IntPtr raw_ret = art_uta_from_vpath(vec == null ? IntPtr.Zero : vec.Handle); Art.Uta ret = raw_ret == IntPtr.Zero ? null : (Art.Uta)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Uta), false); return(ret); }
public Art.Vpath Perturb() { IntPtr raw_ret = art_vpath_perturb(Handle); Art.Vpath ret = raw_ret == IntPtr.Zero ? null : (Art.Vpath)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Vpath), false); return(ret); }
public Art.Vpath AffineTransform(double[] matrix) { IntPtr raw_ret = art_vpath_affine_transform(Handle, matrix); Art.Vpath ret = raw_ret == IntPtr.Zero ? null : (Art.Vpath)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Vpath), false); return(ret); }
public static Art.SVP FromVpath(Art.Vpath vpath) { IntPtr raw_ret = art_svp_from_vpath(vpath == null ? IntPtr.Zero : vpath.Handle); Art.SVP ret = Art.SVP.New(raw_ret); return(ret); }
public static Art.SVP VpathStroke(Art.Vpath vpath, Art.PathStrokeJoinType join, Art.PathStrokeCapType cap, double line_width, double miter_limit, double flatness) { IntPtr raw_ret = art_svp_vpath_stroke(vpath == null ? IntPtr.Zero : vpath.Handle, (int)join, (int)cap, line_width, miter_limit, flatness); Art.SVP ret = Art.SVP.New(raw_ret); return(ret); }
public static Art.Vpath VpathStrokeRaw(Art.Vpath vpath, Art.PathStrokeJoinType join, Art.PathStrokeCapType cap, double line_width, double miter_limit, double flatness) { IntPtr raw_ret = art_svp_vpath_stroke_raw(vpath == null ? IntPtr.Zero : vpath.Handle, (int)join, (int)cap, line_width, miter_limit, flatness); Art.Vpath ret = raw_ret == IntPtr.Zero ? null : (Art.Vpath)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Vpath), false); return(ret); }
public static Art.Vpath BezPathToVec(Art.Bpath bez, double flatness) { IntPtr native_bez = GLib.Marshaller.StructureToPtrAlloc(bez); IntPtr raw_ret = art_bez_path_to_vec(native_bez, flatness); Art.Vpath ret = raw_ret == IntPtr.Zero ? null : (Art.Vpath)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Vpath), false); bez = Art.Bpath.New(native_bez); Marshal.FreeHGlobal(native_bez); return(ret); }
public Art.Vpath Dash(Art.VpathDash dash) { IntPtr native_dash = GLib.Marshaller.StructureToPtrAlloc(dash); IntPtr raw_ret = art_vpath_dash(Handle, native_dash); Art.Vpath ret = raw_ret == IntPtr.Zero ? null : (Art.Vpath)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Vpath), false); dash = Art.VpathDash.New(native_dash); Marshal.FreeHGlobal(native_dash); return(ret); }
public static Art.Vpath FromSvp(Art.SVP svp) { IntPtr native_svp = GLib.Marshaller.StructureToPtrAlloc(svp); IntPtr raw_ret = art_vpath_from_svp(native_svp); Art.Vpath ret = raw_ret == IntPtr.Zero ? null : (Art.Vpath)GLib.Opaque.GetOpaque(raw_ret, typeof(Art.Vpath), false); svp = Art.SVP.New(native_svp); Marshal.FreeHGlobal(native_svp); return(ret); }