blob: 975e43801446ff4320806fb9a1b7906e185fada5 [file] [log] [blame]
Guido van Rossume56db431995-03-19 22:49:50 +00001# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:QuickDraw.h'
2
3f = Function(void, 'OpenPort',
4 (GrafPtr, 'port', InMode),
5)
6functions.append(f)
7
8f = Function(void, 'InitPort',
9 (GrafPtr, 'port', InMode),
10)
11functions.append(f)
12
13f = Function(void, 'ClosePort',
14 (GrafPtr, 'port', InMode),
15)
16functions.append(f)
17
18f = Function(void, 'SetPort',
19 (GrafPtr, 'port', InMode),
20)
21functions.append(f)
22
23f = Function(void, 'GetPort',
24 (GrafPtr, 'port', OutMode),
25)
26functions.append(f)
27
28f = Function(void, 'GrafDevice',
29 (short, 'device', InMode),
30)
31functions.append(f)
32
33f = Function(void, 'PortSize',
34 (short, 'width', InMode),
35 (short, 'height', InMode),
36)
37functions.append(f)
38
39f = Function(void, 'MovePortTo',
40 (short, 'leftGlobal', InMode),
41 (short, 'topGlobal', InMode),
42)
43functions.append(f)
44
45f = Function(void, 'SetOrigin',
46 (short, 'h', InMode),
47 (short, 'v', InMode),
48)
49functions.append(f)
50
51f = Function(void, 'SetClip',
52 (RgnHandle, 'rgn', InMode),
53)
54functions.append(f)
55
56f = Function(void, 'GetClip',
57 (RgnHandle, 'rgn', InMode),
58)
59functions.append(f)
60
61f = Function(void, 'ClipRect',
62 (Rect_ptr, 'r', InMode),
63)
64functions.append(f)
65
66f = Function(void, 'InitCursor',
67)
68functions.append(f)
69
70f = Function(void, 'HideCursor',
71)
72functions.append(f)
73
74f = Function(void, 'ShowCursor',
75)
76functions.append(f)
77
78f = Function(void, 'ObscureCursor',
79)
80functions.append(f)
81
82f = Function(void, 'HidePen',
83)
84functions.append(f)
85
86f = Function(void, 'ShowPen',
87)
88functions.append(f)
89
90f = Function(void, 'GetPen',
91 (Point, 'pt', InOutMode),
92)
93functions.append(f)
94
95f = Function(void, 'PenSize',
96 (short, 'width', InMode),
97 (short, 'height', InMode),
98)
99functions.append(f)
100
101f = Function(void, 'PenMode',
102 (short, 'mode', InMode),
103)
104functions.append(f)
105
106f = Function(void, 'PenNormal',
107)
108functions.append(f)
109
110f = Function(void, 'MoveTo',
111 (short, 'h', InMode),
112 (short, 'v', InMode),
113)
114functions.append(f)
115
116f = Function(void, 'Move',
117 (short, 'dh', InMode),
118 (short, 'dv', InMode),
119)
120functions.append(f)
121
122f = Function(void, 'LineTo',
123 (short, 'h', InMode),
124 (short, 'v', InMode),
125)
126functions.append(f)
127
128f = Function(void, 'Line',
129 (short, 'dh', InMode),
130 (short, 'dv', InMode),
131)
132functions.append(f)
133
134f = Function(void, 'TextFont',
135 (short, 'font', InMode),
136)
137functions.append(f)
138
139f = Function(void, 'TextFace',
140 (short, 'face', InMode),
141)
142functions.append(f)
143
144f = Function(void, 'TextMode',
145 (short, 'mode', InMode),
146)
147functions.append(f)
148
149f = Function(void, 'TextSize',
150 (short, 'size', InMode),
151)
152functions.append(f)
153
154f = Function(void, 'SpaceExtra',
155 (Fixed, 'extra', InMode),
156)
157functions.append(f)
158
159f = Function(void, 'DrawChar',
160 (short, 'ch', InMode),
161)
162functions.append(f)
163
164f = Function(void, 'DrawString',
165 (ConstStr255Param, 's', InMode),
166)
167functions.append(f)
168
169f = Function(void, 'DrawText',
170 (TextThingie, 'textBuf', InMode),
171 (short, 'firstByte', InMode),
172 (short, 'byteCount', InMode),
173)
174functions.append(f)
175
176f = Function(short, 'CharWidth',
177 (short, 'ch', InMode),
178)
179functions.append(f)
180
181f = Function(short, 'StringWidth',
182 (ConstStr255Param, 's', InMode),
183)
184functions.append(f)
185
186f = Function(short, 'TextWidth',
187 (TextThingie, 'textBuf', InMode),
188 (short, 'firstByte', InMode),
189 (short, 'byteCount', InMode),
190)
191functions.append(f)
192
193f = Function(void, 'ForeColor',
194 (long, 'color', InMode),
195)
196functions.append(f)
197
198f = Function(void, 'BackColor',
199 (long, 'color', InMode),
200)
201functions.append(f)
202
203f = Function(void, 'ColorBit',
204 (short, 'whichBit', InMode),
205)
206functions.append(f)
207
208f = Function(void, 'SetRect',
209 (Rect, 'r', OutMode),
210 (short, 'left', InMode),
211 (short, 'top', InMode),
212 (short, 'right', InMode),
213 (short, 'bottom', InMode),
214)
215functions.append(f)
216
217f = Function(void, 'OffsetRect',
218 (Rect, 'r', OutMode),
219 (short, 'dh', InMode),
220 (short, 'dv', InMode),
221)
222functions.append(f)
223
224f = Function(void, 'InsetRect',
225 (Rect, 'r', OutMode),
226 (short, 'dh', InMode),
227 (short, 'dv', InMode),
228)
229functions.append(f)
230
231f = Function(Boolean, 'SectRect',
232 (Rect_ptr, 'src1', InMode),
233 (Rect_ptr, 'src2', InMode),
234 (Rect, 'dstRect', OutMode),
235)
236functions.append(f)
237
238f = Function(void, 'UnionRect',
239 (Rect_ptr, 'src1', InMode),
240 (Rect_ptr, 'src2', InMode),
241 (Rect, 'dstRect', OutMode),
242)
243functions.append(f)
244
245f = Function(Boolean, 'EqualRect',
246 (Rect_ptr, 'rect1', InMode),
247 (Rect_ptr, 'rect2', InMode),
248)
249functions.append(f)
250
251f = Function(Boolean, 'EmptyRect',
252 (Rect_ptr, 'r', InMode),
253)
254functions.append(f)
255
256f = Function(void, 'FrameRect',
257 (Rect_ptr, 'r', InMode),
258)
259functions.append(f)
260
261f = Function(void, 'PaintRect',
262 (Rect_ptr, 'r', InMode),
263)
264functions.append(f)
265
266f = Function(void, 'EraseRect',
267 (Rect_ptr, 'r', InMode),
268)
269functions.append(f)
270
271f = Function(void, 'InvertRect',
272 (Rect_ptr, 'r', InMode),
273)
274functions.append(f)
275
276f = Function(void, 'FrameOval',
277 (Rect_ptr, 'r', InMode),
278)
279functions.append(f)
280
281f = Function(void, 'PaintOval',
282 (Rect_ptr, 'r', InMode),
283)
284functions.append(f)
285
286f = Function(void, 'EraseOval',
287 (Rect_ptr, 'r', InMode),
288)
289functions.append(f)
290
291f = Function(void, 'InvertOval',
292 (Rect_ptr, 'r', InMode),
293)
294functions.append(f)
295
296f = Function(void, 'FrameRoundRect',
297 (Rect_ptr, 'r', InMode),
298 (short, 'ovalWidth', InMode),
299 (short, 'ovalHeight', InMode),
300)
301functions.append(f)
302
303f = Function(void, 'PaintRoundRect',
304 (Rect_ptr, 'r', InMode),
305 (short, 'ovalWidth', InMode),
306 (short, 'ovalHeight', InMode),
307)
308functions.append(f)
309
310f = Function(void, 'EraseRoundRect',
311 (Rect_ptr, 'r', InMode),
312 (short, 'ovalWidth', InMode),
313 (short, 'ovalHeight', InMode),
314)
315functions.append(f)
316
317f = Function(void, 'InvertRoundRect',
318 (Rect_ptr, 'r', InMode),
319 (short, 'ovalWidth', InMode),
320 (short, 'ovalHeight', InMode),
321)
322functions.append(f)
323
324f = Function(void, 'FrameArc',
325 (Rect_ptr, 'r', InMode),
326 (short, 'startAngle', InMode),
327 (short, 'arcAngle', InMode),
328)
329functions.append(f)
330
331f = Function(void, 'PaintArc',
332 (Rect_ptr, 'r', InMode),
333 (short, 'startAngle', InMode),
334 (short, 'arcAngle', InMode),
335)
336functions.append(f)
337
338f = Function(void, 'EraseArc',
339 (Rect_ptr, 'r', InMode),
340 (short, 'startAngle', InMode),
341 (short, 'arcAngle', InMode),
342)
343functions.append(f)
344
345f = Function(void, 'InvertArc',
346 (Rect_ptr, 'r', InMode),
347 (short, 'startAngle', InMode),
348 (short, 'arcAngle', InMode),
349)
350functions.append(f)
351
352f = Function(RgnHandle, 'NewRgn',
353)
354functions.append(f)
355
356f = Function(void, 'OpenRgn',
357)
358functions.append(f)
359
360f = Function(void, 'CloseRgn',
361 (RgnHandle, 'dstRgn', InMode),
362)
363functions.append(f)
364
365f = Function(void, 'DisposeRgn',
366 (RgnHandle, 'rgn', InMode),
367)
368functions.append(f)
369
370f = Function(void, 'CopyRgn',
371 (RgnHandle, 'srcRgn', InMode),
372 (RgnHandle, 'dstRgn', InMode),
373)
374functions.append(f)
375
376f = Function(void, 'SetEmptyRgn',
377 (RgnHandle, 'rgn', InMode),
378)
379functions.append(f)
380
381f = Function(void, 'SetRectRgn',
382 (RgnHandle, 'rgn', InMode),
383 (short, 'left', InMode),
384 (short, 'top', InMode),
385 (short, 'right', InMode),
386 (short, 'bottom', InMode),
387)
388functions.append(f)
389
390f = Function(void, 'RectRgn',
391 (RgnHandle, 'rgn', InMode),
392 (Rect_ptr, 'r', InMode),
393)
394functions.append(f)
395
396f = Function(void, 'OffsetRgn',
397 (RgnHandle, 'rgn', InMode),
398 (short, 'dh', InMode),
399 (short, 'dv', InMode),
400)
401functions.append(f)
402
403f = Function(void, 'InsetRgn',
404 (RgnHandle, 'rgn', InMode),
405 (short, 'dh', InMode),
406 (short, 'dv', InMode),
407)
408functions.append(f)
409
410f = Function(void, 'SectRgn',
411 (RgnHandle, 'srcRgnA', InMode),
412 (RgnHandle, 'srcRgnB', InMode),
413 (RgnHandle, 'dstRgn', InMode),
414)
415functions.append(f)
416
417f = Function(void, 'UnionRgn',
418 (RgnHandle, 'srcRgnA', InMode),
419 (RgnHandle, 'srcRgnB', InMode),
420 (RgnHandle, 'dstRgn', InMode),
421)
422functions.append(f)
423
424f = Function(void, 'DiffRgn',
425 (RgnHandle, 'srcRgnA', InMode),
426 (RgnHandle, 'srcRgnB', InMode),
427 (RgnHandle, 'dstRgn', InMode),
428)
429functions.append(f)
430
431f = Function(void, 'XorRgn',
432 (RgnHandle, 'srcRgnA', InMode),
433 (RgnHandle, 'srcRgnB', InMode),
434 (RgnHandle, 'dstRgn', InMode),
435)
436functions.append(f)
437
438f = Function(Boolean, 'RectInRgn',
439 (Rect_ptr, 'r', InMode),
440 (RgnHandle, 'rgn', InMode),
441)
442functions.append(f)
443
444f = Function(Boolean, 'EqualRgn',
445 (RgnHandle, 'rgnA', InMode),
446 (RgnHandle, 'rgnB', InMode),
447)
448functions.append(f)
449
450f = Function(Boolean, 'EmptyRgn',
451 (RgnHandle, 'rgn', InMode),
452)
453functions.append(f)
454
455f = Function(void, 'FrameRgn',
456 (RgnHandle, 'rgn', InMode),
457)
458functions.append(f)
459
460f = Function(void, 'PaintRgn',
461 (RgnHandle, 'rgn', InMode),
462)
463functions.append(f)
464
465f = Function(void, 'EraseRgn',
466 (RgnHandle, 'rgn', InMode),
467)
468functions.append(f)
469
470f = Function(void, 'InvertRgn',
471 (RgnHandle, 'rgn', InMode),
472)
473functions.append(f)
474
475f = Function(void, 'ScrollRect',
476 (Rect_ptr, 'r', InMode),
477 (short, 'dh', InMode),
478 (short, 'dv', InMode),
479 (RgnHandle, 'updateRgn', InMode),
480)
481functions.append(f)
482
483f = Function(PicHandle, 'OpenPicture',
484 (Rect_ptr, 'picFrame', InMode),
485)
486functions.append(f)
487
488f = Function(void, 'PicComment',
489 (short, 'kind', InMode),
490 (short, 'dataSize', InMode),
491 (Handle, 'dataHandle', InMode),
492)
493functions.append(f)
494
495f = Function(void, 'ClosePicture',
496)
497functions.append(f)
498
499f = Function(void, 'DrawPicture',
500 (PicHandle, 'myPicture', InMode),
501 (Rect_ptr, 'dstRect', InMode),
502)
503functions.append(f)
504
505f = Function(void, 'KillPicture',
506 (PicHandle, 'myPicture', InMode),
507)
508functions.append(f)
509
510f = Function(PolyHandle, 'OpenPoly',
511)
512functions.append(f)
513
514f = Function(void, 'ClosePoly',
515)
516functions.append(f)
517
518f = Function(void, 'KillPoly',
519 (PolyHandle, 'poly', InMode),
520)
521functions.append(f)
522
523f = Function(void, 'OffsetPoly',
524 (PolyHandle, 'poly', InMode),
525 (short, 'dh', InMode),
526 (short, 'dv', InMode),
527)
528functions.append(f)
529
530f = Function(void, 'FramePoly',
531 (PolyHandle, 'poly', InMode),
532)
533functions.append(f)
534
535f = Function(void, 'PaintPoly',
536 (PolyHandle, 'poly', InMode),
537)
538functions.append(f)
539
540f = Function(void, 'ErasePoly',
541 (PolyHandle, 'poly', InMode),
542)
543functions.append(f)
544
545f = Function(void, 'InvertPoly',
546 (PolyHandle, 'poly', InMode),
547)
548functions.append(f)
549
550f = Function(void, 'SetPt',
551 (Point, 'pt', InOutMode),
552 (short, 'h', InMode),
553 (short, 'v', InMode),
554)
555functions.append(f)
556
557f = Function(void, 'LocalToGlobal',
558 (Point, 'pt', InOutMode),
559)
560functions.append(f)
561
562f = Function(void, 'GlobalToLocal',
563 (Point, 'pt', InOutMode),
564)
565functions.append(f)
566
567f = Function(short, 'Random',
568)
569functions.append(f)
570
571f = Function(Boolean, 'GetPixel',
572 (short, 'h', InMode),
573 (short, 'v', InMode),
574)
575functions.append(f)
576
577f = Function(void, 'ScalePt',
578 (Point, 'pt', InOutMode),
579 (Rect_ptr, 'srcRect', InMode),
580 (Rect_ptr, 'dstRect', InMode),
581)
582functions.append(f)
583
584f = Function(void, 'MapPt',
585 (Point, 'pt', InOutMode),
586 (Rect_ptr, 'srcRect', InMode),
587 (Rect_ptr, 'dstRect', InMode),
588)
589functions.append(f)
590
591f = Function(void, 'MapRect',
592 (Rect, 'r', OutMode),
593 (Rect_ptr, 'srcRect', InMode),
594 (Rect_ptr, 'dstRect', InMode),
595)
596functions.append(f)
597
598f = Function(void, 'MapRgn',
599 (RgnHandle, 'rgn', InMode),
600 (Rect_ptr, 'srcRect', InMode),
601 (Rect_ptr, 'dstRect', InMode),
602)
603functions.append(f)
604
605f = Function(void, 'MapPoly',
606 (PolyHandle, 'poly', InMode),
607 (Rect_ptr, 'srcRect', InMode),
608 (Rect_ptr, 'dstRect', InMode),
609)
610functions.append(f)
611
612f = Function(void, 'AddPt',
613 (Point, 'src', InMode),
614 (Point, 'dst', InOutMode),
615)
616functions.append(f)
617
618f = Function(Boolean, 'EqualPt',
619 (Point, 'pt1', InMode),
620 (Point, 'pt2', InMode),
621)
622functions.append(f)
623
624f = Function(Boolean, 'PtInRect',
625 (Point, 'pt', InMode),
626 (Rect_ptr, 'r', InMode),
627)
628functions.append(f)
629
630f = Function(void, 'Pt2Rect',
631 (Point, 'pt1', InMode),
632 (Point, 'pt2', InMode),
633 (Rect, 'dstRect', OutMode),
634)
635functions.append(f)
636
637f = Function(void, 'PtToAngle',
638 (Rect_ptr, 'r', InMode),
639 (Point, 'pt', InMode),
640 (short, 'angle', OutMode),
641)
642functions.append(f)
643
644f = Function(Boolean, 'PtInRgn',
645 (Point, 'pt', InMode),
646 (RgnHandle, 'rgn', InMode),
647)
648functions.append(f)
649
650f = Function(PixMapHandle, 'NewPixMap',
651)
652functions.append(f)
653
654f = Function(void, 'DisposPixMap',
655 (PixMapHandle, 'pm', InMode),
656)
657functions.append(f)
658
659f = Function(void, 'DisposePixMap',
660 (PixMapHandle, 'pm', InMode),
661)
662functions.append(f)
663
664f = Function(void, 'CopyPixMap',
665 (PixMapHandle, 'srcPM', InMode),
666 (PixMapHandle, 'dstPM', InMode),
667)
668functions.append(f)
669
670f = Function(PixPatHandle, 'NewPixPat',
671)
672functions.append(f)
673
674f = Function(void, 'DisposPixPat',
675 (PixPatHandle, 'pp', InMode),
676)
677functions.append(f)
678
679f = Function(void, 'DisposePixPat',
680 (PixPatHandle, 'pp', InMode),
681)
682functions.append(f)
683
684f = Function(void, 'CopyPixPat',
685 (PixPatHandle, 'srcPP', InMode),
686 (PixPatHandle, 'dstPP', InMode),
687)
688functions.append(f)
689
690f = Function(void, 'PenPixPat',
691 (PixPatHandle, 'pp', InMode),
692)
693functions.append(f)
694
695f = Function(void, 'BackPixPat',
696 (PixPatHandle, 'pp', InMode),
697)
698functions.append(f)
699
700f = Function(PixPatHandle, 'GetPixPat',
701 (short, 'patID', InMode),
702)
703functions.append(f)
704
705f = Function(void, 'FillCRect',
706 (Rect_ptr, 'r', InMode),
707 (PixPatHandle, 'pp', InMode),
708)
709functions.append(f)
710
711f = Function(void, 'FillCOval',
712 (Rect_ptr, 'r', InMode),
713 (PixPatHandle, 'pp', InMode),
714)
715functions.append(f)
716
717f = Function(void, 'FillCRoundRect',
718 (Rect_ptr, 'r', InMode),
719 (short, 'ovalWidth', InMode),
720 (short, 'ovalHeight', InMode),
721 (PixPatHandle, 'pp', InMode),
722)
723functions.append(f)
724
725f = Function(void, 'FillCArc',
726 (Rect_ptr, 'r', InMode),
727 (short, 'startAngle', InMode),
728 (short, 'arcAngle', InMode),
729 (PixPatHandle, 'pp', InMode),
730)
731functions.append(f)
732
733f = Function(void, 'FillCRgn',
734 (RgnHandle, 'rgn', InMode),
735 (PixPatHandle, 'pp', InMode),
736)
737functions.append(f)
738
739f = Function(void, 'FillCPoly',
740 (PolyHandle, 'poly', InMode),
741 (PixPatHandle, 'pp', InMode),
742)
743functions.append(f)
744
745f = Function(void, 'SetPortPix',
746 (PixMapHandle, 'pm', InMode),
747)
748functions.append(f)
749
750f = Function(void, 'AllocCursor',
751)
752functions.append(f)
753
754f = Function(void, 'CharExtra',
755 (Fixed, 'extra', InMode),
756)
757functions.append(f)
758
759f = Function(long, 'GetCTSeed',
760)
761functions.append(f)
762
763f = Function(void, 'SubPt',
764 (Point, 'src', InMode),
765 (Point, 'dst', InOutMode),
766)
767functions.append(f)
768
769f = Function(void, 'SetClientID',
770 (short, 'id', InMode),
771)
772functions.append(f)
773
774f = Function(void, 'ProtectEntry',
775 (short, 'index', InMode),
776 (Boolean, 'protect', InMode),
777)
778functions.append(f)
779
780f = Function(void, 'ReserveEntry',
781 (short, 'index', InMode),
782 (Boolean, 'reserve', InMode),
783)
784functions.append(f)
785
786f = Function(short, 'QDError',
787)
788functions.append(f)
789