Important: The information in this document is obsolete and should not be used for new development.
SetPortBits
Although you should never need to do so, you can set the bitmap for the current basic graphics port by using theSetPortBits
procedure.
PROCEDURE SetPortBits (bm:\xDDBitMap);
bm
- A
BitMap
record.DESCRIPTION
TheSetPortBits
procedure sets theportBits
field of the current graphics port to any previously defined bitmap. Be sure to prepare all fields of theBitMap
record before you callSetPortBits
.SPECIAL CONSIDERATIONS
TheSetPortBits
procedure, created in early versions of QuickDraw, allows you to perform all normal drawing and calculations on a buffer other than the screen--for example, copying a small offscreen image onto the screen with theCopyBits
procedure. However, instead of usingSetPortBits
, you should use the more powerful offscreen graphics capabilities described in the chapter "Offscreen Graphics Worlds."