PDA

View Full Version : Scaling without changing line width


mat_guthrie
05-28-2003, 11:43 AM
Hi there,

I've got two similar questions:

1. I have a rectangle that I zoom in on by changing the _xscale and _yscale but the thckness of the lines also changes. How do I keep the line thicknesses constant (i.e. fine).

2. Similar issue: If I give the rectangle rounded corners I want to size of the rounding to remain fixed when I zoom in (10px for instance) but the corners scale in proportion to the the rectangle. Is there a simple'ish way to achieve this?

Many thanks

Mat

CyanBlue
05-28-2003, 11:54 AM
Howdy... ;)

1. Use hairline instead of giving number value in that...

2. I don't think there is simpler way to do it...

mat_guthrie
05-28-2003, 12:13 PM
Wow, that was quick. Thanks.

If anyone else has suggestions about the rounded corner issues I'd be delighted to hear them.