DECLARE SUB DQBtPut (BYVAL Layer, BYVAL x, BYVAL y, BYVAL SpriteSeg,
BYVAL SpriteOff, BYVAL BitMode)
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
BitMode - Specifies which bitwise operation to perform
none
As normal DQBput, this routine draws a sprite on the given layer; but DQBtPut allows you to apply a specified bitwise operation between each pixel of your sprite and the background. Allowed modes are AND, OR and XOR, represented by the numbers 1, 2 and 3 (you can use the BIT.AND, BIT.OR and BIT.XOR constants here - see appendix A for a complete list of DQB constants). This function supports both transparency and clipping.
none