READ(3G) —
NAME
VI_MRead, VI_FRead − read display data
SYNOPSIS
VI_MRead(x,y,wd,ht,data)
int x,y;/∗ top left corner of area ∗/
int wd,ht;/∗ dimensions of area ∗/
unsigned short ∗data;/∗ first byte of data ∗/
VI_FRead(x,y,wd,ht,filename)
int x,y;/∗ top left corner of area ∗/
int wd,ht;/∗ dimensions of area ∗/
char ∗filename;/∗ name of file to place image in ∗/
DESCRIPTION
These functions read display data into memory or into a file. The area to be read must be completely on the screen. The current setting of the clipping window is ignored.
VI_MReadReads the specified area of the screen into the array passed as data. Image bytes are in the same format as expected by MImage. If the screen color is white, the bits are inverted on readback to make the data read back independent of screen color. The area to be read must be completely on the screen.
VI_FReadReads the specified area of the screen and places it in the specified file. The file has the same format as expected by FImage. If the window color is white, data bits are inverted to make the data independent of the screen color.
NOTE
VI_Read applies only to the IBM Academic Information Systems experimental display.
SEE ALSO
PRPQs 5799-WZQ/5799-PFF: IBM/4.3 — 30 Sep 1985