From: Michael J Gruber
Signed-off-by: Michael J Gruber
---
examples/drawing2/INDEX | 1 +
examples/drawing2/canvasdeco.py | 17 +
examples/drawing2/canvasdeco.txt | 11 +++
3 files changed, 29 insertions(+)
create mode 100644 examples/drawing2/canvasdeco.py
From: Michael J Gruber
deco.insert() inserts a canvas as a decoration. This allows arbitrary
decorations which are constructed out of a fixed canvas which is then
inserted (and, possibly, rotated absolutely or relatively) at the
specified position on the path.
---
As a next step one could reimple
The arrowhead needs a piece of size "size" of the path for its
construction. Therefore, only (arclen-size) of the path is available as
positions for a head without extending the path.
So, change pos=0 to mean a position at arclenpos=size, and introduce the
necessary additional path exclusions for