SptTransferRect()

 visits
Parent Previous Next

Syntax

SptTransferRect(bBufferS As bTftLibParameter1, wOriginX As wTftLibParameter1, wOriginY As wTftLibParameter2, wWidth As wTftLibParameter3, wHeight As wTftLibParameter4, bBufferD As bTftLibParameter2), Byte

Overview

Copies a full or partial rectangular area from the source buffer to the destination buffer, overwriting the destination contents.

Parameters

Parameter

Description

bBufferS

Source buffer

wOriginX

X-coordinate of the bottom-left corner of the source area

wOriginY

Y-coordinate of the bottom-left corner of the source area

wWidth

Width of the area to copy

wHeight

Height of the area to copy

bBufferD

Destination buffer

Returns:

0 = Success

1 = Invalid source buffer

2 = Invalid destination buffer

3 = Destination buffer size is smaller than the source area

Created with the Personal Edition of HelpNDoc: Effortlessly upgrade your WinHelp HLP help files to CHM with HelpNDoc