
I got some ideas of further rect improvements, but I want to discuss them here first.
Now the rect tool stores the relative radii of corners, so if you set one rect with a 0.3 ratio of radius to the half-side, the same ratio will be applied to the next one. So the subsequent rects you create will be "scaled versions" of the first one, and their absolute corner radii will be different if their height/widths are different.
What I think will be more useful is to store the absolute radii instead, so that new rects you create have the same radii even if different height/width. In fact, I propose to do away with the ratios altogether, so that the absolute values of radii are preserved even when you scale a rect with selector. So you'll be able to scale or transform a rect arbitrarily and it will keep the same rounded corners throughout (the only exception is when you scale it down so that its side is less than twice the radius, in which case the raidus will be trimmed); if you want to change the corner radii, the rect tool will let you do that in absolute units (mm, pt, etc.).
I will at least implement this as an option, but my question is, does anyone else think that this should be the default or even the only behavior?
I also like the idea of being able to copy/paste corner radii along with the rest of the params with Paste Style. This will require some additional coding because the rx and ry attrs are not part of the style, but for the user it will be transparent.
_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN Premium http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI...