summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-20-1-1.tex
blob: 8e58ae04d49c3af9a7532dafc8be9eba09521d34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 131 (Section 20.1.1 : Circles and styles, draw a circle and color the disc)

\begin{tikzpicture}
  \tkzDefPoint(0,0){O}
  \tkzDefPoint(3,0){A}
  \tkzDrawCircle[color=blue,style=dashed](O,A)
  \tkzDrawCircle[diameter,color=red,%
                 line width=2pt,fill=red!40,%
                 opacity=.5](O,A)
  \edef\rayon{\fpeval{exp(1)}}
  \tkzDrawCircle[R,color=orange](O,\rayon cm)
\end{tikzpicture}

\end{document}