[ 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 (:p:`x`, :p:`y`) to (:p:`xe`, :p:`ye`). The line is exact; the pixel set is no more than 0.5 pixels off the place it should be.

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 1210); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 1210); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 1210); backlink

Unknown interpreted text role "p".

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 1210); backlink

Unknown interpreted text role "p".

Return value

This function returns 0 to indicate success.

See Also

:man:`ggiDrawHLine(3)`, :man:`ggiDrawVLine(3)`

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 1226); backlink

Unknown interpreted text role "man".

System Message: ERROR/3 (../ggi-core/libggi/doc/libggi.txt, line 1226); backlink

Unknown interpreted text role "man".
 
[ prev :: next :: up ] libggi-current (3)
2006/08/09 02:58:19