cairo_region_create_from_surface


Description:


public Region cairo_region_create_from_surface (Surface surface)

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.

Parameters:

surface

a cairo surface

Returns:

A Region; must be freed with cairo_region_destroy


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org