summaryrefslogtreecommitdiff
path: root/Master/texmf/doc/asymptote/examples/strokepath.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/doc/asymptote/examples/strokepath.asy')
-rw-r--r--Master/texmf/doc/asymptote/examples/strokepath.asy2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf/doc/asymptote/examples/strokepath.asy b/Master/texmf/doc/asymptote/examples/strokepath.asy
index ee18b1c9bfe..c857150ec58 100644
--- a/Master/texmf/doc/asymptote/examples/strokepath.asy
+++ b/Master/texmf/doc/asymptote/examples/strokepath.asy
@@ -10,7 +10,7 @@ shipped=false;
size(400);
// Equivalent to draw(g,p):
-currentpicture.add(new void(frame f, transform t) {
+add(new void(frame f, transform t) {
fill(f,strokepath(t*g,p),red);
});
currentpicture.addPath(g,p);