CQDProcs
You need to use theCQDProcsrecord only if you customize one or more of QuickDraw's standard low-level drawing routines, which are described in the chapter "QuickDraw Drawing." You can use theSetStdCProcsprocedure, described on page 4-87, to create aCQDProcsrecord.
CQDProcsPtr = ^CQDProcs CQDProcs = RECORD textProc: Ptr; {text drawing} lineProc: Ptr; {line drawing} rectProc: Ptr; {rectangle drawing} rRectProc: Ptr; {roundRect drawing} ovalProc: Ptr; {oval drawing} arcProc: Ptr; {arc/wedge drawing} polyProc: Ptr; {polygon drawing} rgnProc: Ptr; {region drawing} bitsProc: Ptr; {bit transfer} commentProc: Ptr; {picture comment processing} txMeasProc: Ptr; {text width measurement} getPicProc: Ptr; {picture retrieval} putPicProc: Ptr; {picture saving} opcodeProc: Ptr; {reserved for future use} newProc1: Ptr; {reserved for future use} newProc2: Ptr; {reserved for future use} newProc3: Ptr; {reserved for future use} newProc4: Ptr; {reserved for future use} newProc5: Ptr; {reserved for future use} newProc6: Ptr; {reserved for future use} END;
Field Description
textProc- A pointer to the low-level routine that draws text. The standard QuickDraw routine is the
StdTextprocedure.lineProc- A pointer to the low-level routine that draws lines. The standard QuickDraw routine is the
StdLineprocedure.rectProc- A pointer to the low-level routine that draws rectangles. The standard QuickDraw routine is the
StdRectprocedure.rRectProc- A pointer to the low-level routine that draws rounded rectangles. The standard QuickDraw routine is the
StdRRectprocedure.ovalProc- A pointer to the low-level routine that draws ovals. The standard QuickDraw routine is the
StdOvalprocedure.arcProc- A pointer to the low-level routine that draws arcs. The standard QuickDraw routine is the
StdArcprocedure.polyProc- A pointer to the low-level routine that draws polygons. The standard QuickDraw routine is the
StdPolyprocedure.rgnProc- A pointer to the low-level routine that draws regions. The standard QuickDraw routine is the
StdRgnprocedure.bitsProc- A pointer to the low-level routine that copies bitmaps. The standard QuickDraw routine is the
StdBitsprocedure.commentProc- A pointer to the low-level routine for processing a picture comment. The standard QuickDraw routine is the
StdCommentprocedure.txMeasProc- A pointer to the low-level routine for measuring text width. The standard QuickDraw routine is the
StdTxMeasfunction.getPicProc- A pointer to the low-level routine for retrieving information from the definition of a picture. The standard QuickDraw routine is the
StdGetPicprocedure.putPicProc- A pointer to the low-level routine for saving information as the definition of a picture. The standard QuickDraw routine is the
StdPutPicprocedure.opcodeProc- Reserved for future use.
newProc1- Reserved for future use.
newProc2- Reserved for future use.
newProc3- Reserved for future use.
newProc4- Reserved for future use.
newProc5- Reserved for future use.
newProc6- Reserved for future use.