Example #1
0
 public PSizef(PSizef other) : this(PapillonPINVOKE.new_PSizef__SWIG_3(PSizef.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
    public static PResult FromString(string s, PSizef size)
    {
        PResult ret = new PResult(PapillonPINVOKE.PSizef_FromString(s, PSizef.getCPtr(size)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #3
0
    public PRectanglef Normalized(PSizef size)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Normalized__SWIG_1(swigCPtr, PSizef.getCPtr(size)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }