Rectangle consisting of x, y, width, height.
More...
#include <DcsmApiTypes.h>
|
constexpr | Rect (uint32_t xpos, uint32_t ypos, uint32_t w, uint32_t h) |
| Constructor requiring values to be specified explicitly. More...
|
|
constexpr bool | operator== (const Rect &rhs) const |
| The equality comparison operator. More...
|
|
constexpr bool | operator!= (const Rect &rhs) const |
| The inequality comparison operator. More...
|
|
Rectangle consisting of x, y, width, height.
◆ Rect()
constexpr ramses::Rect::Rect |
( |
uint32_t |
xpos, |
|
|
uint32_t |
ypos, |
|
|
uint32_t |
w, |
|
|
uint32_t |
h |
|
) |
| |
|
inlineconstexpr |
Constructor requiring values to be specified explicitly.
- Parameters
-
[in] | xpos | x position |
[in] | ypos | y position |
[in] | w | Width |
[in] | h | Height |
◆ operator!=()
constexpr bool ramses::Rect::operator!= |
( |
const Rect & |
rhs | ) |
const |
|
inlineconstexpr |
The inequality comparison operator.
- Parameters
-
rhs | The instance to compare to |
- Returns
- True if not same, false otherwise
◆ operator==()
constexpr bool ramses::Rect::operator== |
( |
const Rect & |
rhs | ) |
const |
|
inlineconstexpr |
The equality comparison operator.
- Parameters
-
rhs | The instance to compare to |
- Returns
- True if same, false otherwise
◆ height
uint32_t ramses::Rect::height |
◆ width
uint32_t ramses::Rect::width |
The documentation for this struct was generated from the following file:
- /home/runner/work/ramses/ramses/framework/ramses-framework-api/include/ramses-framework-api/DcsmApiTypes.h