Jack Jansen | 54c8f7e | 1995-11-14 10:46:01 +0000 | [diff] [blame] | 1 | # Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDraw.h' |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 2 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 3 | f = Function(void, 'SetPort', |
| 4 | (GrafPtr, 'port', InMode), |
| 5 | ) |
| 6 | functions.append(f) |
| 7 | |
| 8 | f = Function(void, 'GetPort', |
| 9 | (GrafPtr, 'port', OutMode), |
| 10 | ) |
| 11 | functions.append(f) |
| 12 | |
| 13 | f = Function(void, 'GrafDevice', |
| 14 | (short, 'device', InMode), |
| 15 | ) |
| 16 | functions.append(f) |
| 17 | |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 18 | f = Function(void, 'SetPortBits', |
| 19 | (BitMap_ptr, 'bm', InMode), |
| 20 | ) |
| 21 | functions.append(f) |
| 22 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 23 | f = Function(void, 'PortSize', |
| 24 | (short, 'width', InMode), |
| 25 | (short, 'height', InMode), |
| 26 | ) |
| 27 | functions.append(f) |
| 28 | |
| 29 | f = Function(void, 'MovePortTo', |
| 30 | (short, 'leftGlobal', InMode), |
| 31 | (short, 'topGlobal', InMode), |
| 32 | ) |
| 33 | functions.append(f) |
| 34 | |
| 35 | f = Function(void, 'SetOrigin', |
| 36 | (short, 'h', InMode), |
| 37 | (short, 'v', InMode), |
| 38 | ) |
| 39 | functions.append(f) |
| 40 | |
| 41 | f = Function(void, 'SetClip', |
| 42 | (RgnHandle, 'rgn', InMode), |
| 43 | ) |
| 44 | functions.append(f) |
| 45 | |
| 46 | f = Function(void, 'GetClip', |
| 47 | (RgnHandle, 'rgn', InMode), |
| 48 | ) |
| 49 | functions.append(f) |
| 50 | |
| 51 | f = Function(void, 'ClipRect', |
| 52 | (Rect_ptr, 'r', InMode), |
| 53 | ) |
| 54 | functions.append(f) |
| 55 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 56 | f = Function(void, 'BackPat', |
| 57 | (Pattern_ptr, 'pat', InMode), |
| 58 | ) |
| 59 | functions.append(f) |
| 60 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 61 | f = Function(void, 'InitCursor', |
| 62 | ) |
| 63 | functions.append(f) |
| 64 | |
Jack Jansen | b539406 | 1996-01-05 18:06:41 +0000 | [diff] [blame] | 65 | f = Function(void, 'SetCursor', |
| 66 | (Cursor_ptr, 'crsr', InMode), |
| 67 | ) |
| 68 | functions.append(f) |
| 69 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 70 | f = Function(void, 'HideCursor', |
| 71 | ) |
| 72 | functions.append(f) |
| 73 | |
| 74 | f = Function(void, 'ShowCursor', |
| 75 | ) |
| 76 | functions.append(f) |
| 77 | |
| 78 | f = Function(void, 'ObscureCursor', |
| 79 | ) |
| 80 | functions.append(f) |
| 81 | |
| 82 | f = Function(void, 'HidePen', |
| 83 | ) |
| 84 | functions.append(f) |
| 85 | |
| 86 | f = Function(void, 'ShowPen', |
| 87 | ) |
| 88 | functions.append(f) |
| 89 | |
| 90 | f = Function(void, 'GetPen', |
| 91 | (Point, 'pt', InOutMode), |
| 92 | ) |
| 93 | functions.append(f) |
| 94 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 95 | f = Function(void, 'GetPenState', |
| 96 | (PenState, 'pnState', OutMode), |
| 97 | ) |
| 98 | functions.append(f) |
| 99 | |
| 100 | f = Function(void, 'SetPenState', |
| 101 | (PenState_ptr, 'pnState', InMode), |
| 102 | ) |
| 103 | functions.append(f) |
| 104 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 105 | f = Function(void, 'PenSize', |
| 106 | (short, 'width', InMode), |
| 107 | (short, 'height', InMode), |
| 108 | ) |
| 109 | functions.append(f) |
| 110 | |
| 111 | f = Function(void, 'PenMode', |
| 112 | (short, 'mode', InMode), |
| 113 | ) |
| 114 | functions.append(f) |
| 115 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 116 | f = Function(void, 'PenPat', |
| 117 | (Pattern_ptr, 'pat', InMode), |
| 118 | ) |
| 119 | functions.append(f) |
| 120 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 121 | f = Function(void, 'PenNormal', |
| 122 | ) |
| 123 | functions.append(f) |
| 124 | |
| 125 | f = Function(void, 'MoveTo', |
| 126 | (short, 'h', InMode), |
| 127 | (short, 'v', InMode), |
| 128 | ) |
| 129 | functions.append(f) |
| 130 | |
| 131 | f = Function(void, 'Move', |
| 132 | (short, 'dh', InMode), |
| 133 | (short, 'dv', InMode), |
| 134 | ) |
| 135 | functions.append(f) |
| 136 | |
| 137 | f = Function(void, 'LineTo', |
| 138 | (short, 'h', InMode), |
| 139 | (short, 'v', InMode), |
| 140 | ) |
| 141 | functions.append(f) |
| 142 | |
| 143 | f = Function(void, 'Line', |
| 144 | (short, 'dh', InMode), |
| 145 | (short, 'dv', InMode), |
| 146 | ) |
| 147 | functions.append(f) |
| 148 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 149 | f = Function(void, 'ForeColor', |
| 150 | (long, 'color', InMode), |
| 151 | ) |
| 152 | functions.append(f) |
| 153 | |
| 154 | f = Function(void, 'BackColor', |
| 155 | (long, 'color', InMode), |
| 156 | ) |
| 157 | functions.append(f) |
| 158 | |
| 159 | f = Function(void, 'ColorBit', |
| 160 | (short, 'whichBit', InMode), |
| 161 | ) |
| 162 | functions.append(f) |
| 163 | |
| 164 | f = Function(void, 'SetRect', |
| 165 | (Rect, 'r', OutMode), |
| 166 | (short, 'left', InMode), |
| 167 | (short, 'top', InMode), |
| 168 | (short, 'right', InMode), |
| 169 | (short, 'bottom', InMode), |
| 170 | ) |
| 171 | functions.append(f) |
| 172 | |
| 173 | f = Function(void, 'OffsetRect', |
Jack Jansen | 54c8f7e | 1995-11-14 10:46:01 +0000 | [diff] [blame] | 174 | (Rect, 'r', InOutMode), |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 175 | (short, 'dh', InMode), |
| 176 | (short, 'dv', InMode), |
| 177 | ) |
| 178 | functions.append(f) |
| 179 | |
| 180 | f = Function(void, 'InsetRect', |
Jack Jansen | 54c8f7e | 1995-11-14 10:46:01 +0000 | [diff] [blame] | 181 | (Rect, 'r', InOutMode), |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 182 | (short, 'dh', InMode), |
| 183 | (short, 'dv', InMode), |
| 184 | ) |
| 185 | functions.append(f) |
| 186 | |
| 187 | f = Function(Boolean, 'SectRect', |
| 188 | (Rect_ptr, 'src1', InMode), |
| 189 | (Rect_ptr, 'src2', InMode), |
| 190 | (Rect, 'dstRect', OutMode), |
| 191 | ) |
| 192 | functions.append(f) |
| 193 | |
| 194 | f = Function(void, 'UnionRect', |
| 195 | (Rect_ptr, 'src1', InMode), |
| 196 | (Rect_ptr, 'src2', InMode), |
| 197 | (Rect, 'dstRect', OutMode), |
| 198 | ) |
| 199 | functions.append(f) |
| 200 | |
| 201 | f = Function(Boolean, 'EqualRect', |
| 202 | (Rect_ptr, 'rect1', InMode), |
| 203 | (Rect_ptr, 'rect2', InMode), |
| 204 | ) |
| 205 | functions.append(f) |
| 206 | |
| 207 | f = Function(Boolean, 'EmptyRect', |
| 208 | (Rect_ptr, 'r', InMode), |
| 209 | ) |
| 210 | functions.append(f) |
| 211 | |
| 212 | f = Function(void, 'FrameRect', |
| 213 | (Rect_ptr, 'r', InMode), |
| 214 | ) |
| 215 | functions.append(f) |
| 216 | |
| 217 | f = Function(void, 'PaintRect', |
| 218 | (Rect_ptr, 'r', InMode), |
| 219 | ) |
| 220 | functions.append(f) |
| 221 | |
| 222 | f = Function(void, 'EraseRect', |
| 223 | (Rect_ptr, 'r', InMode), |
| 224 | ) |
| 225 | functions.append(f) |
| 226 | |
| 227 | f = Function(void, 'InvertRect', |
| 228 | (Rect_ptr, 'r', InMode), |
| 229 | ) |
| 230 | functions.append(f) |
| 231 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 232 | f = Function(void, 'FillRect', |
| 233 | (Rect_ptr, 'r', InMode), |
| 234 | (Pattern_ptr, 'pat', InMode), |
| 235 | ) |
| 236 | functions.append(f) |
| 237 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 238 | f = Function(void, 'FrameOval', |
| 239 | (Rect_ptr, 'r', InMode), |
| 240 | ) |
| 241 | functions.append(f) |
| 242 | |
| 243 | f = Function(void, 'PaintOval', |
| 244 | (Rect_ptr, 'r', InMode), |
| 245 | ) |
| 246 | functions.append(f) |
| 247 | |
| 248 | f = Function(void, 'EraseOval', |
| 249 | (Rect_ptr, 'r', InMode), |
| 250 | ) |
| 251 | functions.append(f) |
| 252 | |
| 253 | f = Function(void, 'InvertOval', |
| 254 | (Rect_ptr, 'r', InMode), |
| 255 | ) |
| 256 | functions.append(f) |
| 257 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 258 | f = Function(void, 'FillOval', |
| 259 | (Rect_ptr, 'r', InMode), |
| 260 | (Pattern_ptr, 'pat', InMode), |
| 261 | ) |
| 262 | functions.append(f) |
| 263 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 264 | f = Function(void, 'FrameRoundRect', |
| 265 | (Rect_ptr, 'r', InMode), |
| 266 | (short, 'ovalWidth', InMode), |
| 267 | (short, 'ovalHeight', InMode), |
| 268 | ) |
| 269 | functions.append(f) |
| 270 | |
| 271 | f = Function(void, 'PaintRoundRect', |
| 272 | (Rect_ptr, 'r', InMode), |
| 273 | (short, 'ovalWidth', InMode), |
| 274 | (short, 'ovalHeight', InMode), |
| 275 | ) |
| 276 | functions.append(f) |
| 277 | |
| 278 | f = Function(void, 'EraseRoundRect', |
| 279 | (Rect_ptr, 'r', InMode), |
| 280 | (short, 'ovalWidth', InMode), |
| 281 | (short, 'ovalHeight', InMode), |
| 282 | ) |
| 283 | functions.append(f) |
| 284 | |
| 285 | f = Function(void, 'InvertRoundRect', |
| 286 | (Rect_ptr, 'r', InMode), |
| 287 | (short, 'ovalWidth', InMode), |
| 288 | (short, 'ovalHeight', InMode), |
| 289 | ) |
| 290 | functions.append(f) |
| 291 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 292 | f = Function(void, 'FillRoundRect', |
| 293 | (Rect_ptr, 'r', InMode), |
| 294 | (short, 'ovalWidth', InMode), |
| 295 | (short, 'ovalHeight', InMode), |
| 296 | (Pattern_ptr, 'pat', InMode), |
| 297 | ) |
| 298 | functions.append(f) |
| 299 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 300 | f = Function(void, 'FrameArc', |
| 301 | (Rect_ptr, 'r', InMode), |
| 302 | (short, 'startAngle', InMode), |
| 303 | (short, 'arcAngle', InMode), |
| 304 | ) |
| 305 | functions.append(f) |
| 306 | |
| 307 | f = Function(void, 'PaintArc', |
| 308 | (Rect_ptr, 'r', InMode), |
| 309 | (short, 'startAngle', InMode), |
| 310 | (short, 'arcAngle', InMode), |
| 311 | ) |
| 312 | functions.append(f) |
| 313 | |
| 314 | f = Function(void, 'EraseArc', |
| 315 | (Rect_ptr, 'r', InMode), |
| 316 | (short, 'startAngle', InMode), |
| 317 | (short, 'arcAngle', InMode), |
| 318 | ) |
| 319 | functions.append(f) |
| 320 | |
| 321 | f = Function(void, 'InvertArc', |
| 322 | (Rect_ptr, 'r', InMode), |
| 323 | (short, 'startAngle', InMode), |
| 324 | (short, 'arcAngle', InMode), |
| 325 | ) |
| 326 | functions.append(f) |
| 327 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 328 | f = Function(void, 'FillArc', |
| 329 | (Rect_ptr, 'r', InMode), |
| 330 | (short, 'startAngle', InMode), |
| 331 | (short, 'arcAngle', InMode), |
| 332 | (Pattern_ptr, 'pat', InMode), |
| 333 | ) |
| 334 | functions.append(f) |
| 335 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 336 | f = Function(RgnHandle, 'NewRgn', |
| 337 | ) |
| 338 | functions.append(f) |
| 339 | |
| 340 | f = Function(void, 'OpenRgn', |
| 341 | ) |
| 342 | functions.append(f) |
| 343 | |
| 344 | f = Function(void, 'CloseRgn', |
| 345 | (RgnHandle, 'dstRgn', InMode), |
| 346 | ) |
| 347 | functions.append(f) |
| 348 | |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 349 | f = Function(OSErr, 'BitMapToRegion', |
| 350 | (RgnHandle, 'region', InMode), |
| 351 | (BitMap_ptr, 'bMap', InMode), |
| 352 | ) |
| 353 | functions.append(f) |
| 354 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 355 | f = Function(void, 'DisposeRgn', |
| 356 | (RgnHandle, 'rgn', InMode), |
| 357 | ) |
| 358 | functions.append(f) |
| 359 | |
| 360 | f = Function(void, 'CopyRgn', |
| 361 | (RgnHandle, 'srcRgn', InMode), |
| 362 | (RgnHandle, 'dstRgn', InMode), |
| 363 | ) |
| 364 | functions.append(f) |
| 365 | |
| 366 | f = Function(void, 'SetEmptyRgn', |
| 367 | (RgnHandle, 'rgn', InMode), |
| 368 | ) |
| 369 | functions.append(f) |
| 370 | |
| 371 | f = Function(void, 'SetRectRgn', |
| 372 | (RgnHandle, 'rgn', InMode), |
| 373 | (short, 'left', InMode), |
| 374 | (short, 'top', InMode), |
| 375 | (short, 'right', InMode), |
| 376 | (short, 'bottom', InMode), |
| 377 | ) |
| 378 | functions.append(f) |
| 379 | |
| 380 | f = Function(void, 'RectRgn', |
| 381 | (RgnHandle, 'rgn', InMode), |
| 382 | (Rect_ptr, 'r', InMode), |
| 383 | ) |
| 384 | functions.append(f) |
| 385 | |
| 386 | f = Function(void, 'OffsetRgn', |
| 387 | (RgnHandle, 'rgn', InMode), |
| 388 | (short, 'dh', InMode), |
| 389 | (short, 'dv', InMode), |
| 390 | ) |
| 391 | functions.append(f) |
| 392 | |
| 393 | f = Function(void, 'InsetRgn', |
| 394 | (RgnHandle, 'rgn', InMode), |
| 395 | (short, 'dh', InMode), |
| 396 | (short, 'dv', InMode), |
| 397 | ) |
| 398 | functions.append(f) |
| 399 | |
| 400 | f = Function(void, 'SectRgn', |
| 401 | (RgnHandle, 'srcRgnA', InMode), |
| 402 | (RgnHandle, 'srcRgnB', InMode), |
| 403 | (RgnHandle, 'dstRgn', InMode), |
| 404 | ) |
| 405 | functions.append(f) |
| 406 | |
| 407 | f = Function(void, 'UnionRgn', |
| 408 | (RgnHandle, 'srcRgnA', InMode), |
| 409 | (RgnHandle, 'srcRgnB', InMode), |
| 410 | (RgnHandle, 'dstRgn', InMode), |
| 411 | ) |
| 412 | functions.append(f) |
| 413 | |
| 414 | f = Function(void, 'DiffRgn', |
| 415 | (RgnHandle, 'srcRgnA', InMode), |
| 416 | (RgnHandle, 'srcRgnB', InMode), |
| 417 | (RgnHandle, 'dstRgn', InMode), |
| 418 | ) |
| 419 | functions.append(f) |
| 420 | |
| 421 | f = Function(void, 'XorRgn', |
| 422 | (RgnHandle, 'srcRgnA', InMode), |
| 423 | (RgnHandle, 'srcRgnB', InMode), |
| 424 | (RgnHandle, 'dstRgn', InMode), |
| 425 | ) |
| 426 | functions.append(f) |
| 427 | |
| 428 | f = Function(Boolean, 'RectInRgn', |
| 429 | (Rect_ptr, 'r', InMode), |
| 430 | (RgnHandle, 'rgn', InMode), |
| 431 | ) |
| 432 | functions.append(f) |
| 433 | |
| 434 | f = Function(Boolean, 'EqualRgn', |
| 435 | (RgnHandle, 'rgnA', InMode), |
| 436 | (RgnHandle, 'rgnB', InMode), |
| 437 | ) |
| 438 | functions.append(f) |
| 439 | |
| 440 | f = Function(Boolean, 'EmptyRgn', |
| 441 | (RgnHandle, 'rgn', InMode), |
| 442 | ) |
| 443 | functions.append(f) |
| 444 | |
| 445 | f = Function(void, 'FrameRgn', |
| 446 | (RgnHandle, 'rgn', InMode), |
| 447 | ) |
| 448 | functions.append(f) |
| 449 | |
| 450 | f = Function(void, 'PaintRgn', |
| 451 | (RgnHandle, 'rgn', InMode), |
| 452 | ) |
| 453 | functions.append(f) |
| 454 | |
| 455 | f = Function(void, 'EraseRgn', |
| 456 | (RgnHandle, 'rgn', InMode), |
| 457 | ) |
| 458 | functions.append(f) |
| 459 | |
| 460 | f = Function(void, 'InvertRgn', |
| 461 | (RgnHandle, 'rgn', InMode), |
| 462 | ) |
| 463 | functions.append(f) |
| 464 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 465 | f = Function(void, 'FillRgn', |
| 466 | (RgnHandle, 'rgn', InMode), |
| 467 | (Pattern_ptr, 'pat', InMode), |
| 468 | ) |
| 469 | functions.append(f) |
| 470 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 471 | f = Function(void, 'ScrollRect', |
| 472 | (Rect_ptr, 'r', InMode), |
| 473 | (short, 'dh', InMode), |
| 474 | (short, 'dv', InMode), |
| 475 | (RgnHandle, 'updateRgn', InMode), |
| 476 | ) |
| 477 | functions.append(f) |
| 478 | |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 479 | f = Function(void, 'CopyBits', |
| 480 | (BitMap_ptr, 'srcBits', InMode), |
| 481 | (BitMap_ptr, 'dstBits', InMode), |
| 482 | (Rect_ptr, 'srcRect', InMode), |
| 483 | (Rect_ptr, 'dstRect', InMode), |
| 484 | (short, 'mode', InMode), |
Jack Jansen | 425e9eb | 1995-12-12 15:02:03 +0000 | [diff] [blame] | 485 | (OptRgnHandle, 'maskRgn', InMode), |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 486 | ) |
| 487 | functions.append(f) |
| 488 | |
| 489 | f = Function(void, 'CopyMask', |
| 490 | (BitMap_ptr, 'srcBits', InMode), |
| 491 | (BitMap_ptr, 'maskBits', InMode), |
| 492 | (BitMap_ptr, 'dstBits', InMode), |
| 493 | (Rect_ptr, 'srcRect', InMode), |
| 494 | (Rect_ptr, 'maskRect', InMode), |
| 495 | (Rect_ptr, 'dstRect', InMode), |
| 496 | ) |
| 497 | functions.append(f) |
| 498 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 499 | f = Function(PicHandle, 'OpenPicture', |
| 500 | (Rect_ptr, 'picFrame', InMode), |
| 501 | ) |
| 502 | functions.append(f) |
| 503 | |
| 504 | f = Function(void, 'PicComment', |
| 505 | (short, 'kind', InMode), |
| 506 | (short, 'dataSize', InMode), |
| 507 | (Handle, 'dataHandle', InMode), |
| 508 | ) |
| 509 | functions.append(f) |
| 510 | |
| 511 | f = Function(void, 'ClosePicture', |
| 512 | ) |
| 513 | functions.append(f) |
| 514 | |
| 515 | f = Function(void, 'DrawPicture', |
| 516 | (PicHandle, 'myPicture', InMode), |
| 517 | (Rect_ptr, 'dstRect', InMode), |
| 518 | ) |
| 519 | functions.append(f) |
| 520 | |
| 521 | f = Function(void, 'KillPicture', |
| 522 | (PicHandle, 'myPicture', InMode), |
| 523 | ) |
| 524 | functions.append(f) |
| 525 | |
| 526 | f = Function(PolyHandle, 'OpenPoly', |
| 527 | ) |
| 528 | functions.append(f) |
| 529 | |
| 530 | f = Function(void, 'ClosePoly', |
| 531 | ) |
| 532 | functions.append(f) |
| 533 | |
| 534 | f = Function(void, 'KillPoly', |
| 535 | (PolyHandle, 'poly', InMode), |
| 536 | ) |
| 537 | functions.append(f) |
| 538 | |
| 539 | f = Function(void, 'OffsetPoly', |
| 540 | (PolyHandle, 'poly', InMode), |
| 541 | (short, 'dh', InMode), |
| 542 | (short, 'dv', InMode), |
| 543 | ) |
| 544 | functions.append(f) |
| 545 | |
| 546 | f = Function(void, 'FramePoly', |
| 547 | (PolyHandle, 'poly', InMode), |
| 548 | ) |
| 549 | functions.append(f) |
| 550 | |
| 551 | f = Function(void, 'PaintPoly', |
| 552 | (PolyHandle, 'poly', InMode), |
| 553 | ) |
| 554 | functions.append(f) |
| 555 | |
| 556 | f = Function(void, 'ErasePoly', |
| 557 | (PolyHandle, 'poly', InMode), |
| 558 | ) |
| 559 | functions.append(f) |
| 560 | |
| 561 | f = Function(void, 'InvertPoly', |
| 562 | (PolyHandle, 'poly', InMode), |
| 563 | ) |
| 564 | functions.append(f) |
| 565 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 566 | f = Function(void, 'FillPoly', |
| 567 | (PolyHandle, 'poly', InMode), |
| 568 | (Pattern_ptr, 'pat', InMode), |
| 569 | ) |
| 570 | functions.append(f) |
| 571 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 572 | f = Function(void, 'SetPt', |
| 573 | (Point, 'pt', InOutMode), |
| 574 | (short, 'h', InMode), |
| 575 | (short, 'v', InMode), |
| 576 | ) |
| 577 | functions.append(f) |
| 578 | |
| 579 | f = Function(void, 'LocalToGlobal', |
| 580 | (Point, 'pt', InOutMode), |
| 581 | ) |
| 582 | functions.append(f) |
| 583 | |
| 584 | f = Function(void, 'GlobalToLocal', |
| 585 | (Point, 'pt', InOutMode), |
| 586 | ) |
| 587 | functions.append(f) |
| 588 | |
| 589 | f = Function(short, 'Random', |
| 590 | ) |
| 591 | functions.append(f) |
| 592 | |
| 593 | f = Function(Boolean, 'GetPixel', |
| 594 | (short, 'h', InMode), |
| 595 | (short, 'v', InMode), |
| 596 | ) |
| 597 | functions.append(f) |
| 598 | |
| 599 | f = Function(void, 'ScalePt', |
| 600 | (Point, 'pt', InOutMode), |
| 601 | (Rect_ptr, 'srcRect', InMode), |
| 602 | (Rect_ptr, 'dstRect', InMode), |
| 603 | ) |
| 604 | functions.append(f) |
| 605 | |
| 606 | f = Function(void, 'MapPt', |
| 607 | (Point, 'pt', InOutMode), |
| 608 | (Rect_ptr, 'srcRect', InMode), |
| 609 | (Rect_ptr, 'dstRect', InMode), |
| 610 | ) |
| 611 | functions.append(f) |
| 612 | |
| 613 | f = Function(void, 'MapRect', |
Jack Jansen | 54c8f7e | 1995-11-14 10:46:01 +0000 | [diff] [blame] | 614 | (Rect, 'r', InOutMode), |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 615 | (Rect_ptr, 'srcRect', InMode), |
| 616 | (Rect_ptr, 'dstRect', InMode), |
| 617 | ) |
| 618 | functions.append(f) |
| 619 | |
| 620 | f = Function(void, 'MapRgn', |
| 621 | (RgnHandle, 'rgn', InMode), |
| 622 | (Rect_ptr, 'srcRect', InMode), |
| 623 | (Rect_ptr, 'dstRect', InMode), |
| 624 | ) |
| 625 | functions.append(f) |
| 626 | |
| 627 | f = Function(void, 'MapPoly', |
| 628 | (PolyHandle, 'poly', InMode), |
| 629 | (Rect_ptr, 'srcRect', InMode), |
| 630 | (Rect_ptr, 'dstRect', InMode), |
| 631 | ) |
| 632 | functions.append(f) |
| 633 | |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 634 | f = Function(void, 'StdBits', |
| 635 | (BitMap_ptr, 'srcBits', InMode), |
| 636 | (Rect_ptr, 'srcRect', InMode), |
| 637 | (Rect_ptr, 'dstRect', InMode), |
| 638 | (short, 'mode', InMode), |
Jack Jansen | 425e9eb | 1995-12-12 15:02:03 +0000 | [diff] [blame] | 639 | (OptRgnHandle, 'maskRgn', InMode), |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 640 | ) |
| 641 | functions.append(f) |
| 642 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 643 | f = Function(void, 'AddPt', |
| 644 | (Point, 'src', InMode), |
| 645 | (Point, 'dst', InOutMode), |
| 646 | ) |
| 647 | functions.append(f) |
| 648 | |
| 649 | f = Function(Boolean, 'EqualPt', |
| 650 | (Point, 'pt1', InMode), |
| 651 | (Point, 'pt2', InMode), |
| 652 | ) |
| 653 | functions.append(f) |
| 654 | |
| 655 | f = Function(Boolean, 'PtInRect', |
| 656 | (Point, 'pt', InMode), |
| 657 | (Rect_ptr, 'r', InMode), |
| 658 | ) |
| 659 | functions.append(f) |
| 660 | |
| 661 | f = Function(void, 'Pt2Rect', |
| 662 | (Point, 'pt1', InMode), |
| 663 | (Point, 'pt2', InMode), |
| 664 | (Rect, 'dstRect', OutMode), |
| 665 | ) |
| 666 | functions.append(f) |
| 667 | |
| 668 | f = Function(void, 'PtToAngle', |
| 669 | (Rect_ptr, 'r', InMode), |
| 670 | (Point, 'pt', InMode), |
| 671 | (short, 'angle', OutMode), |
| 672 | ) |
| 673 | functions.append(f) |
| 674 | |
Jack Jansen | b81cf9d | 1995-06-06 13:08:40 +0000 | [diff] [blame] | 675 | f = Function(void, 'SubPt', |
| 676 | (Point, 'src', InMode), |
| 677 | (Point, 'dst', InOutMode), |
| 678 | ) |
| 679 | functions.append(f) |
| 680 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 681 | f = Function(Boolean, 'PtInRgn', |
| 682 | (Point, 'pt', InMode), |
| 683 | (RgnHandle, 'rgn', InMode), |
| 684 | ) |
| 685 | functions.append(f) |
| 686 | |
| 687 | f = Function(PixMapHandle, 'NewPixMap', |
| 688 | ) |
| 689 | functions.append(f) |
| 690 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 691 | f = Function(void, 'DisposePixMap', |
| 692 | (PixMapHandle, 'pm', InMode), |
| 693 | ) |
| 694 | functions.append(f) |
| 695 | |
| 696 | f = Function(void, 'CopyPixMap', |
| 697 | (PixMapHandle, 'srcPM', InMode), |
| 698 | (PixMapHandle, 'dstPM', InMode), |
| 699 | ) |
| 700 | functions.append(f) |
| 701 | |
| 702 | f = Function(PixPatHandle, 'NewPixPat', |
| 703 | ) |
| 704 | functions.append(f) |
| 705 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 706 | f = Function(void, 'DisposePixPat', |
| 707 | (PixPatHandle, 'pp', InMode), |
| 708 | ) |
| 709 | functions.append(f) |
| 710 | |
| 711 | f = Function(void, 'CopyPixPat', |
| 712 | (PixPatHandle, 'srcPP', InMode), |
| 713 | (PixPatHandle, 'dstPP', InMode), |
| 714 | ) |
| 715 | functions.append(f) |
| 716 | |
| 717 | f = Function(void, 'PenPixPat', |
| 718 | (PixPatHandle, 'pp', InMode), |
| 719 | ) |
| 720 | functions.append(f) |
| 721 | |
| 722 | f = Function(void, 'BackPixPat', |
| 723 | (PixPatHandle, 'pp', InMode), |
| 724 | ) |
| 725 | functions.append(f) |
| 726 | |
| 727 | f = Function(PixPatHandle, 'GetPixPat', |
| 728 | (short, 'patID', InMode), |
| 729 | ) |
| 730 | functions.append(f) |
| 731 | |
Jack Jansen | 232f3cd | 1995-12-09 14:04:31 +0000 | [diff] [blame] | 732 | f = Function(void, 'MakeRGBPat', |
| 733 | (PixPatHandle, 'pp', InMode), |
| 734 | (RGBColor_ptr, 'myColor', InMode), |
| 735 | ) |
| 736 | functions.append(f) |
| 737 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 738 | f = Function(void, 'FillCRect', |
| 739 | (Rect_ptr, 'r', InMode), |
| 740 | (PixPatHandle, 'pp', InMode), |
| 741 | ) |
| 742 | functions.append(f) |
| 743 | |
| 744 | f = Function(void, 'FillCOval', |
| 745 | (Rect_ptr, 'r', InMode), |
| 746 | (PixPatHandle, 'pp', InMode), |
| 747 | ) |
| 748 | functions.append(f) |
| 749 | |
| 750 | f = Function(void, 'FillCRoundRect', |
| 751 | (Rect_ptr, 'r', InMode), |
| 752 | (short, 'ovalWidth', InMode), |
| 753 | (short, 'ovalHeight', InMode), |
| 754 | (PixPatHandle, 'pp', InMode), |
| 755 | ) |
| 756 | functions.append(f) |
| 757 | |
| 758 | f = Function(void, 'FillCArc', |
| 759 | (Rect_ptr, 'r', InMode), |
| 760 | (short, 'startAngle', InMode), |
| 761 | (short, 'arcAngle', InMode), |
| 762 | (PixPatHandle, 'pp', InMode), |
| 763 | ) |
| 764 | functions.append(f) |
| 765 | |
| 766 | f = Function(void, 'FillCRgn', |
| 767 | (RgnHandle, 'rgn', InMode), |
| 768 | (PixPatHandle, 'pp', InMode), |
| 769 | ) |
| 770 | functions.append(f) |
| 771 | |
| 772 | f = Function(void, 'FillCPoly', |
| 773 | (PolyHandle, 'poly', InMode), |
| 774 | (PixPatHandle, 'pp', InMode), |
| 775 | ) |
| 776 | functions.append(f) |
| 777 | |
Jack Jansen | 232f3cd | 1995-12-09 14:04:31 +0000 | [diff] [blame] | 778 | f = Function(void, 'RGBForeColor', |
| 779 | (RGBColor_ptr, 'color', InMode), |
| 780 | ) |
| 781 | functions.append(f) |
| 782 | |
| 783 | f = Function(void, 'RGBBackColor', |
| 784 | (RGBColor_ptr, 'color', InMode), |
| 785 | ) |
| 786 | functions.append(f) |
| 787 | |
| 788 | f = Function(void, 'SetCPixel', |
| 789 | (short, 'h', InMode), |
| 790 | (short, 'v', InMode), |
| 791 | (RGBColor_ptr, 'cPix', InMode), |
| 792 | ) |
| 793 | functions.append(f) |
| 794 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 795 | f = Function(void, 'SetPortPix', |
| 796 | (PixMapHandle, 'pm', InMode), |
| 797 | ) |
| 798 | functions.append(f) |
| 799 | |
Jack Jansen | 232f3cd | 1995-12-09 14:04:31 +0000 | [diff] [blame] | 800 | f = Function(void, 'GetCPixel', |
| 801 | (short, 'h', InMode), |
| 802 | (short, 'v', InMode), |
| 803 | (RGBColor, 'cPix', OutMode), |
| 804 | ) |
| 805 | functions.append(f) |
| 806 | |
| 807 | f = Function(void, 'GetForeColor', |
| 808 | (RGBColor, 'color', OutMode), |
| 809 | ) |
| 810 | functions.append(f) |
| 811 | |
| 812 | f = Function(void, 'GetBackColor', |
| 813 | (RGBColor, 'color', OutMode), |
| 814 | ) |
| 815 | functions.append(f) |
| 816 | |
| 817 | f = Function(void, 'OpColor', |
| 818 | (RGBColor_ptr, 'color', InMode), |
| 819 | ) |
| 820 | functions.append(f) |
| 821 | |
| 822 | f = Function(void, 'HiliteColor', |
| 823 | (RGBColor_ptr, 'color', InMode), |
| 824 | ) |
| 825 | functions.append(f) |
| 826 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 827 | f = Function(void, 'AllocCursor', |
| 828 | ) |
| 829 | functions.append(f) |
| 830 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 831 | f = Function(long, 'GetCTSeed', |
| 832 | ) |
| 833 | functions.append(f) |
| 834 | |
Jack Jansen | 232f3cd | 1995-12-09 14:04:31 +0000 | [diff] [blame] | 835 | f = Function(long, 'Color2Index', |
| 836 | (RGBColor_ptr, 'myColor', InMode), |
| 837 | ) |
| 838 | functions.append(f) |
| 839 | |
| 840 | f = Function(void, 'Index2Color', |
| 841 | (long, 'index', InMode), |
| 842 | (RGBColor, 'aColor', OutMode), |
| 843 | ) |
| 844 | functions.append(f) |
| 845 | |
| 846 | f = Function(void, 'InvertColor', |
| 847 | (RGBColor, 'myColor', OutMode), |
| 848 | ) |
| 849 | functions.append(f) |
| 850 | |
| 851 | f = Function(Boolean, 'RealColor', |
| 852 | (RGBColor_ptr, 'color', InMode), |
| 853 | ) |
| 854 | functions.append(f) |
| 855 | |
Guido van Rossum | e56db43 | 1995-03-19 22:49:50 +0000 | [diff] [blame] | 856 | f = Function(void, 'SetClientID', |
| 857 | (short, 'id', InMode), |
| 858 | ) |
| 859 | functions.append(f) |
| 860 | |
| 861 | f = Function(void, 'ProtectEntry', |
| 862 | (short, 'index', InMode), |
| 863 | (Boolean, 'protect', InMode), |
| 864 | ) |
| 865 | functions.append(f) |
| 866 | |
| 867 | f = Function(void, 'ReserveEntry', |
| 868 | (short, 'index', InMode), |
| 869 | (Boolean, 'reserve', InMode), |
| 870 | ) |
| 871 | functions.append(f) |
| 872 | |
| 873 | f = Function(short, 'QDError', |
| 874 | ) |
| 875 | functions.append(f) |
| 876 | |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 877 | f = Function(void, 'CopyDeepMask', |
| 878 | (BitMap_ptr, 'srcBits', InMode), |
| 879 | (BitMap_ptr, 'maskBits', InMode), |
| 880 | (BitMap_ptr, 'dstBits', InMode), |
| 881 | (Rect_ptr, 'srcRect', InMode), |
| 882 | (Rect_ptr, 'maskRect', InMode), |
| 883 | (Rect_ptr, 'dstRect', InMode), |
| 884 | (short, 'mode', InMode), |
Jack Jansen | 425e9eb | 1995-12-12 15:02:03 +0000 | [diff] [blame] | 885 | (OptRgnHandle, 'maskRgn', InMode), |
Jack Jansen | 41058c0 | 1995-11-16 22:48:29 +0000 | [diff] [blame] | 886 | ) |
| 887 | functions.append(f) |
| 888 | |
Jack Jansen | 54c8f7e | 1995-11-14 10:46:01 +0000 | [diff] [blame] | 889 | f = Function(PatHandle, 'GetPattern', |
| 890 | (short, 'patternID', InMode), |
| 891 | ) |
| 892 | functions.append(f) |
| 893 | |
| 894 | f = Function(CursHandle, 'GetCursor', |
| 895 | (short, 'cursorID', InMode), |
| 896 | ) |
| 897 | functions.append(f) |
| 898 | |
| 899 | f = Function(PicHandle, 'GetPicture', |
| 900 | (short, 'pictureID', InMode), |
| 901 | ) |
| 902 | functions.append(f) |
| 903 | |
| 904 | f = Function(long, 'DeltaPoint', |
| 905 | (Point, 'ptA', InMode), |
| 906 | (Point, 'ptB', InMode), |
| 907 | ) |
| 908 | functions.append(f) |
| 909 | |
| 910 | f = Function(void, 'ShieldCursor', |
| 911 | (Rect_ptr, 'shieldRect', InMode), |
| 912 | (Point, 'offsetPt', InMode), |
| 913 | ) |
| 914 | functions.append(f) |
| 915 | |
| 916 | f = Function(void, 'ScreenRes', |
| 917 | (short, 'scrnHRes', OutMode), |
| 918 | (short, 'scrnVRes', OutMode), |
| 919 | ) |
| 920 | functions.append(f) |
| 921 | |
Jack Jansen | 04a02e7 | 1996-01-06 17:12:58 +0000 | [diff] [blame^] | 922 | f = Function(void, 'GetIndPattern', |
| 923 | (Pattern, 'thePat', OutMode), |
| 924 | (short, 'patternListID', InMode), |
| 925 | (short, 'index', InMode), |
| 926 | ) |
| 927 | functions.append(f) |
| 928 | |
Jack Jansen | 54c8f7e | 1995-11-14 10:46:01 +0000 | [diff] [blame] | 929 | # Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:QuickDrawText.h' |
Jack Jansen | b81cf9d | 1995-06-06 13:08:40 +0000 | [diff] [blame] | 930 | |
| 931 | f = Function(void, 'TextFont', |
| 932 | (short, 'font', InMode), |
| 933 | ) |
| 934 | functions.append(f) |
| 935 | |
| 936 | f = Function(void, 'TextFace', |
| 937 | (short, 'face', InMode), |
| 938 | ) |
| 939 | functions.append(f) |
| 940 | |
| 941 | f = Function(void, 'TextMode', |
| 942 | (short, 'mode', InMode), |
| 943 | ) |
| 944 | functions.append(f) |
| 945 | |
| 946 | f = Function(void, 'TextSize', |
| 947 | (short, 'size', InMode), |
| 948 | ) |
| 949 | functions.append(f) |
| 950 | |
| 951 | f = Function(void, 'SpaceExtra', |
| 952 | (Fixed, 'extra', InMode), |
| 953 | ) |
| 954 | functions.append(f) |
| 955 | |
| 956 | f = Function(void, 'DrawChar', |
| 957 | (short, 'ch', InMode), |
| 958 | ) |
| 959 | functions.append(f) |
| 960 | |
| 961 | f = Function(void, 'DrawString', |
| 962 | (ConstStr255Param, 's', InMode), |
| 963 | ) |
| 964 | functions.append(f) |
| 965 | |
| 966 | f = Function(void, 'DrawText', |
| 967 | (TextThingie, 'textBuf', InMode), |
| 968 | (short, 'firstByte', InMode), |
| 969 | (short, 'byteCount', InMode), |
| 970 | ) |
| 971 | functions.append(f) |
| 972 | |
| 973 | f = Function(short, 'CharWidth', |
| 974 | (short, 'ch', InMode), |
| 975 | ) |
| 976 | functions.append(f) |
| 977 | |
| 978 | f = Function(short, 'StringWidth', |
| 979 | (ConstStr255Param, 's', InMode), |
| 980 | ) |
| 981 | functions.append(f) |
| 982 | |
| 983 | f = Function(short, 'TextWidth', |
| 984 | (TextThingie, 'textBuf', InMode), |
| 985 | (short, 'firstByte', InMode), |
| 986 | (short, 'byteCount', InMode), |
| 987 | ) |
| 988 | functions.append(f) |
| 989 | |
| 990 | f = Function(void, 'CharExtra', |
| 991 | (Fixed, 'extra', InMode), |
| 992 | ) |
| 993 | functions.append(f) |
| 994 | |