diff options
author | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-12-28 03:01:00 +0000 |
commit | ecdf859b6ce481abfd530425dcf6f0f764bd0001 (patch) | |
tree | 13bc161dc046876ac6c92fce5f9f5034ba9aa573 /graphics/asymptote/base/plain_boxes.asy | |
parent | 790995b7e79697514364450bf9c04f1b8d500838 (diff) |
CTAN sync 202112280300
Diffstat (limited to 'graphics/asymptote/base/plain_boxes.asy')
-rw-r--r-- | graphics/asymptote/base/plain_boxes.asy | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/asymptote/base/plain_boxes.asy b/graphics/asymptote/base/plain_boxes.asy index 50501a4089..9576caff55 100644 --- a/graphics/asymptote/base/plain_boxes.asy +++ b/graphics/asymptote/base/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); |