summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runpicture.in
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/runpicture.in')
-rw-r--r--Build/source/utils/asymptote/runpicture.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/Build/source/utils/asymptote/runpicture.in b/Build/source/utils/asymptote/runpicture.in
index 872d557071f..40209ed5860 100644
--- a/Build/source/utils/asymptote/runpicture.in
+++ b/Build/source/utils/asymptote/runpicture.in
@@ -153,17 +153,21 @@ void latticeshade(picture *f, patharray *g, bool stroke=false,
}
void axialshade(picture *f, patharray *g, bool stroke=false, pen pena, pair a,
- pen penb, pair b, bool copy=true)
+ bool extenda=true, pen penb, pair b, bool extendb=true,
+ bool copy=true)
{
array *(*copyarray)(array *a)=copy ? copyArray: nop;
- f->append(new drawAxialShade(*copyarray(g),stroke,pena,a,penb,b));
+ f->append(new drawAxialShade(*copyarray(g),stroke,pena,a,extenda,penb,b,
+ extendb));
}
void radialshade(picture *f, patharray *g, bool stroke=false, pen pena,
- pair a, real ra, pen penb, pair b, real rb, bool copy=true)
+ pair a, real ra, bool extenda=true, pen penb, pair b, real rb,
+ bool extendb=true, bool copy=true)
{
array *(*copyarray)(array *a)=copy ? copyArray: nop;
- f->append(new drawRadialShade(*copyarray(g),stroke,pena,a,ra,penb,b,rb));
+ f->append(new drawRadialShade(*copyarray(g),stroke,pena,a,ra,extenda,
+ penb,b,rb,extendb));
}
void gouraudshade(picture *f, patharray *g, bool stroke=false,