get_frame_region


Description:

public unowned Region? get_frame_region ()

Retrieves the region that is currently in the process of being repainted.

After a call to begin_frame this function will return a union of the region passed to that function and the area of the surface that the this determined needs to be repainted.

If this is not in between calls to begin_frame and end_frame, null will be returned.

Parameters:

this

a DrawContext

Returns:

a Cairo region or null if not drawing a frame.