@Override public void fillRect(int x,int y,int width,int height){
  if (width == m_extent.width && height == m_extent.height) {
    clearRect(x,y,width,height);
  }
 else {
    if (DEBUG) {
      m_printstream.println("% fillRect");
    }
    setStateToLocal();
    m_printstream.println(xTransform(xScale(x)) + " " + yTransform(yScale(y))+ " "+ xScale(width)+ " "+ yScale(height)+ " true Rect");
  }
}

@ Override public void fillRect ( int x , int y , int width , int height ) { if ( width == m_extent . width && height == m_extent . height ) { clearRect ( x , y , width , height ) ; } else { if ( DEBUG ) { m_printstream . println ( "% fillRect" ) ; } setStateToLocal ( ) ; m_printstream . println ( xTransform ( xScale ( x ) ) + " " + yTransform ( yScale ( y ) ) + " " + xScale ( width ) + " " + yScale ( height ) + " true Rect" ) ; } }
draw a filled rectangle in current pen color .
