summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-23.3.1.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-23.3.1.tex')
-rw-r--r--macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-23.3.1.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-23.3.1.tex b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-23.3.1.tex
new file mode 100644
index 0000000000..8053d152a0
--- /dev/null
+++ b/macros/latex/contrib/tkz/tkz-euclide/examples/tkzEuclide-23.3.1.tex
@@ -0,0 +1,20 @@
+\input{preamble-standalone.ltx}
+\begin{document}
+
+% Ex. No. 199 (Section 23.3.1 : \tkzcname{tkzClipSector})
+
+\begin{tikzpicture}[scale=1.5]
+ \tkzDefPoint(0,0){O}
+ \tkzDefPoint(2,-1){A}
+ \tkzDefPoint(1,1){B}
+ \tkzDrawSector[color=blue,dashed](O,A)(B)
+ \tkzDrawSector[color=blue](O,B)(A)
+ \tkzClipBB
+ \begin{scope}
+ \tkzClipSector(O,B)(A)
+ \draw[fill=gray!20] (-1,0) rectangle (3,3);
+ \end{scope}
+ \tkzDrawPoints(A,B,O)
+\end{tikzpicture}
+
+\end{document} \ No newline at end of file