Utilizing width and height returned by drawing method to set dimensions of the resulting SVG drawing