diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-08-26 16:29:15 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2016-08-26 16:29:15 +0200 |
commit | 2146c5714b53b92df35551a989cbe1db7b290829 (patch) | |
tree | c5082e64775784c5aee84039b6bf316e75c155a7 /metapost | |
parent | acf69d3d7873025941544add3ba168b367c84edd (diff) | |
download | context-2146c5714b53b92df35551a989cbe1db7b290829.tar.gz |
2016-08-26 15:40:00
Diffstat (limited to 'metapost')
-rw-r--r-- | metapost/context/base/mpiv/mp-shap.mpiv | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/metapost/context/base/mpiv/mp-shap.mpiv b/metapost/context/base/mpiv/mp-shap.mpiv index 3e885e585..a511ef375 100644 --- a/metapost/context/base/mpiv/mp-shap.mpiv +++ b/metapost/context/base/mpiv/mp-shap.mpiv @@ -168,12 +168,12 @@ enddef ; vardef drawpredefinedshape (expr t, p, lw, lc, fc) = save pp ; - if t>1 : % normal shape + if t > 1 : % normal shape path pp ; pp := some_shape_path(t) xyscaled(bbwidth(p), bbheight(p)) shifted center p ; fill pp withcolor fc ; draw pp withpen pencircle scaled lw withcolor lc ; - elseif t=1 : % background only + elseif t = 1 : % background only path pp ; pp := fullsquare xyscaled(bbwidth(p), bbheight(p)) shifted center p ; fill pp withcolor fc ; |