Context.inFill

cairo.types.Bool inFill(double x, double y)

Tests whether the given point is inside the area that would be affected by a cairo.context.Context.fill operation given the current path and filling parameters. Surface dimensions and clipping are not taken into account.

See cairo.context.Context.fill, cairo.context.Context.setFillRule and cairo.context.Context.fillPreserve.

Parameters

xX coordinate of the point to test
yY coordinate of the point to test

Returns

A non-zero value if the point is inside, or zero if

outside.