On Fri, Feb 29, 2008 at 12:47 PM, Dominique Würtz <
dwuertz@...> wrote:
> sorry, it should read
>
>
> \filldraw[fill=red,even odd rule]
>
> Dominique Würtz schrieb:
>
> > \documentclass{article}
> > \usepackage{tikz}
> >
> > \begin{document}
> > \pagestyle{empty}
> >
> > \begin{tikzpicture}
> > \clip (2,0) circle (3cm);
> > \filldraw[fill=even odd rule]
> > (0,0) circle (2.5cm) (0,0) circle (3cm);
> > \end{tikzpicture}
> >
> > \end{document}
>
>
If you are satisfied with opaque rings you could try:
\documentclass{article}
\usepackage{tikz}
\begin{document}
\pagestyle{empty}
\def\circA{(0,0) circle (2.5cm) (0,0) circle (3cm)}
\def\circB{(2,0) circle (2.5cm) (2,0) circle (3cm)}
\begin{tikzpicture}
\fill[even odd rule,green] \circA;
\filldraw[even odd rule,fill=white] \circA \circB ;
\end{tikzpicture}
\end{document}
If the rings have to be transparent this will not work.
- Kjell Magne Fauske
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
pgf-users mailing list
pgf-users@...
https://lists.sourceforge.net/lists/listinfo/pgf-users