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.
Color operator*(const Color &left, const Color &right)
Overload of the binary * operator.
Color & operator*=(Color &left, const Color &right)
Overload of the binary *= operator.
Transform & translate(float x, float y)
Combine the current transform with a translation.
Transform & rotate(float angle, const Vector2f ¢er)
Combine the current transform with a rotation.
Transform & scale(const Vector2f &factors)
Combine the current transform with a scaling.
Transform & translate(const Vector2f &offset)
Combine the current transform with a translation.
FloatRect transformRect(const FloatRect &rectangle) const
Transform a rectangle.
Transform & scale(const Vector2f &factors, const Vector2f ¢er)
Combine the current transform with a scaling.
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.
Transform & scale(float scaleX, float scaleY)
Combine the current transform with a scaling.
Vector2f transformPoint(const Vector2f &point) const
Transform a 2D point.
Transform & rotate(float angle, float centerX, float centerY)
Combine the current transform with a rotation.
Transform & combine(const Transform &transform)
Combine the current transform with another one.
Transform & scale(float scaleX, float scaleY, float centerX, float centerY)
Combine the current transform with a scaling.
Definition AlResource.hpp:35
bool operator==(const IpAddress &left, const IpAddress &right)
Overload of == operator to compare two IP addresses.
bool operator!=(const IpAddress &left, const IpAddress &right)
Overload of != operator to compare two IP addresses.