render_line

function render_line(context:Gtk.StyleContext, cr:cairo.Context, x0:Number, y0:Number, x1:Number, y1:Number):void {
    // Gjs wrapper for gtk_render_line()
}

Renders a line from (x0, y0) to (x1, y1).

Since 3.0

context

a Gtk.StyleContext

cr

a #cairo_t

x0

X coordinate for the origin of the line

y0

Y coordinate for the origin of the line

x1

X coordinate for the end of the line

y1

Y coordinate for the end of the line