summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawfill.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/drawfill.cc')
-rw-r--r--Build/source/utils/asymptote/drawfill.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/drawfill.cc b/Build/source/utils/asymptote/drawfill.cc
index 4ebe07b4eb2..0353ae2c405 100644
--- a/Build/source/utils/asymptote/drawfill.cc
+++ b/Build/source/utils/asymptote/drawfill.cc
@@ -57,7 +57,7 @@ drawElement *drawFill::transformed(const transform& t)
drawElement *drawLatticeShade::transformed(const transform& t)
{
- return new drawLatticeShade(transpath(t),stroke,pentype,pens);
+ return new drawLatticeShade(transpath(t),stroke,pentype,pens,t*T);
}
drawElement *drawAxialShade::transformed(const transform& t)
@@ -136,7 +136,7 @@ bool drawFunctionShade::write(texfile *out, const bbox& box)
out->beginraw();
writeshiftedpath(out);
if(stroke) strokepath(out);
- out->clip(pentype);
+ out->endclip(pentype);
out->verbatimline("/Sh sh");
out->endraw();
out->endspecial();