Name
cregion:XorRectangle -- compute exclusive difference of region with rectangle
Synopsis
status = cregion:XorRectangle(rectangle)
Function
Computes the exclusive difference of the current region with rectangle. That is, the current region will be set to contain all areas that are either in the current region or in rectangle, but not in both. The rectangle parameter must be a table that has the fields x, y, width, and height initialized.

Inputs
rectangle
a table containing a rectangle (see above)
Results
status
#CAIRO_STATUS_SUCCESS or #CAIRO_STATUS_NO_MEMORY

Show TOC