XmQUICK | A closest distance algorithm is used to map image colors to the palette. No error correction is performed. Fast, but the resulting image quality depends on the distribution of the colors in the image.
XmBEST | Ordered dither using predefined error matrices. Offers the best balance between speed and quality but uses a lot of memory (512kb).
XmFAST | Simple ordered dither without error correction. This is the fastest method but uses a lot of memory (512kb).
XmNO_LINE | /* no underlines */
XmSINGLE_LINE | /* a single, solid, underline */
XmDOUBLE_LINE | /* a double, solid, underline */
XmSINGLE_DASHED_LINE | /* a single, dashed, underline */
XmDOUBLE_DASHED_LINE | /* a double, dashed, underline */
XmSLOW | A closest distance algorithm followed by Floyd-Steinberg error diffusion. Slowest method but highest quality.
XmDISABLED | disables palette mapping. This is the default setting.