|
|
|
|
BitBltPlaneMaskedBuf
Copies pixels from one buffer into the currently active buffer while stretching or shrinking to fit the destination
Declaration
void GA_bufferFuncs::BitBltPlaneMaskedBuf(
GA_buf *buf,
N_int32 srcLeft,
N_int32 srcTop,
N_int32 width,
N_int32 height,
N_int32 dstLeft,
N_int32 dstTop,
N_uint32 planeMask)
Prototype In
snap/graphics.h
Parameters
buf |
SNAP buffer to blit to the active surface |
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 |
planeMask |
8-bit plane mask to use for the copy |
Description
This function copies a rectangular region from the source buffer to the currently active buffer. This routine will copy a rectangular region from (srcLeft, srcTop, srcLeft+width-1, srcTop+height-1) in the source buffer to (dstLeft, dstTop) in the currently active buffer, using the specified plane mask. The plane mask is used to determine which bits in the destination pixels will be affected by the copy. Each bit in the plane mask is used to mask out a bit in the destination pixel values, and where a bit is a 1 the destination bit comes from the source pixel while where a bit is 0 the destination bit is left unchanged.
See Also
BitBltBuf, BitBltPattBuf, BitBltColorPattBuf, SrcTransBltBuf, DstTransBltBuf, BitBltFxBuf, DrawRectBuf
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com