Community
Participate
Working Groups
Created attachment 222726 [details] Abnormal spacing between two ellipses Hi, I use the GraphicalEditor and I try to draw an ellipse or rectangle on this editor. I have a tool to force the size of my objects. I can seen that for two objets side to side, when I scale, they are separate by a space. It seems to come from a wrong calculation of zooming: see ScaledGraphics#fillOval for example. If I have an ellipse with a size center to 50,50 and a diameter of 20, this one is shifted to a smaller size when I do a zoom. On the following attachment, I draw two ellipses with a diameter of 50 and a center to 35,35 and 85,35, they should be adjacent but they're not. My zoom is 4.0x. Scale of my grid is 5. Could you please help me ? Regards, Bérénice MAUREL Note that I'm on 3.3.1, and I have downloaded 3.8 sources for ScaledGraphics class, and the process seems to be the same.
I think this is because you run into rounding effects. The same problem has been reported in bug #393874. *** This bug has been marked as a duplicate of bug 393874 ***