code: function(elem) {
  		var sw = elem.getAttribute("stroke-width");
  		var offset = 0;
  		if (elem.getAttribute("stroke") != "none" && !isNaN(sw)) {
  			offset += sw/2;
  		}
  		return offset;
  	}
docs: FIXME: same re-creation problem with this function as getCheckedBBox() above