Only try calling CanvasGradient#setTransform if it exists
Clean up bounds handling code in defineShape parsing pipeline
Merge pull request #1391 from tschneidereit/nat

Clean up bounds handling code in defineShape parsing pipeline