Important: The information in this document is obsolete and should not be used for new development.
SetStdProcsYou can use the
SetStdProcsprocedure to get a
QDProcsrecord 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 modified
QDProcsrecord in the
grafProcsfield of a
GrafPortrecord to change basic QuickDraw's standard low-level behavior.
PROCEDURE SetStdProcs (VAR procs:\xDDQDProcs);
- Upon completion, a
QDProcsrecord with fields that point to basic QuickDraw's standard low-level routines.
SetStdProcsprocedure returns a
QDProcsrecord 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 modified
The routines you install in this
QDProcsrecord must have the same calling sequences as the standard routines, which are described in the rest of this section.
SPECIAL CONSIDERATIONSThe Color QuickDraw procedure
SetStdCProcsis analogous to the
SetStdProcsprocedure, which you should use with computers that support only basic QuickDraw. When drawing in a color graphics port, your application must always use
SEE ALSOThe data structure of type
QDProcsis described on page 3-35. The
SetStdCProcsprocedure 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.