[PATCH v3 1/5] gdi32: Add a helper function to get the transform matrices.