summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-01-17 12:19:00 +0100
committerHans Hagen <pragma@wxs.nl>2014-01-17 12:19:00 +0100
commit4071566a1ea29a8b793f42ecbbbd49d6223ae972 (patch)
treea0af64975e0e091d7d92d59a4cec1f89d423c0a1 /metapost
parente95e905ae15c3dda670284979b4254b0526997a1 (diff)
downloadcontext-4071566a1ea29a8b793f42ecbbbd49d6223ae972.tar.gz
beta 2014.01.17 12:19
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mp-base.mpiv19
1 files changed, 16 insertions, 3 deletions
diff --git a/metapost/context/base/mp-base.mpiv b/metapost/context/base/mp-base.mpiv
index 2887cc462..4d2e522a1 100644
--- a/metapost/context/base/mp-base.mpiv
+++ b/metapost/context/base/mp-base.mpiv
@@ -594,9 +594,22 @@ def filldraw expr c =
addto currentpicture contour c withpen currentpen _op_
enddef ;
-def drawdot expr z =
- addto currentpicture contour makepath currentpen shifted z _op_
-enddef ;
+% def drawdot expr z =
+% addto currentpicture contour makepath currentpen shifted z _op_
+% enddef ;
+%
+% testcase DEK:
+%
+% for j=1 upto 9 :
+% pickup pencircle xscaled .4 yscaled .2 ;
+% drawdot (10j,0) withpen pencircle xscaled .5j yscaled .25j rotated 45 ;
+% pickup pencircle xscaled .5j yscaled .25j rotated 45 ;
+% drawdot (10j,10);
+% endfor ;
+%
+% so ...
+
+let drawdot = draw ;
def unfill expr c = fill c withcolor background enddef ;
def undraw expr p = draw p withcolor background enddef ;