Loading...
Searching...
No Matches
Transform.hpp
Go to the documentation of this file.
7// In no event will the authors be held liable for any damages arising from the use of this software.
constexpr Transform(float a00, float a01, float a02, float a10, float a11, float a12, float a20, float a21, float a22)
Construct a transform from a 3x3 matrix.
constexpr Vector2f transformPoint(Vector2f point) const
Transform a 2D point.
constexpr Transform & scale(Vector2f factors, Vector2f center)
Combine the current transform with a scaling.
constexpr FloatRect transformRect(const FloatRect &rectangle) const
Transform a rectangle.
constexpr Transform & translate(Vector2f offset)
Combine the current transform with a translation.
constexpr Transform & scale(Vector2f factors)
Combine the current transform with a scaling.
Transform & rotate(Angle angle, Vector2f center)
Combine the current transform with a rotation.
constexpr Transform & combine(const Transform &transform)
Combine the current transform with another one.
constexpr const float * getMatrix() const
Return the transform as a 4x4 matrix.
constexpr Transform operator*(const Transform &left, const Transform &right)
`
Definition AudioResource.hpp:36