DQBsPut
SUB

Prototype

DECLARE SUB DQBsPut (BYVAL Layer, BYVAL x, BYVAL y, BYVAL SpriteSeg,
                     BYVAL SpriteOff, BYVAL NewWidth, BYVAL NewHeight)

Parameters

Layer - Layer where to draw the sprite

x - X position of upper left corner of the sprite

y - Y position of upper left corner of the sprite

SpriteSeg - Segment of the array holding the sprite data; use VARSEG

SpriteOff - Offset of the array holding the sprite data; use VARPTR

NewWidth - New sprite width in pixel units

NewHeight - New sprite height in pixel units

Returns

none

Description

DQBsPut works like DQBput, but allows to draw a scaled version of your sprite, by specifying its new width and height; the sprite data is not modified during this operation. This function also supports clipping and transparency.

Notes:

See DQBput, DQBfPut, DQBrPut and DQBbPut

Example

See DQBput example