MGL_ditherModes

Declaration

typedef enum {
MGL_DITHER_OFF,
MGL_DITHER_ON
} MGL_ditherModes

Prototype In

mgraph.h

Description

Defines the MGL dithering modes, used when blitting RGB images to 8, 15 and 16 bits per pixel device context. If dithering is enabled, the blit operation will dither the resulting image to produce the best quality. When dithering is disabled, the blit operation uses the closest color which has less quality but is faster.

Note: The closest color method is fastest when the destination device context is a 15 or 16 bits per pixel bitmap. However when the destination is an 8 bits per pixel device context, the dithering mode will usually be faster.

Note: Dithering is on by default in the MGL.

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com