Package: cairo

Function cairo-in-clip

Lambda List

cairo-in-clip (cr x y)

Arguments

cr -- a cairo-t context
x -- a double float x coordinate of the point to test
y -- a double float y coordinate of the point to test

Return Value

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

Details

Tests whether the given point is inside the area that would be visible through the current clip, i.e. the area that would be filled by a call to the cairo-paint function.

See the cairo-clip and cairo-clip-preserve functions.
 

See also

2021-12-12