Exemple #1
0
        public SWIGTYPE_p_UChar ToArray(int count)
        {
            global::System.IntPtr cPtr = C4dApiPINVOKE.BaseSelect_ToArray(swigCPtr, count);
            SWIGTYPE_p_UChar      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_UChar(cPtr, false);

            return(ret);
        }
Exemple #2
0
        public virtual bool Identify(BaseSceneLoader node, Filename name, SWIGTYPE_p_UChar probe, int size)
        {
            bool ret = C4dApiPINVOKE.SceneLoaderData_Identify(swigCPtr, BaseSceneLoader.getCPtr(node), Filename.getCPtr(name), SWIGTYPE_p_UChar.getCPtr(probe), size);

            if (C4dApiPINVOKE.SWIGPendingException.Pending)
            {
                throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #3
0
        public bool FromArray(SWIGTYPE_p_UChar selection, int count)
        {
            bool ret = C4dApiPINVOKE.BaseSelect_FromArray(swigCPtr, SWIGTYPE_p_UChar.getCPtr(selection), count);

            return(ret);
        }
Exemple #4
0
        public bool ReadUChar(SWIGTYPE_p_UChar v)
        {
            bool ret = C4dApiPINVOKE.BaseFile_ReadUChar(swigCPtr, SWIGTYPE_p_UChar.getCPtr(v));

            return(ret);
        }
Exemple #5
0
 public void GetPixelCnt(int x, int y, int cnt, SWIGTYPE_p_UChar buffer, int inc, COLORMODE dstmode, PIXELCNT flags)
 {
     C4dApiPINVOKE.BaseBitmap_GetPixelCnt__SWIG_1(swigCPtr, x, y, cnt, SWIGTYPE_p_UChar.getCPtr(buffer), inc, (int)dstmode, (int)flags);
 }
Exemple #6
0
 public void GetPixelCnt(int x, int y, int cnt, SWIGTYPE_p_UChar buffer, int inc, COLORMODE dstmode, PIXELCNT flags, ColorProfileConvert conversion)
 {
     C4dApiPINVOKE.BaseBitmap_GetPixelCnt__SWIG_0(swigCPtr, x, y, cnt, SWIGTYPE_p_UChar.getCPtr(buffer), inc, (int)dstmode, (int)flags, ColorProfileConvert.getCPtr(conversion));
 }
Exemple #7
0
        public bool SetPixelCnt(int x, int y, int cnt, SWIGTYPE_p_UChar buffer, int inc, COLORMODE srcmode, PIXELCNT flags)
        {
            bool ret = C4dApiPINVOKE.BaseBitmap_SetPixelCnt(swigCPtr, x, y, cnt, SWIGTYPE_p_UChar.getCPtr(buffer), inc, (int)srcmode, (int)flags);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_UChar obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #9
0
 public void Convert(SWIGTYPE_p_UChar src, SWIGTYPE_p_UChar dst, int cnt, int SkipInputComponents, int SkipOutputComponents)
 {
     C4dApiPINVOKE.ColorProfileConvert_Convert(swigCPtr, SWIGTYPE_p_UChar.getCPtr(src), SWIGTYPE_p_UChar.getCPtr(dst), cnt, SkipInputComponents, SkipOutputComponents);
 }