Esempio n. 1
0
 public virtual void imageReady(CropParams cp)
 {
     libPhotoAssistantImageProcessingPINVOKE.PreviewImageListener_imageReady(swigCPtr, CropParams.getCPtr(cp));
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public virtual void setImage(IImage8 img, double scale, CropParams cp)
 {
     libPhotoAssistantImageProcessingPINVOKE.PreviewImageListener_setImage(swigCPtr, IImage8.getCPtr(img), scale, CropParams.getCPtr(cp));
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public virtual void setDetailedCrop(IImage8 img, IImage8 imgtrue, ColorManagementParams cmp, CropParams cp, int cx, int cy, int cw, int ch, int skip)
 {
     libPhotoAssistantImageProcessingPINVOKE.DetailedCropListener_setDetailedCrop(swigCPtr, IImage8.getCPtr(img), IImage8.getCPtr(imgtrue), ColorManagementParams.getCPtr(cmp), CropParams.getCPtr(cp), cx, cy, cw, ch, skip);
     if (libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Pending)
     {
         throw libPhotoAssistantImageProcessingPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CropParams obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }