Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #554
| From | "PaulSchrum" <paulschrum@THRWHITE.remove-dii-this> |
|---|---|
| Subject | Re: Lineweight dependent |
| Message-ID | <1167862475.287352.303250@q40g2000cwq.googlegroups.com> (permalink) |
| Newsgroups | comp.lang.java.gui |
| References | <AgBmh.548154$5R2.269315@pd7urf3no> |
| Date | 2011-04-27 15:28 +0000 |
| Organization | TDS.net |
To: comp.lang.java.gui Judy Szikora wrote: > > PaulSchrum wrote: > > > >>I am drawing Line2D and Quad2D elements on a JFrame using Graphics2D. > >> > >>When I increase the scale of the Graphics2D transform, the line weight > >>increases, and I would rather this not happen. Is there a way I can > >>suppress this? > >> > Instead of applying the scaling transformation to the Graphics2D, you > can transform the shape with it first using > java.awt.geom.AffineTransform.createTransformedShape(), and then draw it > without scaling. > Judy, Thanks. I did not know about this method. I will use that. - Paul --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar
Lineweight dependent on d "PaulSchrum" <paulschrum@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Lineweight dependent "Daniel Pitts" <daniel.pitts@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
Re: Lineweight dependent "Judy Szikora" <judy.szikora@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
Re: Lineweight dependent "PaulSchrum" <paulschrum@THRWHITE.remove-dii-this> - 2011-04-27 15:28 +0000
csiph-web