get a list of consecutive pixel values
int vga_getscansegment(unsigned char *colors, int x, int y, int length);
The direct opposite of vga_drawscansegment(). The line of
pixels starting at
is not drawn but instead the colorvalues are taken from the screen and
color .. color[length - 1].
Svgalib versions was introduced in version 1.2.10.
In high/truecolor modes, the length must be given in bytes, not pixels.