15 #include <Ultralight/Defines.h> 38 void Set(
const Matrix& other);
43 void Set(
float a,
float b,
float c,
float d,
float e,
float f);
48 bool IsIdentity()
const;
53 bool IsIdentityOrTranslation()
const;
59 bool IsSimple()
const;
64 void Translate(
float x,
float y);
69 void Scale(
float x,
float y);
74 void Rotate(
float theta);
79 void Rotate(
float x,
float y);
84 void Transform(
const Matrix& other);
89 bool GetInverse(
Matrix& result)
const;
104 uint32_t Hash()
const;
127 bool UExport operator==(
const Matrix& a,
const Matrix& b);
128 bool UExport operator!=(
const Matrix& a,
const Matrix& b);
The header for various geometry definitions and helpers.
This is a set of common JavaScriptCore Helper functions to simplify sample code.
The header for all ref-counting utilities.
Matrix4x4 UExport ConvertAffineTo4x4(const Matrix &mat)
Convert affine matrix to a 4x4 matrix.