SVG Helper Tool and multi-path SVG


I have an SVG logo I want to convert using the SVG Helper Tool. The only thing is it its consists of multiple paths each with different colours. Do I need to convert each separate path in the helper tool and do loadPathFromData and addPath for each one?


Ok I worked out I can combine all the same colour segments into combined paths… this simplifies things a lot… one path for each colour.


Is it even simpler just to leave it all as SVG to draw it rather than turning it into paths? If you have a shape with multiple colours that’d save some hand-coding…


Yes that is by far the simplest approach. I was following the pattern laid out already in the code I was working on. Looks like Drawable::createFromSVG would make sense here.