This discussion is archived
1 Reply Latest reply: May 17, 2013 8:39 AM by 989313 RSS

AffineTransform scale problem

989313 Newbie
Currently Being Moderated
Hi,

I'm working on an application that uses the Printable interface to print out the contents of a canvas. It works fine when the printer is set to portrait, but not if it's set to landscape.

When set to portrait, the AffineTransform of the Graphics object has a scale of 8.3. However, when this is changed to landscape in the printer settings dialog, the scale is zero. Also, in landscape, the transform appears to be set for a shear. Does anyone have any ides on this?

Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points