MGL_putBitmapPattSection
Draw a section of a lightweight bitmap at the specified location while applying a mono or color pattern.
Declaration
void MGLAPI MGL_putBitmapPattSection(
MGLDC *dc,
int left,
int top,
int right,
int bottom,
int dstLeft,
int dstTop,
const bitmap_t *bitmap,
int usePixMap,
int rop3)
Prototype In
mgraph.h
Parameters
dc |
Device context to display bitmap on |
left |
Left coordinate of section to draw |
top |
Top coordinate of section to draw |
right |
Right coordinate of section to draw |
bottom |
Bottom coordinate of section to draw |
dstLeft |
Left coordinate of destination of bitmap section |
dstTop |
Right coordinate for destination of bitmap section |
bitmap |
Bitmap to display |
usePixMap |
True to use color pixmap pattern, false for mono bitmap pattern |
rop3 |
ROP3 raster operation code to use during Blt (MGL_rop3CodesType) |
Description
Draws a section of lightweight bitmap at the specified location, 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.
See Also
MGL_loadBitmap, MGL_putBitmap, MGL_putBitmapSection, MGL_putBitmapSrcTrans, MGL_putBitmapSrcTransSection, MGL_putBitmapDstTrans, MGL_putBitmapDstTransSection, MGL_putBitmapMask, MGL_putBitmapPatt, MGL_putBitmapPattSection, MGL_putBitmapFx, MGL_putBitmapFxSection, MGL_stretchBitmap, MGL_stretchBitmapSection, MGL_stretchBitmapFx, MGL_stretchBitmapFxSection, MGL_putIcon
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com