◆ operator*()
Scale a rectangle around it's center.
◆ uniform()
template<
int E,
int F>
requires (E <= D && F <= D)
|
|
inlinestaticconstexprnoexcept |
Get a uniform-scale-transform to scale an extent to another extent.
- Parameters
-
| src_extent | The extent to transform |
| dst_extent | The extent to scale to. |
- Returns
- a scale to transform the src_extent to the dst_extent.
◆ scale_from_center
scale the quad.
Each edge of the quad scaled.
- Parameters
-
| lhs | A quad. |
| rhs | The width and height to scale each edge with. |
- Returns
- The new quad extended by the size.
The documentation for this class was generated from the following files: