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: GtkStyleContext

A GtkStyleContext.

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

Type: gdouble

X origin of the rectangle.

y

Type: gdouble

Y origin of the rectangle.

width

Type: gdouble

Rectangle width.

height

Type: gdouble

Rectangle height.

out_clip

Type: GdkRectangle

Return location for the clip.

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