Re: [Interest] QSvgGenerator : Path attribute

2021-08-15 Thread Nicholas Yue
I think I figured it out. QSvgGenerator handles all of those for us. We just need to keep in mind the winding rules ``` #include #include #include #include #include #include int main(int argc, char **argv) { QString path("nicholas.svg"); QSvgGenerator generator; gene

[Interest] QSvgGenerator : Path attribute

2021-08-15 Thread Nicholas Yue
Hi, I would like to generate SVG via QSvgGenerator with additional attribute to the path object ``` ``` Where should we be adding such attributes e.g. fill, fill-rule, so that QSvgGenerator will embed them in the generated SVG file ? Cheers -- Nicholas Yue https://www.linkedin.com/in/nicho