touchvg.core.GiCanvas.getCPtr C# (CSharp) Method

getCPtr() static private method

static private getCPtr ( GiCanvas obj ) : HandleRef
obj GiCanvas
return HandleRef
  internal static HandleRef getCPtr(GiCanvas obj) {
    return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
  }

Usage Example

Beispiel #1
0
        public bool beginPaint(GiCanvas canvas, RECT_2D clipBox)
        {
            bool ret = touchvgPINVOKE.GiGraphics_beginPaint__SWIG_0(swigCPtr, GiCanvas.getCPtr(canvas), RECT_2D.getCPtr(clipBox));

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