#include <omgui/types.h>
Public Member Functions | |
| bool | operator!= (const Rect &r) |
| bool | operator== (const Rect &r) |
| Rect (int x, int y, int w, int h) | |
| Rect (const Point &p, const Size &s) | |
| Rect (const Size &s) | |
| Rect () | |
Public Attributes | |
| Point | position |
| Size | size |
| omgui::Rect::Rect | ( | ) | [inline] |
Default constructor, initializes size and position to 0
| omgui::Rect::Rect | ( | const Size & | s | ) | [inline] |
| omgui::Rect::Rect | ( | int | x, | |
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) | [inline] |
Constructs a Rect from a position and size defined as four floating point values.
| x | X position | |
| y | Y position | |
| w | Width | |
| h | Height |
| bool omgui::Rect::operator!= | ( | const Rect & | r | ) | [inline] |
| bool omgui::Rect::operator== | ( | const Rect & | r | ) | [inline] |