コード例 #1
0
        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);
        }
コード例 #2
0
 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;
 }
コード例 #3
0
        public static bool isCircle(MgBaseShape sp)
        {
            bool ret = touchvgPINVOKE.MgEllipse_isCircle__SWIG_1(MgBaseShape.getCPtr(sp));

            return(ret);
        }
コード例 #4
0
 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);
 }