summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tkz-base/examples/tkzBase-08-9-2.tex
blob: 37b826266ee1cd39214b751e1bf93411df0f62d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 66 (Section  8.9.2 : Exemple  avec \tkzcname{tkzAutoLabelPoints})

\begin{tikzpicture}[scale=1.25]
    \tkzDefPoint(2,1){O}
    \tkzDefRandPointOn[circle=center O radius 1.5cm]
    \tkzGetPoint{A}
    \tkzDrawCircle(O,A)
    \tkzDefPointBy[rotation=center O angle 100](A)
    \tkzGetPoint{C}
    \tkzDefPointBy[rotation=center O angle 78](A)
    \tkzGetPoint{B}
    \tkzDrawPoints(O,A,B,C)
    \tkzDrawSegments(C,B B,A A,O O,C)
    \tkzAutoLabelPoints[center=O,red](A,B,C)
\end{tikzpicture}

\end{document}