MGL_writeModeType
Declaration
typedef enum {
MGL_R2_BLACK,
MGL_R2_NOTMERGESRC,
MGL_R2_MASKNOTSRC,
MGL_R2_NOTCOPYSRC,
MGL_R2_MASKSRCNOT,
MGL_R2_NOT,
MGL_R2_XORSRC,
MGL_R2_NOTMASKSRC,
MGL_R2_MASKSRC,
MGL_R2_NOTXORSRC,
MGL_R2_NOP,
MGL_R2_MERGENOTSRC,
MGL_R2_COPYSRC,
MGL_R2_MERGESRCNOT,
MGL_R2_MERGESRC,
MGL_R2_WHITE,
MGL_REPLACE_MODE = MGL_R2_COPYSRC,
MGL_AND_MODE =
MGL_R2_MASKSRC,
MGL_OR_MODE =
MGL_R2_MERGESRC,
MGL_XOR_MODE =
MGL_R2_XORSRC
} MGL_writeModeType
Prototype In
mgraph.h
Description
Defines the logical write mode operation codes for all drawing functions. The set of mix codes is the standard Microsoft Raster Operation (ROP2) codes between two values. We define the MGL ROP2 codes as being between the source and destination pixels for blt's, between the foreground or background color and the destination pixels for solid and mono pattern fills and between the pattern pixels and the destination pixels for color pattern fills.
Members
MGL_R2_BLACK |
0 |
MGL_R2_NOTMERGESRC |
DSon |
MGL_R2_MASKNOTSRC |
DSna |
MGL_R2_NOTCOPYSRC |
Sn |
MGL_R2_MASKSRCNOT |
SDna |
MGL_R2_NOT |
Dn |
MGL_R2_XORSRC |
DSx |
MGL_R2_NOTMASKSRC |
DSan |
MGL_R2_MASKSRC |
DSa |
MGL_R2_NOTXORSRC |
DSxn |
MGL_R2_NOP |
D |
MGL_R2_MERGENOTSRC |
DSno |
MGL_R2_COPYSRC |
S |
MGL_R2_MERGESRCNOT |
SDno |
MGL_R2_MERGESRC |
DSo |
MGL_R2_WHITE |
1 |
MGL_REPLACE_MODE |
Replace mode |
MGL_AND_MODE |
AND mode |
MGL_OR_MODE |
OR mode |
MGL_XOR_MODE |
XOR mode |
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com