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
-
x | The desired x position from which to read pixel data. |
line | The desired line from which to read pixel data. |
cnt | The number of bytes of pixel data to read. |
data | The array of bytes into which pixel data is read. |
- Examples:
- ex_GetDisplayPopup.nxc.