예제 #1
0
        public static MgImageShape fromHandle(int h)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgImageShape_fromHandle(h);
            MgImageShape          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgImageShape(cPtr, false);

            return(ret);
        }
예제 #2
0
        public static MgImageShape create()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgImageShape_create();
            MgImageShape          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgImageShape(cPtr, false);

            return(ret);
        }
예제 #3
0
        public static MgImageShape cast(MgBaseShape obj)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgImageShape_cast(MgBaseShape.getCPtr(obj));
            MgImageShape          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgImageShape(cPtr, false);

            return(ret);
        }
예제 #4
0
파일: MgImageShape.cs 프로젝트: rhcad/vgwpf
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgImageShape obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
예제 #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgImageShape obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }