Exemplo n.º 1
0
        public static Art.PathStrokeCapType CapGdkToArt(Gdk.CapStyle gdk_cap)
        {
            int raw_ret = gnome_canvas_cap_gdk_to_art((int)gdk_cap);

            Art.PathStrokeCapType ret = (Art.PathStrokeCapType)raw_ret;
            return(ret);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }