diff options
Diffstat (limited to 'Master/texmf-dist/asymptote/plain_picture.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/plain_picture.asy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Master/texmf-dist/asymptote/plain_picture.asy b/Master/texmf-dist/asymptote/plain_picture.asy index 5f4d759663a..f1dccbb8bea 100644 --- a/Master/texmf-dist/asymptote/plain_picture.asy +++ b/Master/texmf-dist/asymptote/plain_picture.asy @@ -1236,6 +1236,15 @@ void fill(picture pic=currentpicture, path[] g, pen p=currentpen, pic.addPath(g); } +void drawstrokepath(picture pic=currentpicture, path g, pen strokepen, + pen p=currentpen) +{ + pic.add(new void(frame f, transform t) { + draw(f,strokepath(t*g,strokepen),p); + },true); + pic.addPath(g,p); +} + void latticeshade(picture pic=currentpicture, path[] g, bool stroke=false, pen fillrule=currentpen, pen[][] p, bool copy=true) { |