NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
void GetDisplayPopup ( const byte  x,
const byte  line,
unsigned int  cnt,
byte &  data[] 
)
inline

Read pixel data from the popup display buffer.

Read "cnt" bytes from the popup display memory into the data array. Start reading from the specified x, line coordinate. Each byte of data read from screen memory is a vertical strip of 8 bits at the desired location. Each bit represents a single pixel on the LCD screen. Use TEXTLINE_1 through TEXTLINE_8 for the "line" parameter.

Parameters
xThe desired x position from which to read pixel data.
lineThe desired line from which to read pixel data.
cntThe number of bytes of pixel data to read.
dataThe array of bytes into which pixel data is read.
Examples:
ex_GetDisplayPopup.nxc.