Function
Gtkrender_line
since: 3.0
Declaration [src]
void
gtk_render_line (
GtkStyleContext* context,
cairo_t* cr,
gdouble x0,
gdouble y0,
gdouble x1,
gdouble y1
)
Parameters
context
-
Type:
GtkStyleContext
A
GtkStyleContext
.The data is owned by the caller of the function. cr
-
Type:
cairo_t
A #cairo_t.
The data is owned by the caller of the function. x0
-
Type:
gdouble
X coordinate for the origin of the line.
y0
-
Type:
gdouble
Y coordinate for the origin of the line.
x1
-
Type:
gdouble
X coordinate for the end of the line.
y1
-
Type:
gdouble
Y coordinate for the end of the line.