Region.containsPoint

Checks whether (x, y) is contained in region. Since 1.10

class Region
cairo_bool_t
containsPoint
(
int x
,
int y
)

Parameters

x int

the x coordinate of a point

y int

the y coordinate of a point

Return Value

Type: cairo_bool_t

TRUE if (x, y) is contained in region, FALSE if it is not.

Meta