Alex Henrie (@alexhenrie) commented about dlls/gdiplus/graphics.c:
}
}
+/* Creates rotated and translated identity matrix.
- Equvalent (but much faster) of the:
- GdipSetMatrixElements(&matrix, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0);
- GdipRotateMatrix(&matrix, angle, MatrixOrderAppend);
- GdipTranslateMatrix(&matrix, dx, dy, MatrixOrderAppend); */
+inline void create_rotated_translated_identity_matrix(GpMatrix *matrix, REAL angle, REAL dx, REAL dy)
This function should be `static` and not `inline`.