Version 0.95 Still in Beta
It's time to give something back to the community.
Scalable Vector Graphics (SVG) is an XML-based vector image format for two-dimensional graphics. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. SVG images are defined in XML text files.
All major modern web browsers (including Mozilla Firefox, Internet Explorer, Google Chrome, Opera, and Safari) have at least some degree of SVG rendering support. But the Android's Team decided to not add support for this standar.
Since its a verctor image format It can be resized without loosing quality. You cand create a single image and use it at any resolution.
Currently there is another SVG Library by agraham but the original code it's not a good implementation of the SVG standar. It can't render the Acid Test for SVG, nor most of the SVG Test Suite from w3.org
2014/09/14 New Version 0.95
Added a new function to alter the "preserveAspectRatio" property of the SVG. You can see different behaviors on the attached images.
Please see the proyect's source code for the ussage.
You can read about the property on the SVG Attribute reference:
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio
Like if you found tis lib usefull.
Attachments
Last edited: