yellowColor
Type Definitions
BitMap used in CopyBits, CopyMask, et.al
Bits16 used in Cursor structure
ColorSpec entry in a color table
ColorTable holds complete set of colors in use for a particular gDevice
CProcRec linked list of custom complement procedures used to find the
complement of a specified color
Cursor mouse-pointer data type.
GrafPort GrafPtr, WindowPtr, DialogPtr point to this primary struct
ITab inverse table
Pattern 8-byte data struct. See Standard Patterns
Picture variable length data structure used in DrawPicture, et.al
Polygon variable length data structure used in FramePoly, et.al
QDProcs holds addresses of Quickdraw "bottleneck" routines
Region variable-length data structure, used in SetClip, et.al
ReqListRec Used by SaveEntries and RestoreEntries to build and
restore a ColorTable
RGBColor CGrafPort's fundamental building block for drawing in color
SProcRec linked list of custom search procedures for a graphics device
CCrsr color cursor data structure
CGrafPort color grafport data structure
CIcon color icon data structure
ColorSpec entry in a color table
ColorTable holds complete set of colors in use for a particular gDevice
CQDProcs record containing function pointers called to handle unknown
'PICT' opcodes.
GrafVars structure allocated by OpenCPort and initialized by
MatchRec Used to customize SeedCFill
Picture variable length structure that includes any sequence of
drawing commands
PixMap Color QuickDraw data structure used to do drawing
PixPat Color QuickDraw pixel pattern that replaces the monochrome
pattern
RGBColor specifies red, blue and green components of a color
GDevice contains info needed to communicate with a graphics device
OpenCPicParams structure used in OpenCPicture
typedef unsigned char GrafVerb;
typedef unsigned char PixelType;
typedef unsigned long DeviceLoopFlags;
typedef Byte QDByte;
typedef QDByte *QDPtr; used in BitMap and QDProcs
typedef QDByte **QDHandle;
typedef short QDErr;
typedef pascal Boolean (*ColorSearchProcPtr)(RGBColor *rgb, long
* position);
typedef pascal Boolean (*ColorComplementProcPtr)(RGBColor *rgb);
typedef pascal void (*DeviceLoopDrawingProcPtr)( short depth, short
deviceFlags, GDHandle targetDevice, long
userData);
Constants
Transfer Modes used in TextMode, PenMode, CopyBits, et.al
Text Styles used in TextFace to specify bold, italic, etc.
invalColReq -1 Invalid color table request
picLParen 0 standard dataKind codes used in PicComment
picRParen 1
frame 0 GrafVerb data type; passed to Quickdraw
bottleneck procs
paint 1 See SetStdProcs, StdPoly, etc. for related
information
erase 2
invert 3
fill 4
RGBDirect 16 16 & 32 bits/pixel pixelType value
grayishTextOr 49 draw with grayed text
blackColor 33 (0x020) used in "Old-Model" Quickdraw color
functions...
whiteColor 30 (0x01E) ...ForeColor and BackColor.
redColor 205 (0x0CD) These constants are formulated from values
of...
greenColor 341 (0x155) ...Quickdraw internal color mapping scheme.
blueColor 409 (0x199)
cyanColor 273 (0x111)
magentaColor 137 (0x089)
yellowColor 69 (0x045)
normalBit 0 (0x001) Quickdraw internal color mapping scheme
inverseBit 1 (0x002)
redBit 4 (0x010) Red/Green/Blue additive mapping
greenBit 3 (0x008)
blueBit 2 (0x004)
cyanBit 8 (0x100) Cyan/Yellow/Magenta/Black subtractive
mapping
yellowBit 6 (0x040)
magentaBit 7 (0x080)
blackBit 5 (0x020)
minSeed 1023 minimum seed value for ctSeed
Arithmetic transfer modes
blend 32
addPin 33
addOver 34
subPin 35
addMax 37
adMax 37
subOver 38
adMin 39
ditherCopy 64 dithering flag for CopyBits
Transparent mode constant
transparent 36
Text mask constant
mask 64
Highlight constants
hilite 50
hiliteBit 7 flag bit in HiliteMode (lowMem flag)
pHiliteBit 0 flag bit in HiliteMode used with BitClr procedure
Constant for resource IDs
defQDColors 127
pmVersion values
baseAddr32 4 pixmap base address is 32-bit address
Values for GDType
clutType 0 0 if lookup table
fixedType 1 1 if fixed table
directType 2 2 if direct values
Bit assigments for gdFlags
gdDevType 0 0 = monochrome, 1 = color
burstDevice 7
ext32Device 8
ramInit 10 set if device has been initialized from RAM
mainScreen 11 set if device is main screen
allInit 12 set if devices were initialized from a 'srcn'
resource
screenDevice 13 set if device is a screen device
noDriver 14 set if device has no driver
screenActive 15 set if device is active
Values for PixelType
chunky 0
chunkyPlanar 1
planar 2
Values for DeviceLoopFlags
singleDevice 1 << singleDevicesBit
dontMatchSeeds 1 << dontMatchSeedsBit
allDevices 1 << allDevicesBit
singleDevicesBit 0
dontMatchSeedsBit 1
AllDevicesBit 2
Do not use low memory global variables that are not documented.
No undocumented location below the system heap is guaranteed to be available
for use in future systems.
Variables
Name Address Size Description
Quickdraw globals (off A5)
thePort 0x00000000 4 GrafPtr A5(0)
white 0xFFFFFFF8 8 Pattern A5(-8)
black 0xFFFFFFF0 8 Pattern A5(-16)
gray 0xFFFFFFE8 8 Pattern A5(-24)
ltGray 0xFFFFFFE0 8 Pattern A5(-32)
dkGray 0xFFFFFFD8 8 Pattern A5(-40)
arrow 0xFFFFFF94 68 Cursor A5(-108)
screenBits 0xFFFFFF86 14 BitMap A5(-122)
randSeed 0xFFFFFF82 4 long A5(-126)
Low memory globals
ScrVRes 0x0102 2 vertical dots/inch
ScrHRes 0x0104 2 horizontal dots/inch
ScreenRow 0x0106 2 rowBytes of screen
RndSeed 0x0156 4 random number seed
ScrnBase 0x0824 4 Ptr start of video memory
CrsrPin 0x0834 8 Rect cursor stays in this rect (global coords)
GrayRgn 0x09EE 4 RgnHandle defines rounded-corner desktop and
includes visible area of multiple screens
HiliteMode 0x938 1 contains bit used to toggle the background and highlight
colors
HiliteRGB 0x0DA0 Default hilight color for the system
QDColors 0x028E 2 Default Quickdraw colors
DeviceList 0x08A8 4 hande to the first element in the device list
GrayRgn 0x09EE 4 handle to region drawn as desktop
TheGDevice 0x0CC8 4 handle to current active device
MainDevice 0x08A4 4 handle to the current main device