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

BltMaskBitMapRastPort

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

Declaration

Source position: agraphics.pas line 2086

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