deco.arrow: fix arrows at pos=0
commitbeae6225191b9d785ba7aceef31a8f7f18dcff33
authorMichael J Gruber <gruber@math.uni-hannover.de>
Thu, 24 May 2012 16:00:22 +0000 (24 18:00 +0200)
committerMichael J Gruber <gruber@math.uni-hannover.de>
Thu, 24 May 2012 16:00:22 +0000 (24 18:00 +0200)
treec2c1230d363a46bd30b3cb63eaa9b06186b002f6
parent89daab80a240c7f7dedb758249d38f8489237e9d
deco.arrow: fix arrows at pos=0

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