get_opaque_rect


Description:

[ Version ( since = "4.16" ) ]
public bool get_opaque_rect (out Rect out_opaque)

Gets an opaque rectangle inside the node that GTK can determine to be fully opaque.

There is no guarantee that this is indeed the largest opaque rectangle or that regions outside the rectangle are not opaque. This function is a best effort with that goal.

The rectangle will be fully contained in the bounds of the node.

Parameters:

this

a render node

out_opaque

return location for the opaque rect

Returns:

true if part or all of the rendernode is opaque, false if no opaque region could be found.