Esempio n. 1
0
 public static void Free(SWIGTYPE_p_p_BaseBitmap bc)
 {
     C4dApiPINVOKE.BaseBitmap_Free(SWIGTYPE_p_p_BaseBitmap.getCPtr(bc));
     if (C4dApiPINVOKE.SWIGPendingException.Pending)
     {
         throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
        public static IMAGERESULT Init(SWIGTYPE_p_p_BaseBitmap res, Filename name, int frame, SWIGTYPE_p_Bool ismovie, SWIGTYPE_p_p_BitmapLoaderPlugin loaderplugin)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.BaseBitmap_Init__SWIG_0(SWIGTYPE_p_p_BaseBitmap.getCPtr(res), Filename.getCPtr(name), frame, SWIGTYPE_p_Bool.getCPtr(ismovie), SWIGTYPE_p_p_BitmapLoaderPlugin.getCPtr(loaderplugin));

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 3
0
        public static IMAGERESULT Init(SWIGTYPE_p_p_BaseBitmap res, Filename name)
        {
            IMAGERESULT ret = (IMAGERESULT)C4dApiPINVOKE.BaseBitmap_Init__SWIG_3(SWIGTYPE_p_p_BaseBitmap.getCPtr(res), Filename.getCPtr(name));

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