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

NAME

6       gl_getbox - copy a rectangular pixmap from the screen to a buffer
7
8

SYNOPSIS

10       #include <vgagl.h>
11
12       void gl_getbox(int x, int y, int w, int h, void *dp);
13
14

DESCRIPTION

16       Copy  a rectangular bitmap at position (x, y) with size (w, h) from the
17       screen to a buffer dp.
18
19       Pixmaps are in row-major order. The destination pixmap has the size w *
20       h * BYTESPERPIXEL.
21
22

SEE ALSO

24       svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1), gl_com‐
25       pileboxmask(3),  gl_compiledboxmasksize(3),   gl_copybox(3),   gl_copy‐
26       boxfromcontext(3),   gl_copyboxtocontext(3),  gl_putbox(3),  gl_putbox‐
27       mask(3), gl_putboxmaskcompiled(3), gl_putboxpart(3), gl_scalebox(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_getbox(3)
Impressum