Package: gdk

Function gdk-cairo-region-create-from-surface

Lambda List

gdk-cairo-region-create-from-surface (surface)

Arguments

surface -- a cairo-surface-t instance

Return Value

A cairo-region-t instance, must be freed with the cairo-region-destroy function.

Details

Creates region that describes covers the area where the given surface is more than 50% opaque. This function takes into account device offsets that might be set with the cairo-surface-set-device-offset function.
 

See also

2021-12-11