Hi All,

Can anyone tell me why I have problems with the following

1. Graphics2D_object.scale(scale_factor, scale_factor)
2. create a BasicStroke object with line thickness = 2/scale_factor
3. Graphics2D_object.setStroke(basic_stroke_created)
3. Graphics2D_object.draw(line)

line = Line2D.float object that is quite small, say
(0.00001, 0.00001) to (0.05, 0.05)

When scale_factor = 1000, the line thickness is about 2 (I can see this).

When scale_factor = 10000, the line thickness is >> 2 (probably approx 10)

Why for larger scale facors is my line no longer 2 wide? Furthermore,
the larger the scale factor, the thicker the line. I thought that my
multiplying the line  width by the inverse scale factor I would maintain
my line thickness.

I'm using JDK1.2.2

Is there any other way of doing this?

Thanks

Ken Burns
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to