29#include <nlohmann/json.hpp>
37 using JSON = nlohmann::json;
66 Transform(
const std::array<float, 9>& arr);
92 Transform(
float translateX,
float translateY,
float rotation,
float scaleX,
float scaleY,
AngleUnit unit);
110 void scale(
float x,
float y);
116 void scale(
float factor);
199 void setScale(
float scaleX,
float scaleY);
322 template <
typename T>
typename std::enable_if<std::is_base_of<Geometry, T>::value,
bool>::type
324 return geometry.rectCollision(
transform(sceneBounds));
void to_json(JSON &j, const Matrix< w, h, T > &p)
void from_json(const JSON &j, Matrix< w, h, T > &p)