I have an application that rotates an image and draws it at a canvas.
In the Paint Method of the canvas:
dim px as PixmapShape
px = New PixmapShape(cw_arrow16)
px.rotation = IconAngle * 0.017453
g.DrawObject(px, RScenterX, RScenterY )
This all works correct in windows, Mac and Linux when built in Xojo 2021R2.1
I now recompiled this project in Xojo 2024R2.1. It still works correctly in windows and Mac, but when I run it under Linux the rotated picture is completely off-center. It does not matter if I build the Linux app on a Windows machine or Mac.
Is this a bug or am I doing something wrong?
Leon
1 post - 1 participant