GraphicsContext.Rotate() moves origin
|Reported by:||steveward||Owned by:||csomor|
Presumably GraphicsContext.Rotate(...) rotates the transform
about the origin (0,0), which should not move in subsequently
drawn graphics. The attached program (and screen shot) shows
that Rotate does move the origin by a few pixels.
The program paints a simple pattern centered on (0,0), performs
a rotation, then redisplays the pattern in a different color.
It then rotates and displays the pattern once more. As shown
in the screen shot, the patterns (after the first, red one)
are offset from the origin.
I've encountered this problem using the current OSX wxpython
distribution on an up-to-date Intel machine running OSX 10.6.2.
This may be related to the issue reported in ticket 11769; perhaps the tickets should be combined.