|
1 f = Function(void, 'SetPort', |
|
2 (GrafPtr, 'thePort', InMode), |
|
3 ) |
|
4 functions.append(f) |
|
5 |
|
6 f = Function(CursHandle, 'GetCursor', |
|
7 (short, 'cursorID', InMode), |
|
8 ) |
|
9 functions.append(f) |
|
10 |
|
11 f = Function(void, 'SetCursor', |
|
12 (Cursor_ptr, 'crsr', InMode), |
|
13 ) |
|
14 functions.append(f) |
|
15 |
|
16 f = Function(void, 'ShowCursor', |
|
17 ) |
|
18 functions.append(f) |
|
19 |
|
20 f = Function(void, 'LineTo', |
|
21 (short, 'h', InMode), |
|
22 (short, 'v', InMode), |
|
23 ) |
|
24 functions.append(f) |
|
25 |
|
26 f = Function(void, 'SetRect', |
|
27 (Rect, 'r', OutMode), |
|
28 (short, 'left', InMode), |
|
29 (short, 'top', InMode), |
|
30 (short, 'right', InMode), |
|
31 (short, 'bottom', InMode), |
|
32 ) |
|
33 functions.append(f) |
|
34 |
|
35 f = Function(void, 'OffsetRect', |
|
36 (Rect, 'r', InOutMode), |
|
37 (short, 'dh', InMode), |
|
38 (short, 'dv', InMode), |
|
39 ) |
|
40 functions.append(f) |
|
41 |
|
42 f = Function(void, 'InsetRect', |
|
43 (Rect, 'r', InOutMode), |
|
44 (short, 'dh', InMode), |
|
45 (short, 'dv', InMode), |
|
46 ) |
|
47 functions.append(f) |
|
48 |
|
49 f = Function(void, 'UnionRect', |
|
50 (Rect_ptr, 'src1', InMode), |
|
51 (Rect_ptr, 'src2', InMode), |
|
52 (Rect, 'dstRect', OutMode), |
|
53 ) |
|
54 functions.append(f) |
|
55 |
|
56 f = Function(Boolean, 'EqualRect', |
|
57 (Rect_ptr, 'rect1', InMode), |
|
58 (Rect_ptr, 'rect2', InMode), |
|
59 ) |
|
60 functions.append(f) |
|
61 |
|
62 f = Function(void, 'FrameRect', |
|
63 (Rect_ptr, 'r', InMode), |
|
64 ) |
|
65 functions.append(f) |
|
66 |
|
67 f = Function(void, 'InvertRect', |
|
68 (Rect_ptr, 'r', InMode), |
|
69 ) |
|
70 functions.append(f) |
|
71 |
|
72 f = Function(void, 'FillRect', |
|
73 (Rect_ptr, 'r', InMode), |
|
74 (Pattern_ptr, 'pat', InMode), |
|
75 ) |
|
76 functions.append(f) |
|
77 |
|
78 f = Function(void, 'CopyRgn', |
|
79 (RgnHandle, 'srcRgn', InMode), |
|
80 (RgnHandle, 'dstRgn', InMode), |
|
81 ) |
|
82 functions.append(f) |
|
83 |
|
84 f = Function(void, 'SetRectRgn', |
|
85 (RgnHandle, 'rgn', InMode), |
|
86 (short, 'left', InMode), |
|
87 (short, 'top', InMode), |
|
88 (short, 'right', InMode), |
|
89 (short, 'bottom', InMode), |
|
90 ) |
|
91 functions.append(f) |
|
92 |
|
93 f = Function(void, 'OffsetRgn', |
|
94 (RgnHandle, 'rgn', InMode), |
|
95 (short, 'dh', InMode), |
|
96 (short, 'dv', InMode), |
|
97 ) |
|
98 functions.append(f) |
|
99 |
|
100 f = Function(void, 'UnionRgn', |
|
101 (RgnHandle, 'srcRgnA', InMode), |
|
102 (RgnHandle, 'srcRgnB', InMode), |
|
103 (RgnHandle, 'dstRgn', InMode), |
|
104 ) |
|
105 functions.append(f) |
|
106 |
|
107 f = Function(void, 'XorRgn', |
|
108 (RgnHandle, 'srcRgnA', InMode), |
|
109 (RgnHandle, 'srcRgnB', InMode), |
|
110 (RgnHandle, 'dstRgn', InMode), |
|
111 ) |
|
112 functions.append(f) |
|
113 |
|
114 f = Function(Boolean, 'EqualRgn', |
|
115 (RgnHandle, 'rgnA', InMode), |
|
116 (RgnHandle, 'rgnB', InMode), |
|
117 ) |
|
118 functions.append(f) |
|
119 |
|
120 f = Function(void, 'FrameRgn', |
|
121 (RgnHandle, 'rgn', InMode), |
|
122 ) |
|
123 functions.append(f) |
|
124 |
|
125 f = Function(void, 'PaintRgn', |
|
126 (RgnHandle, 'rgn', InMode), |
|
127 ) |
|
128 functions.append(f) |
|
129 |
|
130 f = Function(void, 'InvertRgn', |
|
131 (RgnHandle, 'rgn', InMode), |
|
132 ) |
|
133 functions.append(f) |
|
134 |
|
135 f = Function(void, 'FillRgn', |
|
136 (RgnHandle, 'rgn', InMode), |
|
137 (Pattern_ptr, 'pat', InMode), |
|
138 ) |
|
139 functions.append(f) |
|
140 |
|
141 f = Function(Boolean, 'GetPixel', |
|
142 (short, 'h', InMode), |
|
143 (short, 'v', InMode), |
|
144 ) |
|
145 functions.append(f) |
|
146 |
|
147 f = Function(Boolean, 'PtInRect', |
|
148 (Point, 'pt', InMode), |
|
149 (Rect_ptr, 'r', InMode), |
|
150 ) |
|
151 functions.append(f) |
|
152 |
|
153 f = Function(void, 'DrawText', |
|
154 (TextThingie, 'textBuf', InMode), |
|
155 (short, 'firstByte', InMode), |
|
156 (short, 'byteCount', InMode), |
|
157 ) |
|
158 functions.append(f) |