Scaling/Translating a Shape to a given Rectangle using AffineTransform
Hi all, I'm trying to scale/translate a java.awt.Shape with AffineTransform in order to draw it in a defined bounding Rectangle. Moreover, I want to paint it in a drawing Area having a 'zoom' parameter. I tried various concatenations of AffineTransform but I couldn't find the correct sequence. For example, the following solution was w...