CL_DisplayCard::draw_line
Syntax
virtual void draw_line(
int x1,
int y1,
int x2,
int y2,
float r,
float g,
float b,
float a);
Parameters
| x1 | - | Leftmost x-coordinate. //FIXME |
| y1 | - | Upper y-coordinate. |
| x2 | - | Rightmost x-coordinate. |
| y2 | - | Lower y-coordinate. |
| r | - | Red component of the filled color. |
| g | - | Green component of the filled color. |
| b | - | Blue component of the filled color. |
| a | - | Alpha component of the filled color. |
Description
Draw a line from (x1, y1) to (x2, y2) using the color(r, g, b, a).
Back to index
|