public MgLayer getCurrentLayer() { IntPtr cPtr = touchvgPINVOKE.MgShapeDoc_getCurrentLayer(swigCPtr); MgLayer ret = (cPtr == IntPtr.Zero) ? null : new MgLayer(cPtr, false); return(ret); }
public MgLayer cloneLayer() { IntPtr cPtr = touchvgPINVOKE.MgLayer_cloneLayer(swigCPtr); MgLayer ret = (cPtr == IntPtr.Zero) ? null : new MgLayer(cPtr, false); return(ret); }
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); }
internal static HandleRef getCPtr(MgLayer obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(MgLayer obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }