2D rectangle with position and size
More...
#include <Geometry.h>
2D rectangle with position and size
Definition at line 40 of file Geometry.h.
◆ Rect() [1/3]
| EmberCore::Rect::Rect |
( |
| ) |
|
|
default |
◆ Rect() [2/3]
| EmberCore::Rect::Rect |
( |
int | x, |
|
|
int | y, |
|
|
int | width, |
|
|
int | height ) |
|
inline |
◆ Rect() [3/3]
| EmberCore::Rect::Rect |
( |
const Point & | position, |
|
|
const Size & | size ) |
|
inline |
◆ Contains() [1/2]
| bool EmberCore::Rect::Contains |
( |
const Point & | point | ) |
const |
|
inline |
◆ Contains() [2/2]
| bool EmberCore::Rect::Contains |
( |
const Rect & | rect | ) |
const |
|
inline |
◆ GetPosition()
| Point EmberCore::Rect::GetPosition |
( |
| ) |
const |
|
inline |
◆ GetSize()
| Size EmberCore::Rect::GetSize |
( |
| ) |
const |
|
inline |
◆ IsEmpty()
| bool EmberCore::Rect::IsEmpty |
( |
| ) |
const |
|
inline |
◆ operator!=()
| bool EmberCore::Rect::operator!= |
( |
const Rect & | other | ) |
const |
|
inline |
◆ operator==()
| bool EmberCore::Rect::operator== |
( |
const Rect & | other | ) |
const |
|
inline |
◆ SetPosition()
| void EmberCore::Rect::SetPosition |
( |
const Point & | position | ) |
|
|
inline |
◆ SetSize()
| void EmberCore::Rect::SetSize |
( |
const Size & | size | ) |
|
|
inline |
◆ height
| int EmberCore::Rect::height = 0 |
◆ width
| int EmberCore::Rect::width = 0 |
| int EmberCore::Rect::x = 0 |
| int EmberCore::Rect::y = 0 |
The documentation for this struct was generated from the following file: