From 4831ec8b98dbd0b637271f601c288960f9259bfc Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Sun, 18 Apr 2021 19:27:46 +0200 Subject: 2021-04-18 18:07:00 --- metapost/context/base/mpxl/mp-abck.mpxl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'metapost') 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 ; -- cgit v1.2.3