| Home
| Previous
| Next
| Up

BitBltPattBuf

Copies pixels from one buffer into the currently active buffer, applying a mono 8x8 pattern

Declaration

void GA_bufferFuncs::BitBltPattBuf(
GA_buf *buf,
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

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
rop3 | ROP3 code for the copy (GA_rop3CodesType)

Description

This function copies a rectangular region from the source buffer to the active drawing surface, copying from (srcLeft, srcTop, srcLeft+width-1, srcTop+height-1) in the source buffer to (dstLeft, dstTop) in the active buffer. The specified rop3 code is used to combine the pixels in the active buffer, along the currently active 8x8 monochrome pattern.

See Also

BitBltBuf, BitBltColorPattBuf, SrcTransBltBuf, DstTransBltBuf, BitBltPlaneMaskedBuf, BitBltFxBuf, DrawRectBuf

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