Name
cregion:Copy -- copy region
Synopsis
reg = cregion:Copy()
Function
Allocates a new region object copying the area from the original.

This function returns a newly allocated Cairo region. Free with cregion:Free(). This function always returns a valid handle; if memory cannot be allocated, then a special error object is returned where all operations on the object do nothing. You can check for this with cregion:Status().

Inputs
none

Results
reg
a newly allocated Cairo region

Show TOC