Important: The information in this document is obsolete and should not be used for new development.
SetStdCProcsYou can use the
SetStdCProcsprocedure to get a
CQDProcsrecord with fields that point to Color QuickDraw's standard low-level routines. You can replace these low-level routines with your own, and then point to your modified
CQDProcsrecord in the
grafProcsfield of a
CGrafPortrecord to change Color QuickDraw's standard low-level behavior.
PROCEDURE SetStdCProcs (VAR cProcs: CQDProcs);
- Upon completion, a
CQDProcsrecord with fields that point to Color QuickDraw's standard low-level routines.
SetStdCProcsprocedure returns a
CQDProcsrecord with fields that point to the standard low-level routines. You can change one or more fields to point to your own routines and then set the color graphics port to use this modified
SPECIAL CONSIDERATIONSWhen drawing in a color graphics port, your application must always use
SEE ALSOThe routines you install in the
CQDProcsrecord must have the same calling sequences as the standard basic QuickDraw routines, which are described in the chapter "QuickDraw Drawing" in this book. The
SetStdProcsprocedure is also described in the chapter "QuickDraw Drawing."
The chapter "Pictures" in this book describes how to replace the low-level routines that read and write pictures.
The data structure of type
CQDProcsis described on page 4-51.