<filename>icon/tabwidget/clip/clip.tex
\documentclass{standalone}
\usepackage{tkz-euclide, tkz-base}





\begin{document}
\begin{tikzpicture}
\edef\xmin{-5}\edef\xmax{5}
\edef\ymin{-5}\edef\ymax{5}
\tkzInit[xmin=-5,xmax=5,ymin=-5,ymax=5]
\tkzClip

\tikzstyle{reverseclip}=[insert path={%
	(\xmin,\ymin) rectangle (\xmax,\ymax)}]

\def\tkzClipOutCircle(#1,#2){\tkzCalcLength(#1,#2);\path[clip] (#1)
	circle (\tkzLengthResult pt)[reverseclip];}


\tkzDefPoint(-1.214286, 0.857143){A}
\tkzDefPoint(-1.400000, 1.057143){B}
\tkzDefPoint(-0.928571, 0.914286){C}
\tkzDefPoint(-0.742857, 1.114286){D}
\tkzDefPoint(-1.100000, 0.571429){E}
\tkzDefPoint(-0.957143, 0.328571){F}

\begin{scope}
\tkzClipOutCircle(A,B)
\tkzClipOutCircle(C,D)
\tkzFillCircle[pink](E,F)
\end{scope}

\begin{scope}
\tkzClipOutCircle(A,B)
\tkzClipOutCircle(E,F)
\tkzFillCircle[pink](C,D)
\end{scope}

\begin{scope}
\tkzClipOutCircle(E,F)
\tkzClipOutCircle(C,D)
\tkzFillCircle[pink](A,B)
\end{scope}

\tkzDrawCircle(A,B)
\tkzDrawCircle(C,D)
\tkzDrawCircle(E,F)
\end{tikzpicture}
\end{document}