render_background


Description:

[ CCode ( cname = "gtk_render_background" ) ]
[ Version ( since = "3.0." ) ]
public void render_background (Context cr, double x, double y, double width, double height)

Renders the background of an element.

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

![](background.png)

Parameters:

cr

a Context

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height

context

a StyleContext




2022 vala-language.org