25#ifndef TGUI_TRANSFORM_HPP
26#define TGUI_TRANSFORM_HPP
30#include <TGUI/Config.hpp>
31#include <TGUI/Rect.hpp>
33#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
39TGUI_MODULE_EXPORT
namespace tgui
70 float a10,
float a11,
float a12,
71 float a20,
float a21,
float a22);
92 TGUI_NODISCARD
const std::array<float, 16>&
getMatrix()
const;
112 return {m_matrix[0] * point.
x + m_matrix[4] * point.
y + m_matrix[12],
113 m_matrix[1] * point.
x + m_matrix[5] * point.
y + m_matrix[13]};
183 TGUI_NODISCARD Vector2f operator *(
const Vector2f& right)
const;
191 TGUI_DEPRECATED(
"Use roundPosition(Vector2f) instead") void
roundPosition(
float pixelScaleX,
float pixelScaleY);
203 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:38