コード例 #1
0
ファイル: MgView.cs プロジェクト: shuangyou/TouchVG
        public virtual MgSelection getSelection()
        {
            IntPtr      cPtr = touchvgPINVOKE.MgView_getSelection(swigCPtr);
            MgSelection ret  = (cPtr == IntPtr.Zero) ? null : new MgSelection(cPtr, false);

            return(ret);
        }
コード例 #2
0
ファイル: MgSelection.cs プロジェクト: vvhh2002/TouchVG
 internal static HandleRef getCPtr(MgSelection obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
コード例 #3
0
 internal static HandleRef getCPtr(MgSelection obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }