R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
ImRect Struct Reference
Collaboration diagram for ImRect:
[legend]

Public Member Functions

constexpr ImRect (const ImVec2 &min, const ImVec2 &max)
 
constexpr ImRect (const ImVec4 &v)
 
constexpr ImRect (float x1, float y1, float x2, float y2)
 
void Add (const ImRect &r)
 
void Add (const ImVec2 &p)
 
void ClipWith (const ImRect &r)
 
void ClipWithFull (const ImRect &r)
 
bool Contains (const ImRect &r) const
 
bool Contains (const ImVec2 &p) const
 
void Expand (const float amount)
 
void Expand (const ImVec2 &amount)
 
void Floor ()
 
float GetArea () const
 
ImVec2 GetBL () const
 
ImVec2 GetBR () const
 
ImVec2 GetCenter () const
 
float GetHeight () const
 
ImVec2 GetSize () const
 
ImVec2 GetTL () const
 
ImVec2 GetTR () const
 
float GetWidth () const
 
bool IsInverted () const
 
bool Overlaps (const ImRect &r) const
 
ImVec4 ToVec4 () const
 
void Translate (const ImVec2 &d)
 
void TranslateX (float dx)
 
void TranslateY (float dy)
 

Data Fields

ImVec2 Max
 
ImVec2 Min
 

The documentation for this struct was generated from the following file: