public void scale(double sx,double sy){
  currentTransform.scale(sx,sy);
  try {
    writeTransform(new AffineTransform(sx,0,0,sy,0,0));
  }
 catch (  IOException e) {
    handleException(e);
  }
}

public void scale ( double sx , double sy ) { currentTransform . scale ( sx , sy ) ; try { writeTransform ( new AffineTransform ( sx , 0 , 0 , sy , 0 , 0 ) ) ; } catch ( IOException e ) { handleException ( e ) ; } }
scales the current transform . calls writetransform ( transform ) .
