diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-10-18 12:15:03 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2014-10-18 12:15:03 +0200 |
commit | ed9e19d67a497d38249698f6a38db7404391946e (patch) | |
tree | 98c6448a40fc6cb383d3d03e780887e465664d5d /metapost | |
parent | 155c2d957f50a5e9f25d00d246d25ec63d31b562 (diff) | |
download | context-ed9e19d67a497d38249698f6a38db7404391946e.tar.gz |
2014-10-18 11:17:00
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mp-mlib.mpiv | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/metapost/context/base/mp-mlib.mpiv b/metapost/context/base/mp-mlib.mpiv index 157e2d0b1..11bf9b8d0 100644 --- a/metapost/context/base/mp-mlib.mpiv +++ b/metapost/context/base/mp-mlib.mpiv @@ -1074,3 +1074,12 @@ enddef ; vardef format (expr f, x) = textext(strfmt(f, x)) enddef ; vardef formatted(expr f, x) = textext(varfmt(f, x)) enddef ; + +% new + +def eofill expr p = fill p withpostscript "evenodd" enddef ; +def eoclip expr p = clip p withpostscript "evenodd" enddef ; + +% def withrule expr r = +% if (t = "even-odd") or (t = "evenodd") : withpostscript "evenodd" fi +% enddef ; |