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

void caca_draw_thin_triangle ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

Draw a thin triangle on the screen.

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.
x3 X coordinate of the third point.
y3 Y coordinate of the third point.
Returns:
void

Definition at line 67 of file triangle.c.

References caca_draw_thin_line().

{
    caca_draw_thin_line(x1, y1, x2, y2);
    caca_draw_thin_line(x2, y2, x3, y3);
    caca_draw_thin_line(x3, y3, x1, y1);
}


Generated by  Doxygen 1.6.0   Back to index