diff options
Diffstat (limited to 'Mac/Modules/qd/qdgen.py')
-rw-r--r-- | Mac/Modules/qd/qdgen.py | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Mac/Modules/qd/qdgen.py b/Mac/Modules/qd/qdgen.py index 3394b5b..83479d1 100644 --- a/Mac/Modules/qd/qdgen.py +++ b/Mac/Modules/qd/qdgen.py @@ -15,6 +15,11 @@ f = Function(void, 'GrafDevice', ) functions.append(f) +f = Function(void, 'SetPortBits', + (BitMap_ptr, 'bm', InMode), +) +functions.append(f) + f = Function(void, 'PortSize', (short, 'width', InMode), (short, 'height', InMode), @@ -288,6 +293,12 @@ f = Function(void, 'CloseRgn', ) functions.append(f) +f = Function(OSErr, 'BitMapToRegion', + (RgnHandle, 'region', InMode), + (BitMap_ptr, 'bMap', InMode), +) +functions.append(f) + f = Function(void, 'DisposeRgn', (RgnHandle, 'rgn', InMode), ) @@ -406,6 +417,26 @@ f = Function(void, 'ScrollRect', ) functions.append(f) +f = Function(void, 'CopyBits', + (BitMap_ptr, 'srcBits', InMode), + (BitMap_ptr, 'dstBits', InMode), + (Rect_ptr, 'srcRect', InMode), + (Rect_ptr, 'dstRect', InMode), + (short, 'mode', InMode), + (RgnHandle, 'maskRgn', InMode), +) +functions.append(f) + +f = Function(void, 'CopyMask', + (BitMap_ptr, 'srcBits', InMode), + (BitMap_ptr, 'maskBits', InMode), + (BitMap_ptr, 'dstBits', InMode), + (Rect_ptr, 'srcRect', InMode), + (Rect_ptr, 'maskRect', InMode), + (Rect_ptr, 'dstRect', InMode), +) +functions.append(f) + f = Function(PicHandle, 'OpenPicture', (Rect_ptr, 'picFrame', InMode), ) @@ -535,6 +566,15 @@ f = Function(void, 'MapPoly', ) functions.append(f) +f = Function(void, 'StdBits', + (BitMap_ptr, 'srcBits', InMode), + (Rect_ptr, 'srcRect', InMode), + (Rect_ptr, 'dstRect', InMode), + (short, 'mode', InMode), + (RgnHandle, 'maskRgn', InMode), +) +functions.append(f) + f = Function(void, 'AddPt', (Point, 'src', InMode), (Point, 'dst', InOutMode), @@ -698,6 +738,18 @@ f = Function(short, 'QDError', ) functions.append(f) +f = Function(void, 'CopyDeepMask', + (BitMap_ptr, 'srcBits', InMode), + (BitMap_ptr, 'maskBits', InMode), + (BitMap_ptr, 'dstBits', InMode), + (Rect_ptr, 'srcRect', InMode), + (Rect_ptr, 'maskRect', InMode), + (Rect_ptr, 'dstRect', InMode), + (short, 'mode', InMode), + (RgnHandle, 'maskRgn', InMode), +) +functions.append(f) + f = Function(PatHandle, 'GetPattern', (short, 'patternID', InMode), ) |