/**
  * Writes the drawing to the specified output stream.
  * This method applies the specified drawingTransform to the drawing, and draws
  * it on an image of the specified getChildCount.
  */
 public void write(OutputStream out, Drawing drawing,
         AffineTransform drawingTransform, Dimension imageSize) throws IOException {
     write(out, drawing.getChildren(), drawingTransform, imageSize);
 }
 public void write(OutputStream out, Drawing drawing) throws IOException {
     write(out, drawing.getChildren());
 }