Package: cairo

Function cairo:in-fill

Lambda List

cairo:in-fill (cr x y)

Arguments

cr -- a cairo:context-t instance
x -- a number for the x coordinate of the point to test
y -- a number for the y coordinate of the point to test

Return Value

True if the point is inside, or false if outside.

Details

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

See the cairo:fill, cairo:fill-rule and cairo:fill-preserve functions.

Notes

The numbers for the arguments are coerced to double floats before being passed to the foreign C function.
 

See also

#2025-1-2