Important: The information in this document is obsolete and should not be used for new development.
SetStdProcs
You can use theSetStdProcs
procedure to get aQDProcs
record with fields that point to basic QuickDraw's standard low-level routines. You can replace these low-level routines with your own, and then point to your modifiedQDProcs
record in thegrafProcs
field of aGrafPort
record to change basic QuickDraw's standard low-level behavior.
PROCEDURE SetStdProcs (VAR procs:\xDDQDProcs);
procs
- Upon completion, a
QDProcs
record with fields that point to basic QuickDraw's standard low-level routines.DESCRIPTION
In theprocs
parameter, theSetStdProcs
procedure returns aQDProcs
record with fields that point to the standard low-level routines. You can change one or more fields of this record to point to your own routines and then set the basic graphics port to use this modifiedQDProcs
record.The routines you install in this
QDProcs
record must have the same calling sequences as the standard routines, which are described in the rest of this section.SPECIAL CONSIDERATIONS
The Color QuickDraw procedureSetStdCProcs
is analogous to theSetStdProcs
procedure, which you should use with computers that support only basic QuickDraw. When drawing in a color graphics port, your application must always useSetStdCProcs
instead ofSetStdProcs
.SEE ALSO
The data structure of typeQDProcs
is described on page 3-35. TheSetStdCProcs
procedure is described in the chapter "Color QuickDraw."The chapter "Pictures" in this book describes how to replace the low-level routines that read and write pictures.