Important: The information in this document is obsolete and should not be used for new development.
StdBits
TheStdBits
procedure 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
TheStdBits
procedure transfers a bit or pixel image between the bitmap or pixel map specified in thesrcBits
parameter and bitmap of the current graphics port, just as if theCopyBits
procedure were called with the same parameters and with a destination bitmap equal tothePort^.portBits
.SPECIAL CONSIDERATIONS
TheStdBits
procedure 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 theCopyBits
procedure beginning on page 3-108 for a discussion of the destination bitmap and of thesrcBits
,srcRect
,dstRect
,mode
, andmaskRgn
parameters.