summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-05-05 20:33:15 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-05-05 20:33:15 +0200
commit52c91dd191d7bd30d41aaf259480ee862160a251 (patch)
tree7cdc9225b4d764377857bad57acdccd2d5178f85 /doc
parent6addefa380c1008fbc164890e8e95dd855a361c5 (diff)
downloadcontext-52c91dd191d7bd30d41aaf259480ee862160a251.tar.gz
2021-05-05 19:24:00
Diffstat (limited to 'doc')
-rw-r--r--doc/context/sources/general/manuals/metafun/metafun-effects.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/context/sources/general/manuals/metafun/metafun-effects.tex b/doc/context/sources/general/manuals/metafun/metafun-effects.tex
index 6c020acda..16fb4ef6a 100644
--- a/doc/context/sources/general/manuals/metafun/metafun-effects.tex
+++ b/doc/context/sources/general/manuals/metafun/metafun-effects.tex
@@ -1237,7 +1237,7 @@ definition.
\startbuffer
\startMPclip{head clip}
- w := \width ; h := \height ;
+ w := OverlayWidth ; h := OverlayHeight ;
clip currentpicture to
((0,h)--(w,h){down}..{left}(0,0)--cycle) ;
\stopMPclip
@@ -1305,7 +1305,7 @@ We can call up such a buffer as if it were an external figure. \in {Figure}
\startbuffer[a]
\startMPclip{text clip}
clip currentpicture to fullcircle shifted (.5,.5)
- xscaled \width yscaled \height ;
+ xscaled OverlayWidth yscaled OverlayHeight ;
\stopMPclip
\stopbuffer
@@ -1373,7 +1373,7 @@ in a similar way, using the predefined path \type {diamond}:
\starttyping
\startMPclip{diamond}
clip currentpicture to unitdiamond
- xscaled \width yscaled \height ;
+ xscaled OverlayWidth yscaled OverlayHeight ;
\stopMPclip
\stoptyping
@@ -1384,7 +1384,7 @@ with \CONTEXT.
\starttyping
\startMPclip{negellipse}
clip currentpicture to (unitcircle peepholed unitsquare)
- xscaled \width yscaled \height ;
+ xscaled OverlayWidth yscaled OverlayHeight ;
\stopMPclip
\stoptyping