renderLine

fnvoid renderLine(gtk.style_context.StyleContext context, cairo.context.Context cr, double x0, double y0, double x1, double y1)

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

Parameters

contexta [gtk.style_context.StyleContext]
cra [cairo.context.Context]
x0X coordinate for the origin of the line
y0Y coordinate for the origin of the line
x1X coordinate for the end of the line
y1Y coordinate for the end of the line