MGL_putBufferPatt
Copy an offscreen buffer to the specified location with an optional pattern.
Declaration
void MGLAPI MGL_putBufferPatt(
MGLDC *dc,
int x,
int y,
MGLBUF *buf,
int usePixMap,
int rop3)
Prototype In
mgraph.h
Parameters
dc |
Device context to copy buffer to |
x |
x coordinate to copy buffer to |
y |
y coordinate to copy buffer to |
buf |
Buffer to copy |
usePixMap |
True to use color pixmap pattern, false for mono bitmap pattern |
rop3 |
ROP3 raster operation code to use during Blt (MGL_rop3CodesType) |
Description
Copies an offscreen buffer to the specified location on the device context, while applying either a mono bitmap pattern or a color pixmap pattern to the data with a ternary raster operation code (ROP3). If the usePixMap parameter is set to true, the current pixmap pattern set by MGL_setPenPixmapPattern will be applied as pattern data, otherwise the current monochrome bitmap pattern set by MGL_setPenBitmapPattern will be applied.
Note: This function will fail if you attempt to copy a buffer to a device context that is not the device context that the original buffer was allocated for.
See Also
MGL_copyToBuffer, MGL_copyBitmapToBuffer, MGL_updateBufferCache, MGL_updateFromBufferCache, MGL_putBuffer, MGL_putBufferSection, MGL_putBufferSrcTrans, MGL_putBufferSrcTransSection, MGL_putBufferDstTrans, MGL_putBufferDstTransSection, MGL_putBufferPatt, MGL_putBufferPattSection, MGL_putBufferFx, MGL_putBufferFxSection, MGL_stretchBuffer, MGL_stretchBufferSection, MGL_stretchBufferFx, MGL_stretchBufferFxSection
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com