Name
cregion:IntersectRectangle -- intersect rectangle
Synopsis
status = cregion:IntersectRectangle(rectangle)
Function
Computes the intersection of the region with 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