public void drawRenderedImage(RenderedImage img,AffineTransform xform){
  if (img == null) {
    return;
  }
  mPrintMetrics.drawImage(this,img);
  mDrawingArea.addInfinite();
}

public void drawRenderedImage ( RenderedImage img , AffineTransform xform ) { if ( img == null ) { return ; } mPrintMetrics . drawImage ( this , img ) ; mDrawingArea . addInfinite ( ) ; }
draws an image , applying a transform from image space into user space before drawing . the transformation from user space into device space is done with the current transform in the graphics2d . the given transformation is applied to the image before the transform attribute in the graphics2d state is applied . the rendering attributes applied include the clip , transform , and composite attributes . note that the result is undefined , if the given transform is noninvertible .
