This article is from the Mac Programming FAQ, by Jon Watte firstname.lastname@example.org with numerous contributions by others.
_Gestalt lies under some versions of System 7; it says that non-color
machines HAVE color QuickDraw when you test using the
Instead, check the gestaltQuickdrawVersion selector, if it returns >=
gestalt8BitQuickdraw then you can safely use gestaltQuickdrawFeatures,
else you only have b/w QuickDraw.