[ prev :: next :: up ] libggi-current (3)

Draw a line on a visual

Name

ggiDrawLine : Draw a line on a visual

#include <ggi/ggi.h>

int ggiDrawLine(ggi_visual_t vis, int x, int y, int xe, int ye);

Description

Draws any line, using the current foreground color, from (x, y) to (xe, ye). The line is exact; the pixel set is no more than 0.5 pixels off the place it should be.

Return value

This function returns 0 to indicate success.

See Also

ggiDrawHLine(3), ggiDrawVLine(3)

 
[ prev :: next :: up ] libggi-current (3)
2004/03/10 22:44:07