示例#1
0
        public ViewportPixel GetPixelInfoEdge(int x, int y)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetPixelInfoEdge(swigCPtr, x, y);
            ViewportPixel         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false);

            return(ret);
        }
示例#2
0
        public ViewportPixel GetNearestEdge(BaseObject op, SWIGTYPE_p_Int32 x, SWIGTYPE_p_Int32 y)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetNearestEdge__SWIG_4(swigCPtr, BaseObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(x), SWIGTYPE_p_Int32.getCPtr(y));
            ViewportPixel         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#3
0
        public ViewportPixel GetNearestEdge(BaseObject op, SWIGTYPE_p_Int32 x, SWIGTYPE_p_Int32 y, int maxrad, bool onlyselected, SWIGTYPE_p_Int32 ignorelist, int ignorecnt)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.ViewportSelect_GetNearestEdge__SWIG_0(swigCPtr, BaseObject.getCPtr(op), SWIGTYPE_p_Int32.getCPtr(x), SWIGTYPE_p_Int32.getCPtr(y), maxrad, onlyselected, SWIGTYPE_p_Int32.getCPtr(ignorelist), ignorecnt);
            ViewportPixel         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ViewportPixel(cPtr, false);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ViewportPixel obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }