It kept bothering me that the rounded corners in newRoundedRect objects that I had were asymmetrical - that is, the upper left corner would not be a pixel-for-pixel copy (flipped) of the upper right one. And that is on a build that has the exact device’s width/height specified in config.lua, so there is no stretching going on.
After a bit of experimenting I found out that if you want your rounded rectangles to be perfectly symmetrical, their screen coordinates (both x,y and width and height as well as the x,y of the group or nested groups in which they are) HAVE to be integers. So make sure to math.round() those if you want perfect results.
Just a public service announcement. [import]uid: 160496 topic_id: 29070 reply_id: 329070[/import]
[import]uid: 52491 topic_id: 29070 reply_id: 117219[/import]