An axis-aligned rectangle (top-left origin) in design-canvas pixels. More...
#include <GuiGeometry.h>
Public Member Functions | |
| constexpr | GuiRect (float x_, float y_, float w_, float h_) |
Public Attributes | |
| float | x |
| Left edge. | |
| float | y |
| Top edge. | |
| float | w |
| Width. | |
| float | h |
| Height. | |
An axis-aligned rectangle (top-left origin) in design-canvas pixels.
Definition at line 33 of file GuiGeometry.h.
|
inlineconstexpr |
Definition at line 39 of file GuiGeometry.h.
|
inlineconstexpr |
Definition at line 40 of file GuiGeometry.h.
| float GuiRect::h |
Height.
Definition at line 37 of file GuiGeometry.h.
| float GuiRect::w |
Width.
Definition at line 36 of file GuiGeometry.h.
| float GuiRect::x |
Left edge.
Definition at line 34 of file GuiGeometry.h.
| float GuiRect::y |
Top edge.
Definition at line 35 of file GuiGeometry.h.