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