← All bug reports

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.

Comments (4)

hungerburg 2011-08-26

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

hungerburg 2011-08-26

Above simple hatch is a solid fill. Translating patterns might be more involved.

hungerburg 2011-08-27

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.

andrew 2011-09-13

In the latest development version, scaling has been implemented by adjusting the width / height attributes of the SVG root tag.

Closure comment

r18997