Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 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);
 }