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 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; }
public static bool isCircle(MgBaseShape sp) { bool ret = touchvgPINVOKE.MgEllipse_isCircle__SWIG_1(MgBaseShape.getCPtr(sp)); 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); }