|
Hello,
I want to draw some stuff that is scaled and
translated. Then I want to draw some unscaled, untranslated stuff on top of
that.
The scaled and translated stuff is a BufferedImage,
then I want to paint a label on the image that is not scaled or translated (or
at least will have different scaling and translating).
Is there some convenient way to restore the
defaults?
E.g. if I do
g2.scale(x,y)
g2.translate(xT, yT);
g2.drawImage(image, ...);
// now how to undo the scaling and
translation?
Thanks,
Ted Hill
|
