I have a C code which draws a text box inside a GTK drawing area. After the rotation the corners detection doesn’t work anymore as the coords are left in the original space before the rotation occurred as you can see from the pointer shape. Can anyone advice on the fix please? I’m totally unaware of cairo matrixes.