limweb / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

RoundedRectangle draws incorrectly when corner radius is set to 0 #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Create a RoundedRectangle
2. Set the x and y properties to 4
3. Set the width and height to 8

The expected output is a rounded rectangle with 0 radii, at x = 4 and y = 4 
with the width and 
height set to 8. However, the actual result is that of a rounded rectangle with 
0 radii, at x = 4, y = 4 
but the width and height looking more like 4 than 8. In short, it seems as 
though the width and the 
height sets the bottom right corner of the rectangle in more absolute terms 
than relative. However, 
setting the corner radius to something higher than 0 fixes the issue.

What version of the product are you using? On what operating system?
Degrafa beta 2.11, Mac OS X

Original issue reported on code.google.com by torkhusg...@gmail.com on 3 Oct 2008 at 5:31

GoogleCodeExporter commented 9 years ago
Just checked this using the development codebase (Origin) in preparation for 
beta3
release, it looks like we already fixed this for beta3 at some point. beta3 
release
is 'very close' so you should find that this will behave as expected when we 
release
the beta3 swc.

Original comment by greg.d...@gmail.com on 14 Oct 2008 at 10:01