.TH vga_drawscanline() "" "" "VGA Function"
.PC "Draw a single horizontal line of pixels"
.B "#include <vga.h>"
\fBint vga_drawscanline(\fIline\^\fB, \fIcolors\^\fB)\fR
\fBint \fIline\^\fB;\fR
\fBchar *\fIcolors\^\fB;\fR
.PP
Function
.B vga_drawscanline()
draws one horizontal line of pixels.
It has been optimized for the fastest possible
output, to optimize programs like image viewers.
.PP
.I line
is the number of the line on the screen to draw.
.I colors
is an array of
.BR char s,
each of which gives the color to set the corresponding pixel on
.IR line .
The color should fall within the range supported by the current video mode.
.SH "See Also"
.B
libvga,
vga_drawline(),
vga.h
.R
