renderLine

fun renderLine(context: StyleContext, cr: <Error class: unknown class>, x0: <Error class: unknown class>, y0: <Error class: unknown class>, x1: <Error class: unknown class>, y1: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

---

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

Parameters

context

a GtkStyleContext

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