[cairo] Hit detection

Dov Grobgeld dov.grobgeld at gmail.com
Tue Nov 28 03:33:20 PST 2006


Great! I have missed that it is possible to draw non-antialiased in
cairo, and I will certainly use it. Missing a pixel here and there on
element edges doesn't bother me at all.

Merci,
Dov

On 11/28/06, Emmanuel Pacaud <emmanuel.pacaud at lapp.in2p3.fr> wrote:
> Le mardi 28 novembre 2006 à 11:27 +0200, Dov Grobgeld a écrit :
> > But this would be quite slow as it requires looping through a lot of
> > bounding boxes.
> >
> > If cairo could draw non-antialiased this would be much easier.
>
> You can do non-antialiased drawing by using:
>
> cairo_set_antialias (cr, CAIRO_ANTIALIAS_NONE);
>
>         Emmanuel.
>
>


More information about the cairo mailing list