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.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/drawfill.cc b/Build/source/utils/asymptote/drawfill.cc
index 9dc1dbc8767..3147fbe8850 100644
--- a/Build/source/utils/asymptote/drawfill.cc
+++ b/Build/source/utils/asymptote/drawfill.cc
@@ -63,7 +63,8 @@ drawElement *drawLatticeShade::transformed(const transform& t)
drawElement *drawAxialShade::transformed(const transform& t)
{
pair A=t*a, B=t*b;
- return new drawAxialShade(transpath(t),stroke,pentype,A,penb,B);
+ return new drawAxialShade(transpath(t),stroke,pentype,A,extenda,penb,B,
+ extendb);
}
drawElement *drawRadialShade::transformed(const transform& t)
@@ -71,7 +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,penb,B,RB);
+ return new drawRadialShade(transpath(t),stroke,pentype,A,RA,extenda,penb,B,RB,
+ extendb);
}
drawElement *drawGouraudShade::transformed(const transform& t)