- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Peter - 26.08.2011
Last edited by Andrew - 13.09.2011
Opened by Peter - 26.08.2011
Last edited by Andrew - 13.09.2011
FS#193 - SVG PG export scale hatches
The SVG PG exporter does not scale hatches.
Closed by Andrew
13.09.2011 12:48
Reason for closing: Fixed
Additional comments about closing:
13.09.2011 12:48
Reason for closing: Fixed
Additional comments about closing:
r18997
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.