gl_getbox3vga
Copy a rectangular pixmap from the screen to a buffer
Part of gl_getbox(3).
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 4 releases since Debian 2.0 (Hamm).