mchoe / SwiftSVG

A simple, performant, and lightweight SVG parser
Other
1.93k stars 230 forks source link

fixed bounding box calculation by proper initialization. #82

Closed ThomasMirlacher closed 6 years ago

ThomasMirlacher commented 6 years ago

this is a proper fix for correcting the bounding box calculation. (previously a bounding box always started at 0/0)

shaps80 commented 6 years ago

I hope this is merged soon, for now I'm applying this fix to my own Fork but would prefer to have this included in the lib.

mchoe commented 6 years ago

Thank you @ThomasMirlacher! I'll add the test for this.