[Interest] QSvgGenerator : Path attribute

Nicholas Yue yue.nicholas at gmail.com
Sun Aug 15 19:32:12 CEST 2021


Hi,

  I would like to generate SVG via QSvgGenerator with additional attribute
to the path object

```
<path d="M20,20 h200 v160 h-200 Z M80,40 v100 l100,-50 Z" stroke="red"
stroke-width="2" fill="red" fill-rule="evenodd" />
```
  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/nicholasyue/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20210815/4f13c822/attachment.html>


More information about the Interest mailing list