Hi, sorry the subject is not clear. I mean that, first I draw something in the cairo context, then I draw a circle in it, which acts like a invert mask. All colors in its area are inverted. I thought xor operator helped, but it did not.... Thanks. -- 竹密岂妨流水过 山高哪阻野云飞