SptGetPixel()

… visits
Parent Previous Next

Syntax

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

Overview

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

Parameters

Parameter

Description

bBuffer

Source buffer to read from.

wOriginX

X-coordinate in the buffer.

wOriginY

Y-coordinate in the buffer.

Return value

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