BitBlt

Copy a block of video memory to another location in video memory.

Declaration

void NAPI GA_2DRenderFuncs::BitBlt(
    N_int32 srcLeft,
    N_int32 srcTop,
    N_int32 width,
    N_int32 height,
    N_int32 dstLeft,
    N_int32 dstTop,
    N_int32 mix)

Prototype In

snap/graphics.h

Parameters

srcLeft

Left coordinate of the source rectangle to copy

srcTop

Top coordinate of the source rectangle to copy

width

Width of the rectangle in pixels

height

Height of the rectangle in scanlines

dstLeft

Left coordinate of destination

dstTop

Top coordinate of destination

mix

Mix code for the copy (GA_mixCodesType)

 

Description

This function copies a rectangular region of video memory from one location to another. This routine will copy a rectangular region of video memory from (srcLeft, srcTop, srcLeft+width-1, srcTop+height-1) to (dstLeft, dstTop) within video memory with the specified mix, and will also correctly handle cases of overlapping regions in video memory. The mix code will be used to combine the source bitmap data with the pixels in the destination bitmap.

See Also

BitBltLin, BitBltSys, BitBltBM, SrcTransBlt, DstTransBlt, BitBltFx

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com