SptGetPixel()

Parent Previous Next

SptGetPixel(bBuffer As bTftLibParameter1, wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2), Word


Return the color of the pixel at the specified coordinates within a sprite buffer.


bBuffer – Source buffer to read from.

wOriginX – X-coordinate in the buffer.

wOriginY – Y-coordinate in the buffer.


Return:

The 16-bit pixel color at the requested location (undefined if the buffer or coordinates are invalid).

Created with the Personal Edition of HelpNDoc: Qt Help documentation made easy