pub trait GdkCairoSurfaceExt {
    fn create_region(&self) -> Region;
}
Expand description

Trait containing integration methods with cairo::Surface.

Required Methods§

Creates region that covers the area where the given @surface is more than 50% opaque.

This function takes into account device offsets that might be set with cairo_surface_set_device_offset().

surface

a cairo surface

Returns

A cairo::Region

Implementations on Foreign Types§

Implementors§