Skip to content

Parametric arrowheads #6

@rschmehl

Description

@rschmehl

Arrowheads are now modelled after the Inkscape implementations of Arrow1Mend and Arrow1Lend. M stands probably for "medium" and L for "large". The scaling is achieved with the scale transform applied to the(in this case same) path. A more suitable implementation would be a parametric arrowhead Arrow1end-0n where n can take values from 1 to 9, using a scaling factor 0.n. The paths and deltas dictionaries in class Marker can then be generated programmatically. Arrow1Mend would correspond to Arrow1end-04, using a transform scale(0.4), and Arrow1Lend to Arrow1end-08, using a transform scale(0.8).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions