summaryrefslogtreecommitdiff
path: root/Master/texmf/asymptote/labelpath3.asy
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf/asymptote/labelpath3.asy')
-rw-r--r--Master/texmf/asymptote/labelpath3.asy4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf/asymptote/labelpath3.asy b/Master/texmf/asymptote/labelpath3.asy
index bf2e6d4c084..8483a76a047 100644
--- a/Master/texmf/asymptote/labelpath3.asy
+++ b/Master/texmf/asymptote/labelpath3.asy
@@ -41,11 +41,11 @@ triple[] nextframe(path3 p, real reltimestart, triple[] start, real
return bf[subdiv];
}
-surface labelpath(string txt, path3 p, real angle=90, triple optional=O)
+surface labelpath(string s, path3 p, real angle=90, triple optional=O)
{
real Cos=Cos(angle);
real Sin=Sin(angle);
- path[] text=texpath(Label(txt,(0,0),Align,basealign));
+ path[] text=texpath(Label(s,(0,0),Align,basealign));
text=scale(1/(max(text).x-min(text).x))*text;
path[][] decompose=containmentTree(text);