Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC
Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Customizing QuickDraw Operations


The StdBits procedure is QuickDraw's standard low-level routine for doing bit and pixel transfer.

PROCEDURE StdBits (VAR srcBits:›BitMap; VAR srcRect,dstRect:›Rect; 
                   mode:›Integer; maskRgn:›RgnHandle);
A bitmap or pixel map containing the image to copy.
The source rectangle.
The destination rectangle.
The source mode for the copy.
A handle to a region acting as a mask for the transfer.
The StdBits procedure transfers a bit or pixel image between the bitmap or pixel map specified in the srcBits parameter and bitmap of the current graphics port, just as if the CopyBits procedure were called with the same parameters and with a destination bitmap equal to thePort^.portBits.

The StdBits procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.

See the description of the CopyBits procedure beginning on page 3-108 for a discussion of the destination bitmap and of the srcBits, srcRect, dstRect, mode, and maskRgn parameters.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice