Package: cairo

Function cairo:region-copy

Lambda List

cairo:region-copy (region)

Arguments

region -- a cairo:region-t instance

Return Value

The newly allocated cairo:region-t instance.

Details

Allocates a new region instance copying the area from region. Free with the cairo:region-destroy function. This function always returns a valid instance. 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 the cairo:region-status function.
 

See also

2025-1-26