summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/lapdf/polygon.tex
blob: b0142bb7ebf1abcedb5fcfcb1499617a37f86b8f (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
28
\input preamble.tex

% ---------------------------------------------------------------------------
\begin{document}
\begin{center}
{\Huge\bf{Polygon}}
\bigskip

\begin{lapdf}(18,18)(-9,-9)
 \Dgray
 \Polygon(-9,4)(-4,9)(4,9)(9,4)(9,-4)(4,-9)(-4,-9)(-9,-4)(-9,4) \Stroke
 \Red
 \Polygon(-6.928,0)(-6.5,6.5)(0,6.928)(6.5,6.5)(6.928,0)
  (6.5,-6.5)(0,-6.928)(-6.5,-6.5)(-6.928,0) \Stroke
 \Green
 \Polygon(-6.928,0)(-6,3.464)(-3.464,6)(0,6.928)(3.464,6)(6,3.464)(6.928,0)
  (6,-3.464)(3.464,-6)(0,-6.928)(-3.464,-6)(-6,-3.464)(-6.928,0) \Stroke
 \Blue
 \Epolygon(3)(0,0)(6.928,0) \Stroke
 \Cyan
 \Epolygon(3)(0,0)(6.928,30) \Stroke
 \Magenta
 \Epolygon(3)(0,0)(6.928,60) \Stroke
 \Yellow
 \Epolygon(3)(0,0)(6.928,90) \Stroke
\end{lapdf}
\end{center}
\end{document}