Important: The information in this document is obsolete and should not be used for new development.
GetPenStateTo determine the graphics pen's location, size, pattern, and pattern mode, you can use the
PROCEDURE GetPenState (VAR pnState: PenState);
PenStaterecord for holding information about the graphics pen.
GetPenStateprocedure saves the location, size, pattern, and pattern mode of the graphics pen for the current graphics port in a
PenStaterecord, which the
GetPenStateprocedure returns in the
After changing the graphics pen as necessary, you can later restore these pen states with the
SetPenStateprocedure (described next).
PenStaterecord is described on page 3-33.