7 Jun
2023
7 Jun
'23
8:12 p.m.
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`. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3006#note_34990