diff options
author | Karl Berry <karl@freefriends.org> | 2022-02-27 23:41:11 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-02-27 23:41:11 +0000 |
commit | 8027f287eb46d487a0e379911bdbc4d6c2bf44e4 (patch) | |
tree | b6e3aeebab3f5c2560ae1ab892b76cca269eb05e /Master/texmf-dist/asymptote/plain_boxes.asy | |
parent | a4855ce49e2101557c17547c2d22594e1b2a215c (diff) |
asymptote 2.78 support files
git-svn-id: svn://tug.org/texlive/trunk@62265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/asymptote/plain_boxes.asy')
-rw-r--r-- | Master/texmf-dist/asymptote/plain_boxes.asy | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/asymptote/plain_boxes.asy b/Master/texmf-dist/asymptote/plain_boxes.asy index 50501a40897..9576caff554 100644 --- a/Master/texmf-dist/asymptote/plain_boxes.asy +++ b/Master/texmf-dist/asymptote/plain_boxes.asy @@ -28,7 +28,7 @@ path roundbox(frame dest, frame src=dest, real xmargin=0, real ymargin=xmargin, (dw,b)--(a-dw,b){right}..{down} (a,b-dw)--(a,dw){down}..{left} (a-dw,0)--(dw,0){left}..{up}cycle); - + frame F; if(above == false) { filltype.fill(F,g,p); @@ -81,7 +81,7 @@ typedef path envelope(frame dest, frame src=dest, real xmargin=0, filltype filltype=NoFill, bool above=true); object object(Label L, envelope e, real xmargin=0, real ymargin=xmargin, - pen p=currentpen, filltype filltype=NoFill, bool above=true) + pen p=currentpen, filltype filltype=NoFill, bool above=true) { object F; F.L=L.copy(); @@ -93,9 +93,9 @@ object object(Label L, envelope e, real xmargin=0, real ymargin=xmargin, return F; } -object draw(picture pic=currentpicture, Label L, envelope e, +object draw(picture pic=currentpicture, Label L, envelope e, real xmargin=0, real ymargin=xmargin, pen p=currentpen, - filltype filltype=NoFill, bool above=true) + filltype filltype=NoFill, bool above=true) { object F=object(L,e,xmargin,ymargin,p,filltype,above); pic.add(new void (frame f, transform t) { @@ -115,7 +115,7 @@ object draw(picture pic=currentpicture, Label L, envelope e, pair position, return draw(pic,Label(L,position),e,xmargin,ymargin,p,filltype,above); } -pair point(object F, pair dir, transform t=identity()) +pair point(object F, pair dir, transform t=identity()) { pair m=min(F.g); pair M=max(F.g); |