コード例 #1
0
ファイル: MgPathShape.cs プロジェクト: zhangxin8105/vgwpf
        public static MgPathShape fromHandle(int h)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgPathShape_fromHandle(h);
            MgPathShape           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgPathShape(cPtr, false);

            return(ret);
        }
コード例 #2
0
ファイル: MgPathShape.cs プロジェクト: zhangxin8105/vgwpf
        public static MgPathShape cast(MgBaseShape obj)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgPathShape_cast(MgBaseShape.getCPtr(obj));
            MgPathShape           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgPathShape(cPtr, false);

            return(ret);
        }
コード例 #3
0
ファイル: MgPathShape.cs プロジェクト: zhangxin8105/vgwpf
        public static MgPathShape create()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgPathShape_create();
            MgPathShape           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgPathShape(cPtr, false);

            return(ret);
        }
コード例 #4
0
ファイル: MgPathShape.cs プロジェクト: zhangxin8105/vgwpf
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgPathShape obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
コード例 #5
0
ファイル: MgPathShape.cs プロジェクト: rhcad/vgwpf
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgPathShape obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }