I am using pycairo to do some drawing.
I am using the context rotate method to rotate the context before I draw on it....as described here.
This rotates the context around the point of 0,0. I would like to rotate around the center of the image. So I have defined the surface to be 1000,1000, so I would like the center point of rotation to be 500,500. Is this easily possible with pycairo?
Thanks!