gl_getbox3
Copy a rectangular pixmap from the screen to a buffer
Usage
#include <vgagl.h>
void gl_getbox(int x, int y, int w, int h, void *dp);
Overview
Copy a rectangular bitmap at position (x, y) with size (w, h) from the screen to a buffer dp.
Pixmaps are in row-major order. The destination pixmap has the size w * h * BYTESPERPIXEL.
Releases
Unchanged in 5 releases since Debian 3.1 (Sarge).