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

getCPtr() static private method

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

Usage Example

Example #1
0
        public int getSelectionForChange(MgView view, Shapes shapes)
        {
            int ret = touchvgPINVOKE.MgSelection_getSelectionForChange(swigCPtr, MgView.getCPtr(view), Shapes.getCPtr(shapes));

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