Don't reference removed files in Makefile
[python/dscho.git] / Mac / Modules / qd / qdgen.py
blob975e43801446ff4320806fb9a1b7906e185fada5
1 # Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:QuickDraw.h'
3 f = Function(void, 'OpenPort',
4 (GrafPtr, 'port', InMode),
6 functions.append(f)
8 f = Function(void, 'InitPort',
9 (GrafPtr, 'port', InMode),
11 functions.append(f)
13 f = Function(void, 'ClosePort',
14 (GrafPtr, 'port', InMode),
16 functions.append(f)
18 f = Function(void, 'SetPort',
19 (GrafPtr, 'port', InMode),
21 functions.append(f)
23 f = Function(void, 'GetPort',
24 (GrafPtr, 'port', OutMode),
26 functions.append(f)
28 f = Function(void, 'GrafDevice',
29 (short, 'device', InMode),
31 functions.append(f)
33 f = Function(void, 'PortSize',
34 (short, 'width', InMode),
35 (short, 'height', InMode),
37 functions.append(f)
39 f = Function(void, 'MovePortTo',
40 (short, 'leftGlobal', InMode),
41 (short, 'topGlobal', InMode),
43 functions.append(f)
45 f = Function(void, 'SetOrigin',
46 (short, 'h', InMode),
47 (short, 'v', InMode),
49 functions.append(f)
51 f = Function(void, 'SetClip',
52 (RgnHandle, 'rgn', InMode),
54 functions.append(f)
56 f = Function(void, 'GetClip',
57 (RgnHandle, 'rgn', InMode),
59 functions.append(f)
61 f = Function(void, 'ClipRect',
62 (Rect_ptr, 'r', InMode),
64 functions.append(f)
66 f = Function(void, 'InitCursor',
68 functions.append(f)
70 f = Function(void, 'HideCursor',
72 functions.append(f)
74 f = Function(void, 'ShowCursor',
76 functions.append(f)
78 f = Function(void, 'ObscureCursor',
80 functions.append(f)
82 f = Function(void, 'HidePen',
84 functions.append(f)
86 f = Function(void, 'ShowPen',
88 functions.append(f)
90 f = Function(void, 'GetPen',
91 (Point, 'pt', InOutMode),
93 functions.append(f)
95 f = Function(void, 'PenSize',
96 (short, 'width', InMode),
97 (short, 'height', InMode),
99 functions.append(f)
101 f = Function(void, 'PenMode',
102 (short, 'mode', InMode),
104 functions.append(f)
106 f = Function(void, 'PenNormal',
108 functions.append(f)
110 f = Function(void, 'MoveTo',
111 (short, 'h', InMode),
112 (short, 'v', InMode),
114 functions.append(f)
116 f = Function(void, 'Move',
117 (short, 'dh', InMode),
118 (short, 'dv', InMode),
120 functions.append(f)
122 f = Function(void, 'LineTo',
123 (short, 'h', InMode),
124 (short, 'v', InMode),
126 functions.append(f)
128 f = Function(void, 'Line',
129 (short, 'dh', InMode),
130 (short, 'dv', InMode),
132 functions.append(f)
134 f = Function(void, 'TextFont',
135 (short, 'font', InMode),
137 functions.append(f)
139 f = Function(void, 'TextFace',
140 (short, 'face', InMode),
142 functions.append(f)
144 f = Function(void, 'TextMode',
145 (short, 'mode', InMode),
147 functions.append(f)
149 f = Function(void, 'TextSize',
150 (short, 'size', InMode),
152 functions.append(f)
154 f = Function(void, 'SpaceExtra',
155 (Fixed, 'extra', InMode),
157 functions.append(f)
159 f = Function(void, 'DrawChar',
160 (short, 'ch', InMode),
162 functions.append(f)
164 f = Function(void, 'DrawString',
165 (ConstStr255Param, 's', InMode),
167 functions.append(f)
169 f = Function(void, 'DrawText',
170 (TextThingie, 'textBuf', InMode),
171 (short, 'firstByte', InMode),
172 (short, 'byteCount', InMode),
174 functions.append(f)
176 f = Function(short, 'CharWidth',
177 (short, 'ch', InMode),
179 functions.append(f)
181 f = Function(short, 'StringWidth',
182 (ConstStr255Param, 's', InMode),
184 functions.append(f)
186 f = Function(short, 'TextWidth',
187 (TextThingie, 'textBuf', InMode),
188 (short, 'firstByte', InMode),
189 (short, 'byteCount', InMode),
191 functions.append(f)
193 f = Function(void, 'ForeColor',
194 (long, 'color', InMode),
196 functions.append(f)
198 f = Function(void, 'BackColor',
199 (long, 'color', InMode),
201 functions.append(f)
203 f = Function(void, 'ColorBit',
204 (short, 'whichBit', InMode),
206 functions.append(f)
208 f = Function(void, 'SetRect',
209 (Rect, 'r', OutMode),
210 (short, 'left', InMode),
211 (short, 'top', InMode),
212 (short, 'right', InMode),
213 (short, 'bottom', InMode),
215 functions.append(f)
217 f = Function(void, 'OffsetRect',
218 (Rect, 'r', OutMode),
219 (short, 'dh', InMode),
220 (short, 'dv', InMode),
222 functions.append(f)
224 f = Function(void, 'InsetRect',
225 (Rect, 'r', OutMode),
226 (short, 'dh', InMode),
227 (short, 'dv', InMode),
229 functions.append(f)
231 f = Function(Boolean, 'SectRect',
232 (Rect_ptr, 'src1', InMode),
233 (Rect_ptr, 'src2', InMode),
234 (Rect, 'dstRect', OutMode),
236 functions.append(f)
238 f = Function(void, 'UnionRect',
239 (Rect_ptr, 'src1', InMode),
240 (Rect_ptr, 'src2', InMode),
241 (Rect, 'dstRect', OutMode),
243 functions.append(f)
245 f = Function(Boolean, 'EqualRect',
246 (Rect_ptr, 'rect1', InMode),
247 (Rect_ptr, 'rect2', InMode),
249 functions.append(f)
251 f = Function(Boolean, 'EmptyRect',
252 (Rect_ptr, 'r', InMode),
254 functions.append(f)
256 f = Function(void, 'FrameRect',
257 (Rect_ptr, 'r', InMode),
259 functions.append(f)
261 f = Function(void, 'PaintRect',
262 (Rect_ptr, 'r', InMode),
264 functions.append(f)
266 f = Function(void, 'EraseRect',
267 (Rect_ptr, 'r', InMode),
269 functions.append(f)
271 f = Function(void, 'InvertRect',
272 (Rect_ptr, 'r', InMode),
274 functions.append(f)
276 f = Function(void, 'FrameOval',
277 (Rect_ptr, 'r', InMode),
279 functions.append(f)
281 f = Function(void, 'PaintOval',
282 (Rect_ptr, 'r', InMode),
284 functions.append(f)
286 f = Function(void, 'EraseOval',
287 (Rect_ptr, 'r', InMode),
289 functions.append(f)
291 f = Function(void, 'InvertOval',
292 (Rect_ptr, 'r', InMode),
294 functions.append(f)
296 f = Function(void, 'FrameRoundRect',
297 (Rect_ptr, 'r', InMode),
298 (short, 'ovalWidth', InMode),
299 (short, 'ovalHeight', InMode),
301 functions.append(f)
303 f = Function(void, 'PaintRoundRect',
304 (Rect_ptr, 'r', InMode),
305 (short, 'ovalWidth', InMode),
306 (short, 'ovalHeight', InMode),
308 functions.append(f)
310 f = Function(void, 'EraseRoundRect',
311 (Rect_ptr, 'r', InMode),
312 (short, 'ovalWidth', InMode),
313 (short, 'ovalHeight', InMode),
315 functions.append(f)
317 f = Function(void, 'InvertRoundRect',
318 (Rect_ptr, 'r', InMode),
319 (short, 'ovalWidth', InMode),
320 (short, 'ovalHeight', InMode),
322 functions.append(f)
324 f = Function(void, 'FrameArc',
325 (Rect_ptr, 'r', InMode),
326 (short, 'startAngle', InMode),
327 (short, 'arcAngle', InMode),
329 functions.append(f)
331 f = Function(void, 'PaintArc',
332 (Rect_ptr, 'r', InMode),
333 (short, 'startAngle', InMode),
334 (short, 'arcAngle', InMode),
336 functions.append(f)
338 f = Function(void, 'EraseArc',
339 (Rect_ptr, 'r', InMode),
340 (short, 'startAngle', InMode),
341 (short, 'arcAngle', InMode),
343 functions.append(f)
345 f = Function(void, 'InvertArc',
346 (Rect_ptr, 'r', InMode),
347 (short, 'startAngle', InMode),
348 (short, 'arcAngle', InMode),
350 functions.append(f)
352 f = Function(RgnHandle, 'NewRgn',
354 functions.append(f)
356 f = Function(void, 'OpenRgn',
358 functions.append(f)
360 f = Function(void, 'CloseRgn',
361 (RgnHandle, 'dstRgn', InMode),
363 functions.append(f)
365 f = Function(void, 'DisposeRgn',
366 (RgnHandle, 'rgn', InMode),
368 functions.append(f)
370 f = Function(void, 'CopyRgn',
371 (RgnHandle, 'srcRgn', InMode),
372 (RgnHandle, 'dstRgn', InMode),
374 functions.append(f)
376 f = Function(void, 'SetEmptyRgn',
377 (RgnHandle, 'rgn', InMode),
379 functions.append(f)
381 f = Function(void, 'SetRectRgn',
382 (RgnHandle, 'rgn', InMode),
383 (short, 'left', InMode),
384 (short, 'top', InMode),
385 (short, 'right', InMode),
386 (short, 'bottom', InMode),
388 functions.append(f)
390 f = Function(void, 'RectRgn',
391 (RgnHandle, 'rgn', InMode),
392 (Rect_ptr, 'r', InMode),
394 functions.append(f)
396 f = Function(void, 'OffsetRgn',
397 (RgnHandle, 'rgn', InMode),
398 (short, 'dh', InMode),
399 (short, 'dv', InMode),
401 functions.append(f)
403 f = Function(void, 'InsetRgn',
404 (RgnHandle, 'rgn', InMode),
405 (short, 'dh', InMode),
406 (short, 'dv', InMode),
408 functions.append(f)
410 f = Function(void, 'SectRgn',
411 (RgnHandle, 'srcRgnA', InMode),
412 (RgnHandle, 'srcRgnB', InMode),
413 (RgnHandle, 'dstRgn', InMode),
415 functions.append(f)
417 f = Function(void, 'UnionRgn',
418 (RgnHandle, 'srcRgnA', InMode),
419 (RgnHandle, 'srcRgnB', InMode),
420 (RgnHandle, 'dstRgn', InMode),
422 functions.append(f)
424 f = Function(void, 'DiffRgn',
425 (RgnHandle, 'srcRgnA', InMode),
426 (RgnHandle, 'srcRgnB', InMode),
427 (RgnHandle, 'dstRgn', InMode),
429 functions.append(f)
431 f = Function(void, 'XorRgn',
432 (RgnHandle, 'srcRgnA', InMode),
433 (RgnHandle, 'srcRgnB', InMode),
434 (RgnHandle, 'dstRgn', InMode),
436 functions.append(f)
438 f = Function(Boolean, 'RectInRgn',
439 (Rect_ptr, 'r', InMode),
440 (RgnHandle, 'rgn', InMode),
442 functions.append(f)
444 f = Function(Boolean, 'EqualRgn',
445 (RgnHandle, 'rgnA', InMode),
446 (RgnHandle, 'rgnB', InMode),
448 functions.append(f)
450 f = Function(Boolean, 'EmptyRgn',
451 (RgnHandle, 'rgn', InMode),
453 functions.append(f)
455 f = Function(void, 'FrameRgn',
456 (RgnHandle, 'rgn', InMode),
458 functions.append(f)
460 f = Function(void, 'PaintRgn',
461 (RgnHandle, 'rgn', InMode),
463 functions.append(f)
465 f = Function(void, 'EraseRgn',
466 (RgnHandle, 'rgn', InMode),
468 functions.append(f)
470 f = Function(void, 'InvertRgn',
471 (RgnHandle, 'rgn', InMode),
473 functions.append(f)
475 f = Function(void, 'ScrollRect',
476 (Rect_ptr, 'r', InMode),
477 (short, 'dh', InMode),
478 (short, 'dv', InMode),
479 (RgnHandle, 'updateRgn', InMode),
481 functions.append(f)
483 f = Function(PicHandle, 'OpenPicture',
484 (Rect_ptr, 'picFrame', InMode),
486 functions.append(f)
488 f = Function(void, 'PicComment',
489 (short, 'kind', InMode),
490 (short, 'dataSize', InMode),
491 (Handle, 'dataHandle', InMode),
493 functions.append(f)
495 f = Function(void, 'ClosePicture',
497 functions.append(f)
499 f = Function(void, 'DrawPicture',
500 (PicHandle, 'myPicture', InMode),
501 (Rect_ptr, 'dstRect', InMode),
503 functions.append(f)
505 f = Function(void, 'KillPicture',
506 (PicHandle, 'myPicture', InMode),
508 functions.append(f)
510 f = Function(PolyHandle, 'OpenPoly',
512 functions.append(f)
514 f = Function(void, 'ClosePoly',
516 functions.append(f)
518 f = Function(void, 'KillPoly',
519 (PolyHandle, 'poly', InMode),
521 functions.append(f)
523 f = Function(void, 'OffsetPoly',
524 (PolyHandle, 'poly', InMode),
525 (short, 'dh', InMode),
526 (short, 'dv', InMode),
528 functions.append(f)
530 f = Function(void, 'FramePoly',
531 (PolyHandle, 'poly', InMode),
533 functions.append(f)
535 f = Function(void, 'PaintPoly',
536 (PolyHandle, 'poly', InMode),
538 functions.append(f)
540 f = Function(void, 'ErasePoly',
541 (PolyHandle, 'poly', InMode),
543 functions.append(f)
545 f = Function(void, 'InvertPoly',
546 (PolyHandle, 'poly', InMode),
548 functions.append(f)
550 f = Function(void, 'SetPt',
551 (Point, 'pt', InOutMode),
552 (short, 'h', InMode),
553 (short, 'v', InMode),
555 functions.append(f)
557 f = Function(void, 'LocalToGlobal',
558 (Point, 'pt', InOutMode),
560 functions.append(f)
562 f = Function(void, 'GlobalToLocal',
563 (Point, 'pt', InOutMode),
565 functions.append(f)
567 f = Function(short, 'Random',
569 functions.append(f)
571 f = Function(Boolean, 'GetPixel',
572 (short, 'h', InMode),
573 (short, 'v', InMode),
575 functions.append(f)
577 f = Function(void, 'ScalePt',
578 (Point, 'pt', InOutMode),
579 (Rect_ptr, 'srcRect', InMode),
580 (Rect_ptr, 'dstRect', InMode),
582 functions.append(f)
584 f = Function(void, 'MapPt',
585 (Point, 'pt', InOutMode),
586 (Rect_ptr, 'srcRect', InMode),
587 (Rect_ptr, 'dstRect', InMode),
589 functions.append(f)
591 f = Function(void, 'MapRect',
592 (Rect, 'r', OutMode),
593 (Rect_ptr, 'srcRect', InMode),
594 (Rect_ptr, 'dstRect', InMode),
596 functions.append(f)
598 f = Function(void, 'MapRgn',
599 (RgnHandle, 'rgn', InMode),
600 (Rect_ptr, 'srcRect', InMode),
601 (Rect_ptr, 'dstRect', InMode),
603 functions.append(f)
605 f = Function(void, 'MapPoly',
606 (PolyHandle, 'poly', InMode),
607 (Rect_ptr, 'srcRect', InMode),
608 (Rect_ptr, 'dstRect', InMode),
610 functions.append(f)
612 f = Function(void, 'AddPt',
613 (Point, 'src', InMode),
614 (Point, 'dst', InOutMode),
616 functions.append(f)
618 f = Function(Boolean, 'EqualPt',
619 (Point, 'pt1', InMode),
620 (Point, 'pt2', InMode),
622 functions.append(f)
624 f = Function(Boolean, 'PtInRect',
625 (Point, 'pt', InMode),
626 (Rect_ptr, 'r', InMode),
628 functions.append(f)
630 f = Function(void, 'Pt2Rect',
631 (Point, 'pt1', InMode),
632 (Point, 'pt2', InMode),
633 (Rect, 'dstRect', OutMode),
635 functions.append(f)
637 f = Function(void, 'PtToAngle',
638 (Rect_ptr, 'r', InMode),
639 (Point, 'pt', InMode),
640 (short, 'angle', OutMode),
642 functions.append(f)
644 f = Function(Boolean, 'PtInRgn',
645 (Point, 'pt', InMode),
646 (RgnHandle, 'rgn', InMode),
648 functions.append(f)
650 f = Function(PixMapHandle, 'NewPixMap',
652 functions.append(f)
654 f = Function(void, 'DisposPixMap',
655 (PixMapHandle, 'pm', InMode),
657 functions.append(f)
659 f = Function(void, 'DisposePixMap',
660 (PixMapHandle, 'pm', InMode),
662 functions.append(f)
664 f = Function(void, 'CopyPixMap',
665 (PixMapHandle, 'srcPM', InMode),
666 (PixMapHandle, 'dstPM', InMode),
668 functions.append(f)
670 f = Function(PixPatHandle, 'NewPixPat',
672 functions.append(f)
674 f = Function(void, 'DisposPixPat',
675 (PixPatHandle, 'pp', InMode),
677 functions.append(f)
679 f = Function(void, 'DisposePixPat',
680 (PixPatHandle, 'pp', InMode),
682 functions.append(f)
684 f = Function(void, 'CopyPixPat',
685 (PixPatHandle, 'srcPP', InMode),
686 (PixPatHandle, 'dstPP', InMode),
688 functions.append(f)
690 f = Function(void, 'PenPixPat',
691 (PixPatHandle, 'pp', InMode),
693 functions.append(f)
695 f = Function(void, 'BackPixPat',
696 (PixPatHandle, 'pp', InMode),
698 functions.append(f)
700 f = Function(PixPatHandle, 'GetPixPat',
701 (short, 'patID', InMode),
703 functions.append(f)
705 f = Function(void, 'FillCRect',
706 (Rect_ptr, 'r', InMode),
707 (PixPatHandle, 'pp', InMode),
709 functions.append(f)
711 f = Function(void, 'FillCOval',
712 (Rect_ptr, 'r', InMode),
713 (PixPatHandle, 'pp', InMode),
715 functions.append(f)
717 f = Function(void, 'FillCRoundRect',
718 (Rect_ptr, 'r', InMode),
719 (short, 'ovalWidth', InMode),
720 (short, 'ovalHeight', InMode),
721 (PixPatHandle, 'pp', InMode),
723 functions.append(f)
725 f = Function(void, 'FillCArc',
726 (Rect_ptr, 'r', InMode),
727 (short, 'startAngle', InMode),
728 (short, 'arcAngle', InMode),
729 (PixPatHandle, 'pp', InMode),
731 functions.append(f)
733 f = Function(void, 'FillCRgn',
734 (RgnHandle, 'rgn', InMode),
735 (PixPatHandle, 'pp', InMode),
737 functions.append(f)
739 f = Function(void, 'FillCPoly',
740 (PolyHandle, 'poly', InMode),
741 (PixPatHandle, 'pp', InMode),
743 functions.append(f)
745 f = Function(void, 'SetPortPix',
746 (PixMapHandle, 'pm', InMode),
748 functions.append(f)
750 f = Function(void, 'AllocCursor',
752 functions.append(f)
754 f = Function(void, 'CharExtra',
755 (Fixed, 'extra', InMode),
757 functions.append(f)
759 f = Function(long, 'GetCTSeed',
761 functions.append(f)
763 f = Function(void, 'SubPt',
764 (Point, 'src', InMode),
765 (Point, 'dst', InOutMode),
767 functions.append(f)
769 f = Function(void, 'SetClientID',
770 (short, 'id', InMode),
772 functions.append(f)
774 f = Function(void, 'ProtectEntry',
775 (short, 'index', InMode),
776 (Boolean, 'protect', InMode),
778 functions.append(f)
780 f = Function(void, 'ReserveEntry',
781 (short, 'index', InMode),
782 (Boolean, 'reserve', InMode),
784 functions.append(f)
786 f = Function(short, 'QDError',
788 functions.append(f)