Blit from source bitmap to destination rastport with masking of source image.
Source position: agraphics.pas line 2277
procedure BltMaskBitMapRastPort( |
const srcBitMap: pBitMap; |
xSrc: LongInt; |
ySrc: LongInt; |
destRP: pRastPort; |
xDest: LongInt; |
yDest: LongInt; |
xSize: LongInt; |
ySize: LongInt; |
minterm: LongWord; |
const bltMask: pCHAR |
); |
srcBitMap |
|
A pointer to the source bitmap |
xSrc |
|
X offset into source bitmap |
ySrc |
|
Y offset into source bitmap |
destRP |
|
A pointer to the destination rastport |
xDest |
|
X offset into dest rastport |
yDest |
|
Y offset into dest rastport |
xSize |
|
Width of blit in pixels |
ySize |
|
Height of blit in rows |
minterm |
|
either (ABC or ABNC or ANBC) if copy source and blit thru mask or (ANBC) if invert source and blit thru mask |
bltMask |
|
A pointer to the single bit-plane mask, which must be the same size and dimensions as the planes of the source bitmap. |
Blits from source bitmap to position specified in destination rastport using bltmask to determine where source overlays destination, and minterm to determine whether to copy the source image "as is" or to "invert" the sense of the source image when copying. In either case, blit only occurs where the mask is non-zero.
|
Blit from source bitmap to destination rastport. |