summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/runpicture.in
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-18 21:58:51 +0000
committerKarl Berry <karl@freefriends.org>2013-05-18 21:58:51 +0000
commit1b4cb2401e932a47c4e736a0197d22c7797b58ad (patch)
tree8e478eee9868a06467931e053ec06658ae3a8e06 /Build/source/utils/asymptote/runpicture.in
parent93dcab8a877f998aafe2bef5e59b7c6ea2f7f434 (diff)
asy 2.22 sources
git-svn-id: svn://tug.org/texlive/trunk@30552 c570f23f-e606-0410-a88d-b1316a301751
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,