SptSetPixel()

 visits
Parent Previous Next

Syntax

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

Overview

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

Parameters

Parameter

Description

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 value

Value

Meaning

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