[texhax] tikz and making a hole

Victor Ivrii vivrii at gmail.com
Wed Jun 16 04:23:02 CEST 2010

If I have a pgf/tikz snippet I can clip a piece of picture with a
command \clip, basically making the selection of the original picture
and throwing out everything else.

Meanwhile  if I want to cut out from the original picture and erase
selection, leaving the rest intact I can use \clip but the following
looks cumbersome:

\fill[red] (1.9,1.9) circle (.5);
\clip  (0,0)--(1.5,0)--(1.5,2) arc
\fill[blue] (2,2) circle (1);

Is there a better way? \fill[white] is obvious but it does not work in
many cases as it covers "background canvas" .


More information about the texhax mailing list