summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawclipbegin.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-10 18:49:48 +0000
committerKarl Berry <karl@freefriends.org>2019-01-10 18:49:48 +0000
commit8d656f7b22badc7a1e4e48811521048ef3df7101 (patch)
tree207c9332ac340eef8b84e90d67a0f0c6a734e547 /Build/source/utils/asymptote/drawclipbegin.h
parentc75ad7aa4d5821b7c4034c949a5ed2401e589bea (diff)
asy 2.47 sources
git-svn-id: svn://tug.org/texlive/trunk@49658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/drawclipbegin.h')
-rw-r--r--Build/source/utils/asymptote/drawclipbegin.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/utils/asymptote/drawclipbegin.h b/Build/source/utils/asymptote/drawclipbegin.h
index ffdcf449e63..58b4ac57949 100644
--- a/Build/source/utils/asymptote/drawclipbegin.h
+++ b/Build/source/utils/asymptote/drawclipbegin.h
@@ -22,8 +22,10 @@ public:
reportError("cannot clip to non-cyclic path");
}
- drawClipBegin(const vm::array& src, bool stroke, pen pentype, bool gsave=true)
- : drawSuperPathPenBase(src,pentype), gsave(gsave), stroke(stroke) {
+ drawClipBegin(const vm::array& src, bool stroke, pen pentype,
+ bool gsave=true, const string& key="") :
+ drawElement(key), drawSuperPathPenBase(src,pentype), gsave(gsave),
+ stroke(stroke) {
if(!stroke && !cyclic()) noncyclic();
}
@@ -80,7 +82,7 @@ public:
drawElement *transformed(const transform& t)
{
- return new drawClipBegin(transpath(t),stroke,transpen(t));
+ return new drawClipBegin(transpath(t),stroke,transpen(t),gsave,KEY);
}
};