public void moveViewBox(double dx,double dy){
  if (Math.abs(dx) > getWidth() || Math.abs(dy) > getHeight())   return;
  MutableCoord origin=inverseTransform(new MutableCoord((double)0,(double)0));
  MutableCoord moves=inverseTransform(new MutableCoord(dx,dy));
  curX+=(moves.getX() - origin.getX());
  curY+=(moves.getY() - origin.getY());
}

public void moveViewBox ( double dx , double dy ) { if ( Math . abs ( dx ) > getWidth ( ) || Math . abs ( dy ) > getHeight ( ) ) return ; MutableCoord origin = inverseTransform ( new MutableCoord ( ( double ) 0 , ( double ) 0 ) ) ; MutableCoord moves = inverseTransform ( new MutableCoord ( dx , dy ) ) ; curX += ( moves . getX ( ) - origin . getX ( ) ) ; curY += ( moves . getY ( ) - origin . getY ( ) ) ; }
moves the view box by some difference over x and y .
