public PSizef(PSizef other) : this(PapillonPINVOKE.new_PSizef__SWIG_3(PSizef.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
public static PSizef Bad() { PSizef ret = new PSizef(PapillonPINVOKE.PSizef_Bad(), false); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PSizef obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PSizef Clamped(float min, float max) { PSizef ret = new PSizef(PapillonPINVOKE.PSizef_Clamped(swigCPtr, min, max), true); return(ret); }
public PSizef Scaled(float factor) { PSizef ret = new PSizef(PapillonPINVOKE.PSizef_Scaled(swigCPtr, factor), true); return(ret); }
public PSizef ToSizef() { PSizef ret = new PSizef(PapillonPINVOKE.PSizei_ToSizef(swigCPtr), true); return(ret); }
public PSizef GetSize() { PSizef ret = new PSizef(PapillonPINVOKE.PRectanglef_GetSize(swigCPtr), true); return(ret); }