[cairo] [PATCH] [in-fill] Treat on-edge queries as inside.

M Joonas Pihlaja jpihlaja at cc.helsinki.fi
Mon Mar 30 12:09:03 PDT 2009

On Mon, 30 Mar 2009, Jeff Muizelaar wrote:

> On Fri, Feb 27, 2009 at 04:39:41PM +0000, Chris Wilson wrote:
> > Jeff Muizelaar noted that the treatment of edges differed with firefox's
> > canvas definition, which considers a point on any edge as inside. The
> > current implementation has a similar definition to that of flash, for
> > which the top and right edges are outside. Arguably, firefox has the more
> > intuitive definition here...
> Any reason we can't land this?

I think it should go in.  If someone complains very much, can't we add 
API to distinguish between on-edge and in-fill later?  Possibly with 
some sort of mechanism to take into account the directionality of the 
edges so that people can implement exactly whichever 
top/left/bot/right-rules they want.


More information about the cairo mailing list