QCAD

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help - Check for Updates)

Tasklist

FS#193 - SVG PG export scale hatches

Attached to Project: QCAD
Opened by Peter (hungerburg) - Friday, 26 August 2011, 14:50 GMT+2
Last edited by Andrew (andrew) - Tuesday, 13 September 2011, 14:48 GMT+2
Task Type Bug Report
Category Main
Status Closed
Assigned To Andrew (andrew)
Operating System All
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The SVG PG exporter does not scale hatches.

This task depends upon

Closed by  Andrew (andrew)
Tuesday, 13 September 2011, 14:48 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  r18997
Comment by Peter (hungerburg) - Friday, 26 August 2011, 14:55 GMT+2

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

Comment by Peter (hungerburg) - Friday, 26 August 2011, 19:47 GMT+2

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

Comment by Peter (hungerburg) - Saturday, 27 August 2011, 11:26 GMT+2

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.

Comment by Andrew (andrew) - Tuesday, 13 September 2011, 14:47 GMT+2

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

Loading...