public virtual MgBaseShape shape() { global::System.IntPtr cPtr = touchvgPINVOKE.MgShape_shape(swigCPtr); MgBaseShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgBaseShape(cPtr, false); return(ret); }
public override MgBaseShape createShape(MgMotion sender, int type) { global::System.IntPtr cPtr = (SwigDerivedClassHasMethod("createShape", swigMethodTypes22) ? touchvgPINVOKE.CmdObserverDefault_createShapeSwigExplicitCmdObserverDefault(swigCPtr, MgMotion.getCPtr(sender), type) : touchvgPINVOKE.CmdObserverDefault_createShape(swigCPtr, MgMotion.getCPtr(sender), type)); MgBaseShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgBaseShape(cPtr, false); return(ret); }
public virtual MgBaseShape createShape(MgMotion sender, int type) { global::System.IntPtr cPtr = touchvgPINVOKE.CmdObserver_createShape(swigCPtr, MgMotion.getCPtr(sender), type); MgBaseShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgBaseShape(cPtr, false); return(ret); }
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); }
public MgBaseShape createShape(int type) { global::System.IntPtr cPtr = touchvgPINVOKE.MgCoreShapeFactory_createShape(swigCPtr, type); MgBaseShape ret = (cPtr == global::System.IntPtr.Zero) ? null : new MgBaseShape(cPtr, false); return(ret); }
public static int crossCircle(Point2d pt1, Point2d pt2, MgBaseShape sp) { int ret = touchvgPINVOKE.MgEllipse_crossCircle__SWIG_1(Point2d.getCPtr(pt1), Point2d.getCPtr(pt2), MgBaseShape.getCPtr(sp)); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool drawShape(MgShapes shapes, MgBaseShape sp, int mode, GiGraphics gs, GiContext ctx, int segment) { bool ret = touchvgPINVOKE.MgShape_drawShape(MgShapes.getCPtr(shapes), MgBaseShape.getCPtr(sp), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment); if (touchvgPINVOKE.SWIGPendingException.Pending) { throw touchvgPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static bool drawShape(MgShapes shapes, MgBaseShape sp, int mode, GiGraphics gs, GiContext ctx, int segment) { bool ret = touchvgPINVOKE.MgShape_drawShape(MgShapes.getCPtr(shapes), MgBaseShape.getCPtr(sp), mode, GiGraphics.getCPtr(gs), GiContext.getCPtr(ctx), segment); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static int crossCircle(Point2d pt1, Point2d pt2, MgBaseShape sp) { int ret = touchvgPINVOKE.MgEllipse_crossCircle__SWIG_1(Point2d.getCPtr(pt1), Point2d.getCPtr(pt2), MgBaseShape.getCPtr(sp)); if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve(); return ret; }
private global::System.IntPtr SwigDirectorcreateShape(global::System.IntPtr sender, int type) { return(MgBaseShape.getCPtr(createShape((sender == global::System.IntPtr.Zero) ? null : new MgMotion(sender, false), type)).Handle); }
public static bool isCircle(MgBaseShape sp) { bool ret = touchvgPINVOKE.MgEllipse_isCircle__SWIG_1(MgBaseShape.getCPtr(sp)); return ret; }
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; }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgBaseShape obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public static extern void MgBaseShape_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, MgBaseShape.SwigDelegateMgBaseShape_0 delegate0, MgBaseShape.SwigDelegateMgBaseShape_1 delegate1, MgBaseShape.SwigDelegateMgBaseShape_2 delegate2, MgBaseShape.SwigDelegateMgBaseShape_3 delegate3, MgBaseShape.SwigDelegateMgBaseShape_4 delegate4, MgBaseShape.SwigDelegateMgBaseShape_5 delegate5, MgBaseShape.SwigDelegateMgBaseShape_6 delegate6, MgBaseShape.SwigDelegateMgBaseShape_7 delegate7, MgBaseShape.SwigDelegateMgBaseShape_8 delegate8, MgBaseShape.SwigDelegateMgBaseShape_9 delegate9, MgBaseShape.SwigDelegateMgBaseShape_10 delegate10, MgBaseShape.SwigDelegateMgBaseShape_11 delegate11, MgBaseShape.SwigDelegateMgBaseShape_12 delegate12, MgBaseShape.SwigDelegateMgBaseShape_13 delegate13, MgBaseShape.SwigDelegateMgBaseShape_14 delegate14, MgBaseShape.SwigDelegateMgBaseShape_15 delegate15, MgBaseShape.SwigDelegateMgBaseShape_16 delegate16, MgBaseShape.SwigDelegateMgBaseShape_17 delegate17, MgBaseShape.SwigDelegateMgBaseShape_18 delegate18, MgBaseShape.SwigDelegateMgBaseShape_19 delegate19, MgBaseShape.SwigDelegateMgBaseShape_20 delegate20, MgBaseShape.SwigDelegateMgBaseShape_21 delegate21, MgBaseShape.SwigDelegateMgBaseShape_22 delegate22, MgBaseShape.SwigDelegateMgBaseShape_23 delegate23, MgBaseShape.SwigDelegateMgBaseShape_24 delegate24, MgBaseShape.SwigDelegateMgBaseShape_25 delegate25, MgBaseShape.SwigDelegateMgBaseShape_26 delegate26, MgBaseShape.SwigDelegateMgBaseShape_27 delegate27, MgBaseShape.SwigDelegateMgBaseShape_28 delegate28, MgBaseShape.SwigDelegateMgBaseShape_29 delegate29, MgBaseShape.SwigDelegateMgBaseShape_30 delegate30, MgBaseShape.SwigDelegateMgBaseShape_31 delegate31, MgBaseShape.SwigDelegateMgBaseShape_32 delegate32, MgBaseShape.SwigDelegateMgBaseShape_33 delegate33, MgBaseShape.SwigDelegateMgBaseShape_34 delegate34, MgBaseShape.SwigDelegateMgBaseShape_35 delegate35);
public static bool isCircle(MgBaseShape sp) { bool ret = touchvgPINVOKE.MgEllipse_isCircle__SWIG_1(MgBaseShape.getCPtr(sp)); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MgBaseShape obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }