StyleContext.renderBackground

Renders the background of an element.

Typical background rendering, showing the effect of background-image, border-width and border-radius:

class StyleContext
static
void
renderBackground
(,,
double x
,
double y
,
double width
,
double height
)

Parameters

context StyleContext

a #GtkStyleContext

cr Context

a #cairo_t

x double

X origin of the rectangle

y double

Y origin of the rectangle

width double

rectangle width

height double

rectangle height

Meta

Since

3.0.