Region.intersectRectangle

cairo.types.Status intersectRectangle(cairo.types.RectangleInt rectangle)

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

Parameters

rectanglea #cairo_rectangle_int_t

Returns

[cairo.types.Status.Success] or [cairo.types.Status.NoMemory]