diff options
author | Hans Hagen <pragma@wxs.nl> | 2005-11-16 00:00:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2005-11-16 00:00:00 +0100 |
commit | 8a1e1ae9a3235940054faa37188c17a249d3b79a (patch) | |
tree | d44da9f48210ce7293b144a1b5363a9f405dd865 /metapost | |
parent | 840798e323e582f82ca9fba1294b9ec996d86c0d (diff) | |
download | context-8a1e1ae9a3235940054faa37188c17a249d3b79a.tar.gz |
stable 2005.11.16
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-tool.mp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metapost/context/base/mp-tool.mp b/metapost/context/base/mp-tool.mp index 925b9ca44..ab98fbd23 100644 --- a/metapost/context/base/mp-tool.mp +++ b/metapost/context/base/mp-tool.mp @@ -994,6 +994,7 @@ enddef ; vardef arrowheadonpath (expr p, s) = save autoarrows ; boolean autoarrows ; autoarrows := true ; + set_ahlength(scaled ahfactor) ; % added arrowhead p if s<1 : cutafter (point (s*arclength(p)+.5ahlength) on p) fi enddef ; @@ -1204,7 +1205,6 @@ enddef ; vardef pointarrow (expr pat, loc, len, off) = save l, r, s, t ; path l, r ; numeric s ; pair t ; t := if pair loc : loc else : point loc along pat fi ; -% draw t withpen pencircle scaled 10 withcolor .5white ; s := len/2 - off ; if s<=0 : s := 0 elseif s>len : s := len fi ; r := pat cutbefore t ; r := (r cutafter point (arctime s of r) of r) ; |