render_line
Description:
[ CCode ( cname = "gtk_render_line" ) ]
[ Version ( since = "3.0" ) ]
public void render_line (Context cr, double x0, double y0, double x1, double y1)
[ Version ( since = "3.0" ) ]
public void render_line (Context cr, double x0, double y0, double x1, double y1)
Renders a line from (x0, y0) to (x1, y1).
Parameters:
| cr |
a Context |
| 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 |
| context |