43 [[nodiscard]]
static constexpr Transform fromTranslate(
float tx,
float ty) {
47 [[nodiscard]]
static constexpr Transform fromScale(
float sx,
float sy) {
51 [[nodiscard]]
bool isFinite()
const;
52 [[nodiscard]]
bool isIdentity()
const;
53 [[nodiscard]]
bool isTranslate()
const;
54 [[nodiscard]]
bool isScaleTranslate()
const;
55 [[nodiscard]]
bool hasScale()
const;
56 [[nodiscard]]
bool hasSkew()
const;
57 [[nodiscard]]
bool hasTranslate()
const;
60 [[nodiscard]] std::optional<Transform>
invert()
const;
68 [[nodiscard]]
Transform preTranslate(
float tx,
float ty)
const;
69 [[nodiscard]]
Transform postTranslate(
float tx,
float ty)
const;
74 constexpr bool operator==(
const Transform&)
const =
default;