almosr / android-svg-code-render

Convert SVG files into Java source and use it in your Android app
Apache License 2.0
24 stars 3 forks source link

Get rid of getMatrix calls #71

Open almosr opened 8 years ago

almosr commented 8 years ago

Generated code is relying on Canvas.getMatrix() calls to get the previous state of the drawing matrix directly from the canvas. It would be better not to call this method, it is marked as obsolete and also allocates a new Matrix instance every time it is called.