code: function(size) {
          OpenLayers.Renderer.prototype.setSize.apply(this, arguments);
          
          this.rendererRoot.setAttributeNS(null, "width", this.size.w);
          this.rendererRoot.setAttributeNS(null, "height", this.size.h);
      }
docs: Method: setSize
  Sets the size of the drawing surface.
  
  Parameters:
  size - {<OpenLayers.Size>} The size of the drawing surface