Region.intersectRectangle

Computes the intersection of dst with rectangle and places the result in dst Since 1.10

class Region
intersectRectangle

Parameters

rectangle cairo_rectangle_int_t

a cairo_rectangle_int_t

Return Value

CAIRO_STATUS_SUCCESS or CAIRO_STATUS_NO_MEMORY