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); }
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); }
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); }