FS#193SVG PG export scale hatches
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- Development
- Operating system
- All
- Reported
- 2011-08-26 by hungerburg
- Closed
- 2011-09-13 by andrew
The SVG PG exporter does not scale hatches.
Closure comment
r18997
Comments (4)
A very simple hatch: M0,0 L10,0 L10,10 L0,10 L0,0
scaled/10 becomes: M 0,0 1,0 1,1 0,1 0,0
Above simple hatch is a solid fill. Translating patterns might be more involved.
Patch to scale hatches in SVG export. To apply in scripts/ImportExport/SvgExporter against SvgExporter.js. Seems to not have any negative side effects here, as of now.
In the latest development version, scaling has been implemented by adjusting the width / height attributes of the SVG root tag.