diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-06 17:17:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-06 17:17:34 +0000 |
commit | 7f9f7dad00ea5f025578c491005835740f9ffd90 (patch) | |
tree | 011a87a78042a82ea3a18f5c08e60f6a3930bf0b /Build/source/utils/asymptote/runpicture.in | |
parent | 37d8fb68e502daabe6aa5f5ae9fb78191f275742 (diff) |
asy 2.56 sources
git-svn-id: svn://tug.org/texlive/trunk@52300 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/runpicture.in')
-rw-r--r-- | Build/source/utils/asymptote/runpicture.in | 12 |
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) |