window->image -- Return an image with the contents of window WIN.
(window->image win #&optional x-offset y-offset width height)
Return an image with the contents of window win.
win can be a window id (as a long), a window object, or
the symbol 'root-window. Captures the rectangle of the window
at x-offset, y-offset with width width and height height.
Module: Built-in Primitive
Defined in src/image.c
at line 650 (CVS log)