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