This library is based on SVGKit open source project: https://github.com/SVGKit/SVGKit
It allows displaying SVG graphics.
There are two steps:
1. Initialize the SVG object with the SVG file.
2. Export the SVG to a Bitmap based on the target size.
Repeat step #2 whenever the ImageView size changes.
See the attached example project.
If you are using a local Mac builder then you should download this zip file and copy its content to the Mac Libs folder: www.b4x.com/b4i/files/SVGMac.zip
The library xml file is attached.
SVGKit license: https://raw.githubusercontent.com/SVGKit/SVGKit/2.x/LICENSE
1.9 KB Views: 84
13.8 KB Views: 103