#include <fontconfig.h>
void FcMatrixRotate(FcMatrix *matrix, double cos, double sin);
void FcMatrixRotate
FcMatrixRotate rotates matrix by the angle who's sine is sin and cosine is cos. This is done by multiplying by the matrix:
cos -sin sin cos
Fontconfig version 2.8.0