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