|
|
constexpr | scale (scale const &) noexcept=default |
| |
|
constexpr | scale (scale &&) noexcept=default |
| |
|
constexpr scale & | operator= (scale const &) noexcept=default |
| |
|
constexpr scale & | operator= (scale &&) noexcept=default |
| |
|
constexpr | operator f32x4 () const noexcept |
| |
|
constexpr | scale (f32x4 const &v) noexcept |
| |
|
constexpr | operator matrix< D > () const noexcept |
| |
|
constexpr | scale (identity const &) noexcept |
| |
|
constexpr | scale (float value) noexcept |
| |
|
constexpr | scale (float value) noexcept |
| |
|
constexpr | scale (float x, float y) noexcept |
| |
|
constexpr | scale (float x, float y, float z=1.0) noexcept |
| |
|
constexpr f32x4 | operator* (f32x4 const &rhs) const noexcept |
| |
|
template<int E> |
| constexpr vector< E > | operator* (vector< E > const &rhs) const noexcept |
| |
|
template<int E> |
| constexpr point< E > | operator* (point< E > const &rhs) const noexcept |
| |
|
constexpr aarect | operator* (aarect const &rhs) const noexcept |
| |
|
constexpr rect | operator* (rect const &rhs) const noexcept |
| |
|
constexpr scale | operator* (identity const &) const noexcept |
| |
|
template<int E> |
| constexpr auto | operator* (scale< E > const &rhs) const noexcept |
| |
|
template<int E> |
| constexpr bool | operator== (scale< E > const &rhs) const noexcept |
| |
|
constexpr bool | is_valid () const noexcept |
| |
|
template<int E, int F>
requires (E <= D && F <= D) |
| static constexpr scale | uniform (vector< E > src_extent, vector< F > dst_extent) noexcept |
| | Get a uniform-scale-transform to scale an extent to another extent.
|
| |
◆ uniform()
template<int D>
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.
The documentation for this class was generated from the following file: