render_background_get_clip


Description:

[ CCode ( cname = "gtk_render_background_get_clip" ) ]
[ Version ( since = "3.20" ) ]
public Rectangle render_background_get_clip (double x, double y, double width, double height)

Returns the area that will be affected (i.

e. drawn to) when calling render_background for the given context and rectangle.

Parameters:

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height

context

a StyleContext

out_clip

return location for the clip