While reading Lawrence Rodriques' book `Building Imaging Applications
with Java Technology,' on page 261 he says "If you need better
resolution, you can perform the scale operation on the Graphics context."

I'm not sure what he means by better resolution in this context, but
it's got me thinking about the difference between transforms like

   Graphics2D g;
   AffineTransform t;
   BufferedImage b;

   a)
       g.scale(2.0, 2.0);
       g.drawImage(b, 0, 0, null);

   b)
       t.scale(2.0, 2.0);
       g.drawImage(b, t, null);

Are (a) and (b) equal in performance and quality (aside from which space
operations are happening in)? Sometimes it's more convenient to think in
one space or the other, but are there any other reason to use one method
over the other (or combinations of the two)? This is particularly
important in print() methods where far more rendering is performed,
especially with high quality large images on large printers.

Cheers, Eric

===========================================================================
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