Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Managing the Graphics Pen


SetPenState

To restore the state of the graphics pen that was saved with the GetPenState procedure, use the SetPenState procedure.

PROCEDURE SetPenState (pnState: PenState); 
pnState
A PenState record previously created with the GetPenState procedure.
DESCRIPTION
The SetPenState procedure sets the graphics pen's location, size, pattern, and pattern mode in the current graphics port to the values stored in the PenState record that you specify in the pnState parameter.

SEE ALSO
The PenState record is described on page 3-33.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996