Function
Gtkrender_line
deprecated: 4.10 since: 4.0
Declaration [src]
void
gtk_render_line (
GtkStyleContext* context,
cairo_t* cr,
double x0,
double y0,
double x1,
double y1
)
Description [src]
Renders a line from (x0, y0) to (x1, y1).
Available since: 4.0
Deprecated since: 4.10
Please do not use it in newly written code.
Parameters
context-
Type:
GtkStyleContextA
GtkStyleContextThe data is owned by the caller of the function. cr-
Type:
cairo_tA
cairo_tThe data is owned by the caller of the function. x0-
Type:
doubleX coordinate for the origin of the line.
y0-
Type:
doubleY coordinate for the origin of the line.
x1-
Type:
doubleX coordinate for the end of the line.
y1-
Type:
doubleY coordinate for the end of the line.