cinder/Cinder — pull request #352 by sansumbrella (2013-06-25 15:14:29+00:00)
Title: Update SVG bounds for Image elements.

The Image element bounding box now takes into account where the image is located, using its transform.
This enables proper group bounds calculation when an svg::group contains an image.
Before, any image caused the group bounds to include 0, 0 regardless of where the group was positioned in the document.

Previously:
An image at 200, 200 with dimensions of 100, 100 would render as a 300, 300 output image, with the actual graphic drawn in the lower-right corner of those bounds.

Now:
It renders as a 100, 100 output image.

I discovered this issue as I am doing a fair amount of work generating sprite sheets directly from svgs. Having accurate bounds for each named group is essential. If you were only rendering the document as originally composed, you would never see this artifact.