public static MgShapes create(MgObject owner) { global::System.IntPtr cPtr = touchvgPINVOKE.MgShapes_create__SWIG_1(MgObject.getCPtr(owner)); MgShapes ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgShapes(cPtr, false); return(ret); }
public virtual void copy(MgObject src) { touchvgPINVOKE.MgObject_copy(swigCPtr, MgObject.getCPtr(src)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public override void copy(MgObject src) { touchvgPINVOKE.MgDiamond_copy(swigCPtr, MgObject.getCPtr(src)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual bool equals(MgObject src) { bool ret = touchvgPINVOKE.MgObject_equals(swigCPtr, MgObject.getCPtr(src)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual void setOwner(MgObject owner) { if (SwigDerivedClassHasMethod("setOwner", swigMethodTypes34)) { touchvgPINVOKE.MgBaseShape_setOwnerSwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(owner)); } else { touchvgPINVOKE.MgBaseShape_setOwner(swigCPtr, MgObject.getCPtr(owner)); } }
public override void copy(MgObject src) { if (SwigDerivedClassHasMethod("copy", swigMethodTypes1)) { touchvgPINVOKE.MgBaseShape_copySwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(src)); } else { touchvgPINVOKE.MgBaseShape_copy(swigCPtr, MgObject.getCPtr(src)); } if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } }
private global::System.IntPtr SwigDirectorclone() { return(MgObject.getCPtr(clone()).Handle); }
public override bool equals(MgObject src) { bool ret = (SwigDerivedClassHasMethod("equals", swigMethodTypes4) ? touchvgPINVOKE.MgBaseShape_equalsSwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(src)) : touchvgPINVOKE.MgBaseShape_equals(swigCPtr, MgObject.getCPtr(src))); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public virtual bool draw2(MgObject owner, int mode, GiGraphics gs, GiContext ctx, int segment) { bool ret = (SwigDerivedClassHasMethod("draw2", swigMethodTypes23) ? touchvgPINVOKE.MgBaseShape_draw2SwigExplicitMgBaseShape(swigCPtr, MgObject.getCPtr(owner), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment) : touchvgPINVOKE.MgBaseShape_draw2(swigCPtr, MgObject.getCPtr(owner), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public override bool equals(MgObject src) { bool ret = touchvgPINVOKE.MgImageShape_equals(swigCPtr, MgObject.getCPtr(src)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }