|
|
|
|
MGL_putIcon
Draw an icon at the specified location.
Declaration
void MGLAPI MGL_putIcon(
MGLDC *dc,
int x,
int y,
const icon_t *icon)
Prototype In
mgraph.h
Parameters
dc |
Device context to draw icon on |
x |
x coordinate to draw icon at |
y |
y coordinate to draw icon at |
icon |
Icon to display |
Description
Draws an icon at the specified location on the current device context. The icon may be in any color format, and will be translated as necessary to the color format of the display device context. The icon is drawn by punching a black hole in the background with the icon mask, and then OR'ing in the image bitmap for the icon.
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