code: public Bbox transform(Bbox bbox, RenderSpace from, RenderSpace to) {
  		switch (from) {
  			case SCREEN:
  				switch (to) {
  					case SCREEN:
  						return new Bbox(bbox.getX(), bbox.getY(), bbox.getWidth(), bbox.getHeight());
  					case WORLD:
  						return screenToWorld(bbox);
  				}
  			case WORLD:
  				switch (to) {
  					case SCREEN:
  						return worldToScreen(bbox);
  					case WORLD:
  						return new Bbox(bbox.getX(), bbox.getY(), bbox.getWidth(), bbox.getHeight());
  				}
  		}
  		return bbox;
  	}
docs: {@inheritDoc}