summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/drawfill.cc
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/drawfill.cc
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/drawfill.cc')
-rw-r--r--Build/source/utils/asymptote/drawfill.cc18
1 files changed, 10 insertions, 8 deletions
diff --git a/Build/source/utils/asymptote/drawfill.cc b/Build/source/utils/asymptote/drawfill.cc
index 3147fbe8850..49a0e17c385 100644
--- a/Build/source/utils/asymptote/drawfill.cc
+++ b/Build/source/utils/asymptote/drawfill.cc
@@ -52,19 +52,19 @@ bool drawFill::draw(psfile *out)
drawElement *drawFill::transformed(const transform& t)
{
- return new drawFill(transpath(t),stroke,transpen(t));
+ return new drawFill(transpath(t),stroke,transpen(t),KEY);
}
drawElement *drawLatticeShade::transformed(const transform& t)
{
- return new drawLatticeShade(transpath(t),stroke,pentype,pens,t*T);
+ return new drawLatticeShade(transpath(t),stroke,pentype,pens,t*T,KEY);
}
drawElement *drawAxialShade::transformed(const transform& t)
{
pair A=t*a, B=t*b;
return new drawAxialShade(transpath(t),stroke,pentype,A,extenda,penb,B,
- extendb);
+ extendb,KEY);
}
drawElement *drawRadialShade::transformed(const transform& t)
@@ -72,8 +72,8 @@ drawElement *drawRadialShade::transformed(const transform& t)
pair A=t*a, B=t*b;
double RA=length(t*(a+ra)-A);
double RB=length(t*(b+rb)-B);
- return new drawRadialShade(transpath(t),stroke,pentype,A,RA,extenda,penb,B,RB,
- extendb);
+ return new drawRadialShade(transpath(t),stroke,pentype,A,RA,extenda,penb,B,
+ RB,extendb,KEY);
}
drawElement *drawGouraudShade::transformed(const transform& t)
@@ -83,7 +83,8 @@ drawElement *drawGouraudShade::transformed(const transform& t)
for(size_t i=0; i < size; i++)
(*Vertices)[i]=t*vm::read<pair>(vertices,i);
- return new drawGouraudShade(transpath(t),stroke,pentype,pens,*Vertices,edges);
+ return new drawGouraudShade(transpath(t),stroke,pentype,pens,*Vertices,
+ edges,KEY);
}
drawElement *drawTensorShade::transformed(const transform& t)
@@ -105,7 +106,8 @@ drawElement *drawTensorShade::transformed(const transform& t)
(*Zi)[j]=t*vm::read<pair>(zi,j);
}
- return new drawTensorShade(transpath(t),stroke,pentype,pens,*Boundaries,*Z);
+ return new drawTensorShade(transpath(t),stroke,pentype,pens,*Boundaries,*Z,
+ KEY);
}
bool drawFunctionShade::write(texfile *out, const bbox& box)
@@ -165,7 +167,7 @@ bool drawFunctionShade::write(texfile *out, const bbox& box)
drawElement *drawFunctionShade::transformed(const transform& t)
{
- return new drawFunctionShade(transpath(t),stroke,pentype,shader);
+ return new drawFunctionShade(transpath(t),stroke,pentype,shader,KEY);
}
} // namespace camp