![]() |
DDNet documentation
|
#include <graphics.h>
Public Member Functions | |
| CScreenRect (float Left, float Top, float Width, float Height) | |
| CScreenRect (const vec2 &TopLeft, const vec2 &BottomRight) | |
| CScreenRect | Move (const vec2 &Position) const |
| constexpr vec2 | Size () const |
| constexpr float | Width () const |
| constexpr float | Height () const |
| constexpr bool | Inside (const vec2 &Position) const |
| void | Expand (float Width, float Height) |
| void | Expand (float Size) |
Public Attributes | |
| vec2 | m_TopLeft |
| vec2 | m_BottomRight |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
| vec2 CScreenRect::m_BottomRight |
| vec2 CScreenRect::m_TopLeft |