summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-19-1-2.tex
blob: 923880602756a7f3ba1ddb68d008da890db680ec (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. 119 (Section 19.1.2 : Example with  the option \tkzimp{diameter})

 \begin{tikzpicture}[scale=1]
    \tkzDefPoint(0,0){A}
    \tkzDefPoint(2,2){B}
    \tkzDefCircle[diameter](A,B)
    \tkzGetPoint{O}
    \tkzDrawCircle[blue,fill=blue!20](O,B)
    \tkzDrawSegment(A,B)
    \tkzDrawPoints(A,B,O)
    \tkzLabelPoints(A,B,O)
\end{tikzpicture}

\end{document}