SptShiftOut()

 visits
Parent Previous Next

Syntax

SptShiftOut(bBuffer As bTftLibParameter1, bXdirection As bTftLibParameter2, wColumnsOut As wTftLibParameter1, bYdirection As bTftLibParameter3, wRowsOut As wTftLibParameter2, wFillColor As wTftLibParameter3), Byte

Overview

Shifts rows and/or columns out of a buffer in the specified directions. Newly exposed pixels are filled with the specified fill color.

Parameters

Parameter

Description

bBuffer

Working buffer to be modified.

bXdirection

Horizontal shift direction:
0 – Shift right
1 – Shift left

wColumnsOut

Number of columns to shift out.

bYdirection

Vertical shift direction:
0 – Shift up
1 – Shift down

wRowsOut

Number of rows to shift out.

wFillColor

Color used to fill newly exposed pixels.

Return value

Value

Meaning

0

Success

1

Invalid buffer

2

Number of columns exceeds buffer width

3

Number of rows exceeds buffer height

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