1vga_getpixel(3)               Svgalib User Manual              vga_getpixel(3)
2
3
4

NAME

6       vga_getpixel - get a pixels value from the screen
7

SYNOPSIS

9       #include <vga.h>
10
11       int vga_getpixel(int x, int y);
12
13

DESCRIPTION

15       Read a pixels value from the screen. This function is very inefficient,
16       you  should  consider  doing  direct  screen  access  instead  or   use
17       vga_getscansegment(3) to handle more than one pixel.
18
19

SEE ALSO

21       svgalib(7), vgagl(7), libvga.config(5), vga_clear(3), vga_drawpixel(3),
22       vga_drawline(3),      vga_drawscanline(3),      vga_drawscansegment(3),
23       vga_getscansegment(3)
24

AUTHOR

26       This  manual  page  was  edited by Michael Weller <eowmob@exp-math.uni-
27       essen.de>. The exact source of the referenced function as  well  as  of
28       the original documentation is unknown.
29
30       It is very likely that both are at least to some extent are due to Harm
31       Hanemaayer <H.Hanemaayer@inter.nl.net>.
32
33       Occasionally this might be wrong. I hereby asked to be excused  by  the
34       original author and will happily accept any additions or corrections to
35       this first version of the svgalib manual.
36
37
38
39Svgalib (>= 1.2.11)              27 July 1997                  vga_getpixel(3)
Impressum