Function gtk4::render_frame

source ·
pub fn render_frame(
    context: &impl IsA<StyleContext>,
    cr: &Context,
    x: f64,
    y: f64,
    width: f64,
    height: f64
👎Deprecated: Since 4.10
Expand description

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:

§Deprecated since 4.10


a StyleContext


a cairo::Context


X origin of the rectangle


Y origin of the rectangle


rectangle width


rectangle height