deco: introduce decoration by a canvas
commit5983f0880ece615c6864342c3fb08ffa3068c4b6
authorMichael J Gruber <michaeljgruber@users.sourceforge.net>
Tue, 29 May 2012 14:27:30 +0000 (29 16:27 +0200)
committerMichael J Gruber <michaeljgruber@users.sourceforge.net>
Tue, 29 May 2012 14:27:30 +0000 (29 16:27 +0200)
tree8cb110ab7c013ab1012d7de3e031f7447f7c91a8
parent89daab80a240c7f7dedb758249d38f8489237e9d
deco: introduce decoration by a canvas

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.
pyx/deco.py