render_frame


Description:

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

Renders a frame around the rectangle defined by x, y, width, height.

Examples of frame rendering, showing the effect of `border-image`, `border-color`, `border-width`, `border-radius` and junctions:

![](frames.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