![]() |
gestaltQuickdrawVersion |
Header: Gestalt.h |
enum { gestaltQuickdrawVersion = 'qd ', gestaltOriginalQD = 0, gestalt8BitQD = 256, gestalt32BitQD = 512, gestalt32BitQD11 = 513, gestalt32BitQD12 = 544, gestalt32BitQD13 = 560, gestaltAllegroQD = 592 };
The Gestalt selector you pass to determine what version of QuickDraw is present. For QuickDraw Text, the Gestalt selector you pass to determine what version of QuickDraw Text is present.
The version of QuickDraw is encoded as a revision number in the low-order word of the return value. The high-order byte represents the major revision number, and the low-order byte represents the minor revision number. For example, version 1.3 of 32-Bit QuickDraw represents QuickDraw revision 2.3; its response value is $0230.
Values having a major revision number of 1 or 2 indicate that Color QuickDraw is available, in either the 8-bit or 32-bit version. These results do not, however, indicate whether a color monitor is attached to the system. You must use high-level QuickDraw functions to obtain that information.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)