25#ifndef TGUI_TRANSFORM_HPP
26#define TGUI_TRANSFORM_HPP
30#include <TGUI/Config.hpp>
32#include <TGUI/Rect.hpp>
67 Transform(
float a00,
float a01,
float a02,
float a10,
float a11,
float a12,
float a20,
float a21,
float a22);
88 [[nodiscard]]
const std::array<float, 16>&
getMatrix()
const;
108 return {(m_matrix[0] * point.
x) + (m_matrix[4] * point.
y) + m_matrix[12],
109 (m_matrix[1] * point.
x) + (m_matrix[5] * point.
y) + m_matrix[13]};
179 [[nodiscard]] Vector2f
operator*(
const Vector2f& right)
const;
187 TGUI_DEPRECATED(
"Use roundPosition(Vector2f) instead") void
roundPosition(
float pixelScaleX,
float pixelScaleY);
197 std::array<
float, 16> m_matrix;
T y
Y coordinate of the vector.
Definition Vector2.hpp:136
T x
X coordinate of the vector.
Definition Vector2.hpp:135
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:37