Esempio n. 1
0
        public static MgDiamond fromHandle(int h)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgDiamond_fromHandle(h);
            MgDiamond             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgDiamond(cPtr, false);

            return(ret);
        }
Esempio n. 2
0
        public static MgDiamond cast(MgBaseShape obj)
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgDiamond_cast(MgBaseShape.getCPtr(obj));
            MgDiamond             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgDiamond(cPtr, false);

            return(ret);
        }
Esempio n. 3
0
        public static MgDiamond create()
        {
            global::System.IntPtr cPtr = touchvgPINVOKE.MgDiamond_create();
            MgDiamond             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new MgDiamond(cPtr, false);

            return(ret);
        }
Esempio n. 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgDiamond obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgDiamond obj)
 {
     return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }