Package: cairo

Function cairo-region-copy

Lambda List

cairo-region-copy (region)

Arguments

region -- a cairo-region-t instance

Return Value

A newly allocated cairo-region-t instance. Free with the function cairo-region-destroy. This function always returns a valid pointer. 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 function cairo-region-status.

Details

Allocates a new region instance copying the area from region.
 

See also

2020-12-26