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

The 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 (setf cairo:surface-device-offset) function.
 

See also

#2024-7-16