touchvg.core.Point2d.getCPtr C# (CSharp) Метод

getCPtr() статический приватный Метод

static private getCPtr ( Point2d obj ) : HandleRef
obj Point2d
Результат HandleRef
  internal static HandleRef getCPtr(Point2d obj) {
    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  }

Usage Example

Пример #1
0
        public static Matrix2d scaling(float scaleX, float scaleY, Point2d center)
        {
            Matrix2d ret = new Matrix2d(touchvgPINVOKE.Matrix2d_scaling__SWIG_2(scaleX, scaleY, Point2d.getCPtr(center)), true);

            if (touchvgPINVOKE.SWIGPendingException.Pending)
            {
                throw touchvgPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
All Usage Examples Of touchvg.core.Point2d::getCPtr