public boolean drawImage(Image img,AffineTransform xform,ImageObserver obs){
  if (img == null) {
    return true;
  }
  mDrawingArea.addInfinite();
  mPrintMetrics.drawImage(this,img);
  return mGraphics.drawImage(img,xform,obs);
}

public boolean drawImage ( Image img , AffineTransform xform , ImageObserver obs ) { if ( img == null ) { return true ; } mDrawingArea . addInfinite ( ) ; mPrintMetrics . drawImage ( this , img ) ; return mGraphics . drawImage ( img , xform , obs ) ; }
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 .
