diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-04-18 19:27:46 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-04-18 19:27:46 +0200 |
commit | 4831ec8b98dbd0b637271f601c288960f9259bfc (patch) | |
tree | 9163b423a7b6f23b0249e923cab8e4a1f2ca18b0 /metapost | |
parent | 113a26a2838ace27514f6348ed0d41bf87724472 (diff) | |
download | context-4831ec8b98dbd0b637271f601c288960f9259bfc.tar.gz |
2021-04-18 18:07:00
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mpxl/mp-abck.mpxl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/metapost/context/base/mpxl/mp-abck.mpxl b/metapost/context/base/mpxl/mp-abck.mpxl index c27758fa9..d0bf0a0f8 100644 --- a/metapost/context/base/mpxl/mp-abck.mpxl +++ b/metapost/context/base/mpxl/mp-abck.mpxl @@ -50,7 +50,7 @@ numeric boxfilloffset ; boxfilloffset := 0 ; numeric boxgriddistance ; boxgriddistance := .5cm ; numeric boxgridshift ; boxgridshift := 0 ; -permanent multipars, multiregs, multibox, multikind, multilocs, nofmultipars ; +mutable multipars, multiregs, multibox, multikind, multilocs, nofmultipars ; vardef abck_draw_path(expr p) = if (length p > 2) and (bbwidth(p) > 1) and (bbheight(p) > 1) : @@ -205,6 +205,8 @@ pair lxy[], rxy[], cxy[], llxy[], lrxy[], ulxy[], urxy[] ; path pxy[] ; numeric hxy[], wxy[], dxy[], nxy[] ; +mutable lxy, rxy, cxy, llxy, lrxy, ulxy, urxy, pxy, hxy, wxy, dxy, nxy ; + def box_found (expr n,x,y,w,h,d) = not ((x=0) and (y=0) and (w=0) and (h=0) and (d=0)) enddef ; |