public void Inflate(SizeI s)
 {
     IronSightEnginePINVOKE.RectI_Inflate__SWIG_0(swigCPtr, SizeI.getCPtr(s));
     if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public RectI(PointI pos, SizeI size) : this(IronSightEnginePINVOKE.new_RectI__SWIG_3(PointI.getCPtr(pos), SizeI.getCPtr(size)), true)
 {
     if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
    public virtual Result CreateElement(/*cstype*/ string text, SWIGTYPE_p_LPD3DFONT font, int x, int y, DockType dock, Color color, SizeI size)
    {
        Result ret = new Result(IronSightEnginePINVOKE.IHUD_CreateElement__SWIG_12(swigCPtr, new IronSightEnginePINVOKE.SWIGStringMarshal(text).swigCPtr, SWIGTYPE_p_LPD3DFONT.getCPtr(font), x, y, (int)dock, Color.getCPtr(color), SizeI.getCPtr(size)), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }