Region.xorRectangle

Computes the exclusive difference of dst with rectangle and places the result in dst. That is, dst will be set to contain all areas that are either in dst or in rectangle, but not in both. Since 1.10

class Region
xorRectangle

Parameters

rectangle cairo_rectangle_int_t

a cairo_rectangle_int_t

Return Value

CAIRO_STATUS_SUCCESS or CAIRO_STATUS_NO_MEMORY