Function
Gtkrender_background_get_clip
since: 3.20
Declaration [src]
void
gtk_render_background_get_clip (
GtkStyleContext* context,
gdouble x,
gdouble y,
gdouble width,
gdouble height,
GdkRectangle* out_clip
)
Description [src]
Returns the area that will be affected (i.e. drawn to) when
calling gtk_render_background() for the given context and rectangle.
Available since: 3.20
Parameters
context-
Type:
GtkStyleContextA
GtkStyleContext.The data is owned by the caller of the function. x-
Type:
gdoubleX origin of the rectangle.
y-
Type:
gdoubleY origin of the rectangle.
width-
Type:
gdoubleRectangle width.
height-
Type:
gdoubleRectangle height.
out_clip-
Type:
GdkRectangleReturn location for the clip.
The argument will be set by the function. The returned data is owned by the function.