示例#1
0
文件: Image.cs 项目: Staskkk/VRPhone
 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();
     }
 }
示例#2
0
文件: Image.cs 项目: Staskkk/VRPhone
        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);
        }
示例#3
0
文件: Sizei.cs 项目: Staskkk/VRPhone
 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);
 }