コード例 #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);
 }