SptSetPixel()

Parent Previous Next

SptSetPixel(bBuffer As bTftLibParameter1, wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wColor As wTftLibParameter3), Byte


Set a single pixel in the target sprite buffer at the specified coordinates.


bBuffer – Target buffer to modify.

wOriginX – X-coordinate within the buffer.

wOriginY – Y-coordinate within the buffer.

wColor – Color value to write to the pixel.


Return:

0 – Success

1 – Invalid buffer

2 – Coordinates exceed the current buffer dimensions

Created with the Personal Edition of HelpNDoc: Eliminate the Struggles of Documentation with a Help Authoring Tool