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 set_device_offset.
surface |
a cairo surface |
A Region; must be freed with |