Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

BltMaskBitMapRastPort

Blit from source bitmap to destination rastport with masking of source image.

Declaration

Source position: agraphics.pas line 2148

procedure BltMaskBitMapRastPort(

  SrcBitMap: PBitMap;

  xSrc: LongInt;

  ySrc: LongInt;

  DestRP: PRastPort;

  xDest: LongInt;

  yDest: LongInt;

  xSize: LongInt;

  ySize: LongInt;

  MinTerm: LongWord;

  bltMask: PByte

);

Arguments

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.

Description

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.

See also

BltBitMapRastPort

  

Blit from source bitmap to destination rastport.


Documentation generated on: 2021-07-30