vga_drawscansegment3
Draw a horizontal line of pixels
Usage
#include <vga.h>
int vga_drawscansegment(unsigned char *colors, int x, int y, int length);
Overview
draws a horizontal line of length pixels starting at position (x, y). The colors drawn are taken from color[0] .. color[length - 1]. Svgalib versions prior to 1.2.10 required x, y, and length to be multiples of 8. This is no longer true. In high/truecolor modes, the length must be given in bytes, not pixels.
Releases
Unchanged in 5 releases since Debian 3.1 (Sarge).