wx 3.0.0 - point (0,0) shifted after rotation

Hi all,

I have small problem - small difference between ver. 3.0.0 and older:

a pieces of code create different outputs in position of image origin (0,0) (see images with zoom)

m=gc.CreateMatrix()
m.Translate(x,y)
m.Rotate(pi/2.0) - or - m.Rotate(0.0)
gc.SetTransform(m)
self.drawImage(gc, wx.GREEN)

Any idea ?

With regards
Peter

Peter Fabo wrote:

<https://lh4.googleusercontent.com/-LLlONIzzrww/UxV6LYCRWgI/AAAAAAAAAT0/KcCIMcBSLPY/s1600/Okno+bez+názvu_014.png&gt;

<https://lh4.googleusercontent.com/-upIAlGFViic/UxV6G4f7VJI/AAAAAAAAATs/9kk-MYLC9lg/s1600/Screenshot+from+2014-03-03+14%3A14%3A53.png&gt;

Hi all,

I have small problem - small difference between ver. 3.0.0 and older:

a pieces of code create different outputs in position of image origin
(0,0) (see images with zoom)
...
m=gc.CreateMatrix()
m.Translate(x,y)
m.Rotate(pi/2.0) - or - m.Rotate(0.0)
gc.SetTransform(m)
self.drawImage(gc, wx.GREEN)
...

Any idea ?

Please ask about this on the wx-users or wx-dev lists.

···

--
Robin Dunn
Software Craftsman