summaryrefslogtreecommitdiff
path: root/metapost/context/base/mpiv/mp-mlib.mpiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-09-29 16:35:50 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-09-29 16:35:50 +0200
commitfd8697791360a26a2b9cc888dbc125cefedfcd42 (patch)
treef1257c9ce132fd942b69a559e9961e6dbe6f1539 /metapost/context/base/mpiv/mp-mlib.mpiv
parent0a5f59a9aa25b3de7e9659b39ad201aaf7eb5a67 (diff)
downloadcontext-fd8697791360a26a2b9cc888dbc125cefedfcd42.tar.gz
2019-09-29 14:42:00
Diffstat (limited to 'metapost/context/base/mpiv/mp-mlib.mpiv')
-rw-r--r--metapost/context/base/mpiv/mp-mlib.mpiv5
1 files changed, 5 insertions, 0 deletions
diff --git a/metapost/context/base/mpiv/mp-mlib.mpiv b/metapost/context/base/mpiv/mp-mlib.mpiv
index 286e4e495..88bf56674 100644
--- a/metapost/context/base/mpiv/mp-mlib.mpiv
+++ b/metapost/context/base/mpiv/mp-mlib.mpiv
@@ -1696,6 +1696,11 @@ def nodraw text t = draw t withpostscript "collect" enddef ;
def dodraw text t = draw t withpostscript "flush" enddef ;
def dofill text t = fill t withpostscript "flush" enddef ;
+% maybe (saves a bogus path but the problem is that it can influence the dimensions):
+
+% def dodraw text t = draw center currentpicture withpostscript "flush" enddef ;
+% def dofill text t = fill center currentpicture --cycle withpostscript "flush" enddef ;
+
if contextlmtxmode :
def eoclip text t = clip t withpostscript "evenodd" enddef ;
else :