Function

Gtkrender_background_get_clip

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 GtkStyleContext
 

A GtkStyleContext.

 The data is owned by the caller of the function.
x gdouble
 

X origin of the rectangle.

y gdouble
 

Y origin of the rectangle.

width gdouble
 

Rectangle width.

height gdouble
 

Rectangle height.

out_clip AtkRectangle
 

Return location for the clip.

 The argument will be set by the function.
 The data is owned by the caller of the function.