Name
cregion:SubtractRectangle -- subtract rectangle
Synopsis
status = cregion:SubtractRectangle(rectangle)
Function
Subtracts rectangle from the region. 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
x
#CAIRO_STATUS_SUCCESS or #CAIRO_STATUS_NO_MEMORY

Show TOC