blob: aa0c1260f70b7b35fed5b3486f48f19cab5662a5 (
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
26
27
|
% language=uk
%
% copyright=pragma-ade readme=readme.pdf licence=cc-by-nc-sa
\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
|