public void setSize(Sizei size) { solar_datastructurePINVOKE.Image_setSize__SWIG_1(swigCPtr, Sizei.getCPtr(size)); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } }
public Sizei getSize() { Sizei ret = new Sizei(solar_datastructurePINVOKE.Image_getSize(swigCPtr), true); if (solar_datastructurePINVOKE.SWIGPendingException.Pending) { throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Sizei obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }