getFrameRegion
⚠️ Deprecated ⚠️
This is deprecated since version 4.16.
Drawing directly to the surface is no longer recommended. Use GskRenderNode
and GskRenderer
.
Retrieves the region that is currently being repainted.
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 @context determined needs to be repainted.
If @context is not in between calls to method@Gdk.DrawContext.begin_frame and method@Gdk.DrawContext.end_frame, null will be returned.
Return
a Cairo region