pub trait DrawContextExtManual: 'static {
    fn frame_region(&self) -> Option<Region>;
}
Expand description

Trait containing manually implemented methods of DrawContext.

Required Methods

Retrieves the region that is currently being repainted.

After a call to DrawContextExt::begin_frame() this function will return a union of the region passed to that function and the area of the surface that the @self determined needs to be repainted.

If @self is not in between calls to DrawContextExt::begin_frame() and DrawContextExt::end_frame(), None will be returned.

Returns

a Cairo region

Implementors