transform.translate(fx, fy);
gen.getCurrentState().concatMatrix(transform);
Rectangle2D area = new Rectangle2D.Double(0.0, 0.0, imw, imh);
painter.paint(graphics, area);
gen.restoreGraphicsState();
gen.commentln("%FOPEndGraphics2D");
}
/** {@inheritDoc} */
public void generateForm(RenderingContext context, Image image, final PSImageFormResource form)
throws IOException {