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

NAME

6       gl_getpixel - return the color of a pixel
7
8

SYNOPSIS

10       #include <vgagl.h>
11
12       int gl_getpixel(int x, int y);
13
14

DESCRIPTION

16       Returns the color of pixel at position (x, y) in the format used in the
17       screen memory.
18
19       The color -1 is returned for points outside the clipping window.
20
21

SEE ALSO

23       svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1), gl_get‐
24       box(3),   gl_getpalette(3),   gl_getpalettecolor(3),  gl_getpalettecol‐
25       ors(3), gl_getpixelrgb(3),  gl_rgbcolor(3),  gl_setpalette(3),  gl_set‐
26       palettecolor(3),  gl_setpalettecolors(3),  gl_setpixel(3), gl_setpixel‐
27       rgb(3).
28
29

AUTHOR

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