|
void bx_draw_line |
( |
bx_window |
win, |
|
|
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 | |
|
) |
| | |
Draws a line segment on the canvas of a window.
- Parameters:
-
| win | the window owning the targeted canvas. |
| x1,y1 | the coordinates of the 1st end-point of the segment. |
| x2,y2 | the coordinates of the 2nd end-point of the segment. |
- Returns:
- nothing
|