Example #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);
        }
Example #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);
        }
Example #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);
        }
Example #4
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;
 }
Example #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);
 }