Package: cairo

Function cairo-region-create-rectangles

Lambda List

cairo-region-create-rectangles (rects count)

Arguments

rects -- an array of count cairo-rectangle-int-t structures
count -- an integer with the number of rectangles

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 containing the union of all given rects.
 

See also

2020-12-26