コード例 #1
0
        public DCPProfile getStdProfile(string camShortName)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.DCPStore_getStdProfile(swigCPtr, camShortName);
            DCPProfile            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DCPProfile(cPtr, false);

            if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
            {
                throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
        public virtual DCPProfile getDCP(ColorManagementParams cmp, ColorTemp wb)
        {
            global::System.IntPtr cPtr = libPhotoAssistantImageProcessingPINVOKE.ImageSource_getDCP(swigCPtr, ColorManagementParams.getCPtr(cmp), ColorTemp.getCPtr(wb));
            DCPProfile            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DCPProfile(cPtr, false);

            if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
            {
                throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DCPProfile obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }