code: public void setSize(int newWidth, int newHeight) {
  		this.width = newWidth;
  		this.height = newHeight;
  
  		if (helper.getRootElement() != null) {
  			String sWidth = Integer.toString(newWidth);
  			String sHeight = Integer.toString(newHeight);
  			Dom.setElementAttribute(helper.getRootElement(), "width", sWidth);
  			Dom.setElementAttribute(helper.getRootElement(), "height", sHeight);
  			Dom.setElementAttribute(helper.getRootElement(), "viewBox", "0 0 " + sWidth + " " + sHeight);
  		}
  	}
docs: Apply a new size on the graphics context.
  
  @param newWidth
  The new newWidth in pixels for this graphics context.
  @param newHeight
  The new newHeight in pixels for this graphics context.