25#ifndef TGUI_TRANSFORM_HPP
26#define TGUI_TRANSFORM_HPP
30#include <TGUI/Config.hpp>
31#include <TGUI/Rect.hpp>
68 float a10,
float a11,
float a12,
69 float a20,
float a21,
float a22);
90 TGUI_NODISCARD
const std::array<float, 16>&
getMatrix()
const;
110 return {m_matrix[0] * point.
x + m_matrix[4] * point.
y + m_matrix[12],
111 m_matrix[1] * point.
x + m_matrix[5] * point.
y + m_matrix[13]};
181 TGUI_NODISCARD Vector2f operator *(
const Vector2f& right)
const;
189 TGUI_DEPRECATED(
"Use roundPosition(Vector2f) instead") void
roundPosition(
float pixelScaleX,
float pixelScaleY);
201 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:36