[ Version ( deprecated = true , deprecated_since = "4.16" ) ]
public unowned Region? get_frame_region ()
Warning: get_frame_region is deprecated since 4.16.
Retrieves the region that is currently being repainted.
Drawing directly to the surface is no longer recommended. Use `GskRenderNode` and `GskRenderer`.
After a call to [method@Gdk.DrawContext.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 [method@Gdk.DrawContext.begin_frame] and [ method@Gdk.DrawContext.end_frame], null will be returned.
| this |
a `GdkDrawContext` |
|
a Cairo region |