Name
cregion:UnionRectangle -- compute region union with rectangle
Synopsis
status = cregion:UnionRectangle(rectangle)
Function
Computes the union of the current region and the rectangle specified by rectangle. 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