ADC Home > Reference Library > Technical Q&As > Legacy Documents > Graphics & Imaging >

Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Text Mask Mode and QuickDraw

Q: The "Text Mask Mode" section on p. 3-26 of Inside Macintosh: Text describes a constant "mask" which is supposed to allow one to apply only the glyph portion of the font to the destination. This constant seems to be missing from Universal Interfaces 3.1. Why?

A: The value for the "mask" constant can be found in the Macintosh Toolbox Assistant. Unfortunately, it is defined as 64, which collides with the value for ditherCopy. After some investigations, it has been determined that the "mask" constant has limited support in recent versions of the Mac OS. Therefore, with the release of Mac OS 8.5, Apple will no longer support the "mask" mode. We recommend that any developer who requires the "mask" mode functionality use an offscreen with BitmapToRegion() and CopyBits() instead.

[Sep 07 1998]

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.