MGL_putBitmapPatt

Draw a lightweight bitmap at the specified location while applying a mono or color pattern.

Declaration

void MGLAPI MGL_putBitmapPatt(
    MGLDC *dc,
    int x,
    int y,
    const bitmap_t *bitmap,
    int usePixMap,
    int rop3)

Prototype In

mgraph.h

Parameters

dc

Device context to display bitmap on

x

x coordinate to draw bitmap at

y

y coordinate to draw bitmap at

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 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