DECLARE SUB DQBmPut (BYVAL Layer, BYVAL x, BYVAL y, BYVAL SpriteSeg,
BYVAL SpriteOff, BYVAL Flip)
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
Flip - Flip flag
none
This function works almost like DQBput, but it allows the user to draw sprites horizontally or vertically (or both them) flipped. The flip parameter tells DQBmPut how to flip the sprite: 0 means the sprite will be drawn as is, 1 that it'll look like as it was horizontally mirrored and 2 vertically mirrored. A value of 3 (1+2) means that both effects will be applied to the sprite. You can use the constants defined in DIRECTQB.BI to simplify your calls; see appendix A for details.