getCPtr() static private method

static private getCPtr ( Matrix2d obj ) : HandleRef
obj Matrix2d
return HandleRef
示例#1
0
 public Matrix2d(Matrix2d src) : this(touchvgPINVOKE.new_Matrix2d__SWIG_1(Matrix2d.getCPtr(src)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public override void transform(Matrix2d mat)
 {
     touchvgPINVOKE.MgGrid_transform(swigCPtr, Matrix2d.getCPtr(mat));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#3
0
 public void setModelTransform(Matrix2d mat)
 {
     touchvgPINVOKE.GiTransform_setModelTransform(swigCPtr, Matrix2d.getCPtr(mat));
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public Point2d transform(Matrix2d m)
        {
            Point2d ret = new Point2d(touchvgPINVOKE.Point2d_transform(swigCPtr, Matrix2d.getCPtr(m)), true);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
        public bool smooth(Matrix2d m2d, float tol)
        {
            bool ret = touchvgPINVOKE.MgSplines_smooth(swigCPtr, Matrix2d.getCPtr(m2d), tol);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public bool isEqualTo(Matrix2d mat)
        {
            bool ret = touchvgPINVOKE.Matrix2d_isEqualTo__SWIG_1(swigCPtr, Matrix2d.getCPtr(mat));

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
        public Matrix2d postMultBy(Matrix2d rightSide)
        {
            Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_postMultBy(swigCPtr, Matrix2d.getCPtr(rightSide)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#8
0
 public virtual void transform(Matrix2d mat)
 {
     if (SwigDerivedClassHasMethod("transform", swigMethodTypes13))
     {
         touchvgPINVOKE.MgBaseShape_transformSwigExplicitMgBaseShape(swigCPtr, Matrix2d.getCPtr(mat));
     }
     else
     {
         touchvgPINVOKE.MgBaseShape_transform(swigCPtr, Matrix2d.getCPtr(mat));
     }
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#9
0
        public int smoothForPoints(int count, Point2d points, Matrix2d m2d, float tol)
        {
            int ret = touchvgPINVOKE.MgSplines_smoothForPoints(swigCPtr, count, Point2d.getCPtr(points), Matrix2d.getCPtr(m2d), tol);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#10
0
        public Matrix2d setToProduct(Matrix2d m1, Matrix2d m2)
        {
            Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_setToProduct(swigCPtr, Matrix2d.getCPtr(m1), Matrix2d.getCPtr(m2)), false);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#11
0
 public GiSaveModelTransform(GiTransform xform, Matrix2d mat) : this(touchvgPINVOKE.new_GiSaveModelTransform(GiTransform.getCPtr(xform), Matrix2d.getCPtr(mat)), true)
 {
     if (touchvgPINVOKE.SWIGPendingException.Pending)
     {
         throw touchvgPINVOKE.SWIGPendingException.Retrieve();
     }
 }