BitBltColorPattBM

Copy a block of system memory to video memory with Bus Mastering, with a color pattern applied

Declaration

void NAPI GA_2DRenderFuncs::BitBltColorPattBM(
    void *srcAddr,
    N_int32 srcPhysAddr,
    N_int32 srcPitch,
    N_int32 srcLeft,
    N_int32 srcTop,
    N_int32 width,
    N_int32 height,
    N_int32 dstLeft,
    N_int32 dstTop,
    N_int32 rop3)

Prototype In

snap/graphics.h

Parameters

srcAddr

Address of source bitmap in system memory

srcPhysAddr

Physical address of source bitmap in system memory

srcPitch

Pitch of source bitmap in bytes

srcLeft

Left coordinate within source bitmap to copy

srcTop

Top coordinate within source bitmap 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

rop3

Microsoft ROP3 code for the copy (GA_rop3CodesType)

 

Description

This function is identical to the regular BitBltSys function, except that it also applies the currently active 8x8 color pattern to the destination. The source data, pattern data and destination data are combined together according to the value passed in the rop3 parameter.

See Also

BitBltColorPatt, BitBltColorPattLin, BitBltColorPattSys, SrcTransBlt, DstTransBlt

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