Beispiel #1
0
 public void Resize(PSizei newSize, PImage.EAspectRatioMode aspectRatioMode)
 {
     PapillonPINVOKE.PFrame_Resize__SWIG_1(swigCPtr, PSizei.getCPtr(newSize), (int)aspectRatioMode);
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
    public PResult Resize(PSizei newSize, PImage.EAspectRatioMode aspectRatioMode)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImage_Resize__SWIG_10(swigCPtr, PSizei.getCPtr(newSize), (int)aspectRatioMode), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #3
0
    public PResult Resize(PImage dest, int newWidth, int newHeight, PImage.EAspectRatioMode aspectRatioMode)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImage_Resize__SWIG_1(swigCPtr, PImage.getCPtr(dest), newWidth, newHeight, (int)aspectRatioMode), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #4
0
    public PResult Resize(int newWidth, int newHeight, PImage.EAspectRatioMode aspectRatioMode)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImage_Resize__SWIG_4(swigCPtr, newWidth, newHeight, (int)aspectRatioMode), true);

        return(ret);
    }
Beispiel #5
0
    public static string GetAspectRatioToString(PImage.EAspectRatioMode aspectRatioMode)
    {
        string ret = PapillonPINVOKE.PImage_GetAspectRatioToString((int)aspectRatioMode);

        return(ret);
    }