Important: The information in this document is obsolete and should not be used for new development.
SetPortPixAlthough you should never need to do so, you can set the pixel map for the current color graphics port by using the
PROCEDURE SetPortPix (pm: PixMapHandle);
- A handle to the
SetPortPixprocedure replaces the
portPixMapfield of the current
CGrafPortrecord with the handle you specify in the
SetPortPixprocedure is analogous to the basic QuickDraw procedure
SetPortBits, which sets the bitmap for the current basic graphics port. The
SetPortPixprocedure has no effect when used with a basic graphics port. Similarly,
SetPortBitshas no effect when used with a color graphics port.
SetPortBitsallow you to perform drawing and calculations on a buffer other than the screen. However, instead of using these procedures, you should use the offscreen graphics capabilities described in the chapter "Offscreen Graphics Worlds."