Package: cairo

Function cairo-in-stroke

Lambda List

cairo-in-stroke (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 affected by a cairo-stroke operation given the current path and stroking parameters. Surface dimensions and clipping are not taken into account.

See the cairo-stroke, cairo-set-line-width, cairo-set-line-join, cairo-set-line-cap, cairo-set-dash, and cairo-stroke-preserve functions.
 

See also

2021-12-12