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, 7 insertions, 5 deletions
diff --git a/Build/source/utils/asymptote/runpicture.in b/Build/source/utils/asymptote/runpicture.in
index f6c0d75c073..bb2a5649a56 100644
--- a/Build/source/utils/asymptote/runpicture.in
+++ b/Build/source/utils/asymptote/runpicture.in
@@ -120,6 +120,8 @@ array *nop(array *a)
triple Zero;
+string defaultformat3="prc";
+
// Autogenerated routines:
@@ -466,7 +468,7 @@ void _shipout(string prefix=emptystring, picture *f, picture *preamble=NULL,
void shipout3(string prefix, picture *f, string format=emptystring,
real width, real height, real angle, real zoom,
- triple m, triple M, pair shift, realarray2 *t,
+ triple m, triple M, pair shift, pair margin, realarray2 *t,
realarray *background, triplearray *lights, realarray2 *diffuse,
realarray2 *specular, bool view=true)
{
@@ -482,16 +484,16 @@ void shipout3(string prefix, picture *f, string format=emptystring,
copyArray2C(Diffuse,diffuse,false,4,UseGC);
copyArray2C(Specular,specular,false,4,UseGC);
- f->shipout3(prefix,format,width,height,angle,zoom,m,M,shift,T,Background,n,
- Lights,Diffuse,Specular,view);
+ f->shipout3(prefix,format,width,height,angle,zoom,m,M,shift,margin,T,
+ Background,n,Lights,Diffuse,Specular,view);
delete[] Background;
delete[] T;
}
-void shipout3(string prefix, picture *f)
+void shipout3(string prefix, picture *f, string format=defaultformat3)
{
- f->shipout3(prefix);
+ f->shipout3(prefix,format);
}
void xmap(string key, transform t=identity)