Logo Search packages:      
Sourcecode: libcaca version File versions  Download package

void caca_draw_thin_line ( int  x1,
int  y1,
int  x2,
int  y2 
)

Draw a thin line on the screen, using ASCII art.

Parameters:
x1 X coordinate of the first point.
y1 Y coordinate of the first point.
x2 X coordinate of the second point.
y2 Y coordinate of the second point.
Returns:
void

Definition at line 119 of file line.c.

References clip_line(), and draw_thin_line().

Referenced by caca_draw_thin_triangle().

{
    struct line s;
    s.x1 = x1;
    s.y1 = y1;
    s.x2 = x2;
    s.y2 = y2;
    s.draw = draw_thin_line;
    clip_line(&s);
}


Generated by  Doxygen 1.6.0   Back to index