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

BltBitMapAlpha

Blend a rectangular region of pixels in a BitMap. (v51)

Declaration

Source position: cybergraphics.pas line 328

function BltBitMapAlpha(

  srcBitMap: PBitMap;

  xSrc: LongInt;

  ySrc: LongInt;

  destBitMap: PBitMap;

  xDest: LongInt;

  yDest: LongInt;

  xSize: LongInt;

  ySize: LongInt;

  tagList: PTagItem

):LongWord;

Arguments

srcBitMap

  

the BitMap(s) containing the source rectangle

xSrc

  

Left corner of the source rectangle. Valid range is positive signed integer such that the raster word's offset 0..(32767-Size)

ySrc

  

Top corner of the source rectangle. Valid range is positive signed integer such that the raster word's offset 0..(32767-Size)

destBitMap

  

the BitMap(s) containing the destination rectangle

xDest

  

the x coordinate of the upper left corner of the destination for the rectangle. Valid range is as for Src.

yDest

  

the y coordinate of the upper left corner of the destination for the rectangle. Valid range is as for Src.

xSize

  

Width of the rectangle to be moved.

ySize

  

Height of the rectangle to be moved.

tagList

  

tags for options

Description

Blend a rectangular region of pixels in a BitMap.

Available Tags

BLTBMA_DESTALPHAVALUE
Determines what happens to the destination pixel alpha component. DESTALPHAVALUE_UNDEFINED, DESTALPHAVALUE_ONE, DESTALPHAVALUE_USESOURCE, DESTALPHAVALUE_USEDEST
BLTBMA_MIXLEVEL
Set the global 32bit left-justified alpha mix level, defaults to $80808080 (50%) if source alpha is not used, otherwise $FFFFFFFF (100%)
BLTBMA_USESOURCEALPHA
Use the supplied per pixel source alpha value if a non-zero data value is passed, disabled by default

Uses hardware acceleration on dedicated hardware

Uses Altivec enabled code if hardware acceleration is not available but an Altivec unit is available

See also

ClipBlit

  

Calls BltBitMap() after accounting for windows

BltBitMap

  

Move a rectangular region of bits in a BitMap.


Documentation generated on: 2021-07-30