Carbon


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
};

Constant descriptions

interlacedDevice
roundedDevice
hasAuxMenuBar
burstDevice

If this bit is set to 1, the graphics device supports block transfer.

ext32Device

If this bit is set to 1, the graphics device must be used in 32-bit mode.

ramInit

If this bit is set to 1, the graphics device has been initialized from RAM.

mainScreen

If this bit is set to 1,the graphics device is the main screen.

allInit

If this bit is set to 1, all graphics devices were initialized fro scrn' resource.

screenDevice

If this bit is set to 1, the graphics device is a screen.

noDriver

If this bit is set to 1, the GDevice structure has no driver.

screenActive

If this bit is set to 1, the graphics device is active.

hiliteBit
pHiliteBit
defQDColors
RGBDirect
baseAddr32

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 structure’s attributes, as bits in the gdFlags field.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)