#include <ggi/ggi.h>
int ggiDrawHLine(ggi_visual_t vis, int x, int y, int w);
int ggiDrawHLine
int ggiPutHLine(ggi_visual_t vis, int x, int y, int w, void *buf);
int ggiPutHLine
int ggiGetHLine(ggi_visual_t vis, int x, int y, int w, void *buf);
int ggiGetHLine
Draw, put, or get a horizontal line from (x,y), extending w pixels in the positive x direction (normally right). The height is one pixel.
All three functions return 0 to indicate success. Any other value indicates an error.