DECLARE SUB DQBsPut (BYVAL Layer, BYVAL x, BYVAL y, BYVAL SpriteSeg,
BYVAL SpriteOff, BYVAL NewWidth, BYVAL NewHeight)
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
none
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.
See DQBput example