annotate Mac/Lib/toolbox/QuickDraw.py @ 5817:48b94de85bf3 legacy-trunk

Extensive changes by AMK.
author Guido van Rossum <guido@python.org>
date Thu, 17 Jul 1997 16:29:42 +0000
parents 1640e3559b86
children 0f4193bd08d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3928
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
1 # Generated from 'flap:CW9 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h'
2580
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
2
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
3 invalColReq = -1
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
4 srcCopy = 0
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
5 srcOr = 1
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
6 srcXor = 2
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
7 srcBic = 3
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
8 notSrcCopy = 4
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
9 notSrcOr = 5
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
10 notSrcXor = 6
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
11 notSrcBic = 7
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
12 patCopy = 8
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
13 patOr = 9
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
14 patXor = 10
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
15 patBic = 11
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
16 notPatCopy = 12
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
17 notPatOr = 13
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
18 notPatXor = 14
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
19 notPatBic = 15
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
20 grayishTextOr = 49
2723
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
21 hilitetransfermode = 50
2580
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
22 blend = 32
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
23 addPin = 33
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
24 addOver = 34
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
25 subPin = 35
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
26 addMax = 37
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
27 adMax = 37
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
28 subOver = 38
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
29 adMin = 39
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
30 ditherCopy = 64
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
31 transparent = 36
2723
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
32 italicBit = 1
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
33 ulineBit = 2
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
34 outlineBit = 3
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
35 shadowBit = 4
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
36 condenseBit = 5
a0fc94b3bb21 Ported to Universal Header 2.0.1f (i.e. CW6)
Jack Jansen <jack.jansen@cwi.nl>
parents: 2721
diff changeset
37 extendBit = 6
2580
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
38 normalBit = 0
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
39 inverseBit = 1
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
40 redBit = 4
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
41 greenBit = 3
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
42 blueBit = 2
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
43 cyanBit = 8
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
44 magentaBit = 7
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
45 yellowBit = 6
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
46 blackBit = 5
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
47 blackColor = 33
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
48 whiteColor = 30
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
49 redColor = 205
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
50 greenColor = 341
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
51 blueColor = 409
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
52 cyanColor = 273
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
53 magentaColor = 137
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
54 yellowColor = 69
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
55 picLParen = 0
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
56 picRParen = 1
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
57 clutType = 0
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
58 fixedType = 1
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
59 directType = 2
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
60 gdDevType = 0
3267
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
61 interlacedDevice = 2
2721
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
62 roundedDevice = 5
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
63 hasAuxMenuBar = 6
2580
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
64 burstDevice = 7
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
65 ext32Device = 8
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
66 ramInit = 10
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
67 mainScreen = 11
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
68 allInit = 12
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
69 screenDevice = 13
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
70 noDriver = 14
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
71 screenActive = 15
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
72 hiliteBit = 7
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
73 pHiliteBit = 0
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
74 defQDColors = 127
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
75 RGBDirect = 16
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
76 baseAddr32 = 4
3267
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
77 sysPatListID = 0
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
78 iBeamCursor = 1
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
79 crossCursor = 2
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
80 plusCursor = 3
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
81 watchCursor = 4
3928
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
82 kQDGrafVerbFrame = 0
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
83 kQDGrafVerbPaint = 1
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
84 kQDGrafVerbErase = 2
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
85 kQDGrafVerbInvert = 3
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
86 kQDGrafVerbFill = 4
2721
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
87 singleDevicesBit = 0
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
88 dontMatchSeedsBit = 1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
89 allDevicesBit = 2
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
90 singleDevices = 1 << singleDevicesBit
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
91 dontMatchSeeds = 1 << dontMatchSeedsBit
2580
91bc907b1e63 first cut at the whole quickdraw.h header file ...
Guido van Rossum <guido@python.org>
parents:
diff changeset
92 allDevices = 1 << allDevicesBit
2721
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
93 kNoConstraint = 0
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
94 kVerticalConstraint = 1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
95 kHorizontalConstraint = 2
3267
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
96 kCursorImageMajorVersion = 0x0001
8e733f92edc0 - Fixed handling of InsetRect, OffsetRect, MapRect
Jack Jansen <jack.jansen@cwi.nl>
parents: 3006
diff changeset
97 kCursorImageMinorVersion = 0x0000
3928
1640e3559b86 Regenerated from CW9 includes (only QuickDraw really got a few new values)
Jack Jansen <jack.jansen@cwi.nl>
parents: 3314
diff changeset
98 # Generated from 'flap:CW9 Gold:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h'
2721
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
99
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
100 leftCaret = 0
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
101 rightCaret = -1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
102 hilite = 1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
103 smLeftCaret = 0
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
104 smRightCaret = -1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
105 smHilite = 1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
106 onlyStyleRun = 0
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
107 leftStyleRun = 1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
108 rightStyleRun = 2
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
109 middleStyleRun = 3
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
110 smOnlyStyleRun = 0
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
111 smLeftStyleRun = 1
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
112 smRightStyleRun = 2
364d4a524cec Trying again to check it in. Changes to:
Jack Jansen <jack.jansen@cwi.nl>
parents: 2580
diff changeset
113 smMiddleStyleRun = 3