Important: The information in this document is obsolete and should not be used for new development.
StdBits
TheStdBitsprocedure is QuickDraw's standard low-level routine for doing bit and pixel transfer.
PROCEDURE StdBits (VAR srcBits:\xDDBitMap; VAR srcRect,dstRect:\xDDRect; mode:\xDDInteger; maskRgn:\xDDRgnHandle);
srcBits- A bitmap or pixel map containing the image to copy.
srcRect- The source rectangle.
dstRect- The destination rectangle.
mode- The source mode for the copy
.maskRgn- A handle to a region acting as a mask for the transfer.
DESCRIPTION
TheStdBitsprocedure transfers a bit or pixel image between the bitmap or pixel map specified in thesrcBitsparameter and bitmap of the current graphics port, just as if theCopyBitsprocedure were called with the same parameters and with a destination bitmap equal tothePort^.portBits.SPECIAL CONSIDERATIONS
TheStdBitsprocedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
See the description of theCopyBitsprocedure beginning on page 3-108 for a discussion of the destination bitmap and of thesrcBits,srcRect,dstRect,mode, andmaskRgnparameters.