code: public void setSize(int newWidth, int newHeight) {
  		this.width = newWidth;
  		this.height = newHeight;
  
  		if (helper.getRootElement() != null) {
  			applyElementSize(helper.getRootElement(), newWidth, newHeight, false);
  			Dom.setStyleAttribute(helper.getRootElement(), "clip", "rect(0 " + newWidth + "px " + newHeight + "px 0)");
  		} else {
  			SC.logWarn("problems");
  		}
  	}
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.