Rectangle type.
More...
#include <peak_ipl/types/peak_ipl_rect.hpp>
|
| constexpr | Rect2D (size_t x, size_t y, size_t width, size_t height) |
| |
| constexpr | Rect2D (const Point2D &point, const Size2D &size) |
| |
◆ Rect2D() [1/2]
| constexpr peak::ipl::Rect2D::Rect2D |
( |
size_t |
x, |
|
|
size_t |
y, |
|
|
size_t |
width, |
|
|
size_t |
height |
|
) |
| |
|
inline |
◆ Rect2D() [2/2]
| constexpr peak::ipl::Rect2D::Rect2D |
( |
const Point2D & |
point, |
|
|
const Size2D & |
size |
|
) |
| |
|
inline |
◆ PEAK_IPL_MAYBE_UNUSED
| peak::ipl::Rect2D::PEAK_IPL_MAYBE_UNUSED |
Initial value:= constexpr Point2D topLeft() const
{
return m_point;
}
The documentation for this class was generated from the following file: