summaryrefslogtreecommitdiff
path: root/doc/context/sources/general/manuals/metafun/mfun-800.tex
blob: bd0e5c7789fd5fe17e14b577b2fc88e6b3ac4deb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
% language=us runpath=texruns:manuals/metafun

\setupMPpage
  [offset=1pt,
   background=color,
   backgroundcolor=gray]

\definecolor [gray]   [s=.625]
\definecolor [red]    [r=.625]
\definecolor [yellow] [r=.625,g=.625]

\startuseMPgraphic{test}
    fill fullsquare rotated 45 scaled 4cm
        withcolor \MPcolor{yellow} ;
\stopuseMPgraphic

\starttext

\startMPpage
    \includeMPgraphic{test}
    fill fullcircle scaled 3cm
        withcolor \MPcolor{red} ;
\stopMPpage

\stoptext