27 #ifndef FONTCONFIG_MATRIX_H_
28 #define FONTCONFIG_MATRIX_H_
30 #include <fontconfig/fontconfig.h>
65 void rotate(
double c,
double s);
68 void scale(
double sx,
double sy);
71 void shear(
double sh,
double sv);
Matrix operator*(const Matrix &a, const Matrix &b)
multiply matricies
Matrix & operator=(const Matrix &other)
assignment operator, copies the values of the matrix in other
void init()
initializes the matrix to be the identity matrix
bool operator==(const Matrix &a, const Matrix &b)
test for equality
wraps FcMatrix with it's member methods
bool equal(const Matrix &other) const
returns true if the two matrices are equal
void rotate(double c, double s)
rotate a matrix
void shear(double sh, double sv)
shear a matrix
BinaryKey other(const BinaryKey &key)
void scale(double sx, double sy)
scale a matrix
Matrix()
Default constructor, uninitialized memory.