Inheritance: touchvg.core.MgShapes
Example #1
0
        public MgLayer getCurrentLayer()
        {
            IntPtr  cPtr = touchvgPINVOKE.MgShapeDoc_getCurrentLayer(swigCPtr);
            MgLayer ret  = (cPtr == IntPtr.Zero) ? null : new MgLayer(cPtr, false);

            return(ret);
        }
Example #2
0
        public MgLayer cloneLayer()
        {
            IntPtr  cPtr = touchvgPINVOKE.MgLayer_cloneLayer(swigCPtr);
            MgLayer ret  = (cPtr == IntPtr.Zero) ? null : new MgLayer(cPtr, false);

            return(ret);
        }
Example #3
0
        public static MgLayer create(MgShapeDoc doc, int index)
        {
            IntPtr  cPtr = touchvgPINVOKE.MgLayer_create(MgShapeDoc.getCPtr(doc), index);
            MgLayer ret  = (cPtr == IntPtr.Zero) ? null : new MgLayer(cPtr, false);

            return(ret);
        }
Example #4
0
 internal static HandleRef getCPtr(MgLayer obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Example #5
0
 internal static HandleRef getCPtr(MgLayer obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }