|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| constexpr | quad (point3 p0, point3 p1, point3 p2, point3 p3) noexcept |
| constexpr | quad (quad const &) noexcept=default |
| constexpr | quad (quad &&) noexcept=default |
| constexpr quad & | operator= (quad const &) noexcept=default |
| constexpr quad & | operator= (quad &&) noexcept=default |
| constexpr | quad (aarectangle const &rhs) noexcept |
| constexpr | quad (rectangle const &rhs) noexcept |
| constexpr vector3 | bottom () const noexcept |
| The vector from left-bottom to right-bottom. | |
| constexpr vector3 | top () const noexcept |
| The vector from left-top to right-top. | |
| constexpr vector3 | left () const noexcept |
| The vector from left-bottom to left-top. | |
| constexpr vector3 | right () const noexcept |
| The vector from right-bottom to right-top. | |
| constexpr f32x4 | edge_hypots () const noexcept |
| Return the length of each edge. | |
| constexpr point3 & | operator[] (std::size_t index) noexcept |
| constexpr point3 const & | operator[] (std::size_t index) const noexcept |
| constexpr quad & | operator+= (extent2 const &rhs) noexcept |
Data Fields | |
| point3 | p0 |
| Left-bottom. | |
| point3 | p1 |
| Right-bottom. | |
| point3 | p2 |
| Left-top. | |
| point3 | p3 |
| Right-top. | |
The vector from left-bottom to right-bottom.
Return the length of each edge.
The vector from left-bottom to left-top.
The vector from right-bottom to right-top.
The vector from left-top to right-top.
|
friend |
Add a border around the quad.
Move each corner of the quad by the given size outward in the direction of the edges.
| lhs | A quad. |
| rhs | The width and height to add to each corner of the quad. |
|
friend |
Add a border around the quad.
Move each corner of the quad by the given size outward in the direction of the edges.
| lhs | A quad. |
| rhs | The width and height to add to each corner of the quad, only (x, y) are used. |
Add a border around the quad.
Move each corner of the quad by the given size outward in the direction of the edges.
| lhs | A quad. |
| rhs | The width and height to add to each corner of the quad. |
Add a border around the quad.
Move each corner of the quad by the given size outward in the direction of the edges.
| lhs | A quad. |
| rhs | The width and height to add to each corner of the quad. |
|
friend |
Subtract a border from the quad.
Move each corner of the quad by the given size inward in the direction of the edges.
| lhs | A quad. |
| rhs | The width and height to subtract from each corner of the quad. |
| point3 v1::quad::p0 |
Left-bottom.
| point3 v1::quad::p1 |
Right-bottom.
| point3 v1::quad::p2 |
Left-top.
| point3 v1::quad::p3 |
Right-top.