![]() |
Device Attribute Constants |
Header: Quickdraw.h |
enum { interlacedDevice = 2, roundedDevice = 5, hasAuxMenuBar = 6, burstDevice = 7, ext32Device = 8, ramInit = 10, mainScreen = 11, allInit = 12, screenDevice = 13, noDriver = 14, screenActive = 15, hiliteBit = 7, pHiliteBit = 0, defQDColors = 127, RGBDirect = 16, baseAddr32 = 4 };
If this bit is set to 1, the graphics device supports block transfer.
If this bit is set to 1, the graphics device must be used in 32-bit mode.
If this bit is set to 1, the graphics device has been initialized from RAM.
If this bit is set to 1,the graphics device is the main screen.
If this bit is set to 1, all graphics devices were initialized fro scrn' resource.
If this bit is set to 1, the graphics device is a screen.
If this bit is set to 1, the GDevice structure has no driver.
If this bit is set to 1, the graphics device is active.
These constants are used in the attribute parameters of the SetDeviceAttribute and TestDeviceAttribute functions, and in the deviceFlags parameter of the DeviceLoopDrawingProcPtr callback. These constants represent the GDevice structures attributes, as bits in the gdFlags field.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)