![]() |
QDProcs |
Header: Quickdraw.h |
struct QDProcs { QDTextUPP textProc; QDLineUPP lineProc; QDRectUPP rectProc; QDRRectUPP rRectProc; QDOvalUPP ovalProc; QDArcUPP arcProc; QDPolyUPP polyProc; QDRgnUPP rgnProc; QDBitsUPP bitsProc; QDCommentUPP commentProc; QDTxMeasUPP txMeasProc; QDGetPicUPP getPicProc; QDPutPicUPP putPicProc; }; typedef QDProcs QDProcsPtr;
A pointer to the low-level function that draws text. The standard QuickDraw function is the StdText function.
A pointer to the low-level function that draws lines. The standard QuickDraw function is the StdLine function.
A pointer to the low-level function that draws rectangles. The standard QuickDraw function is the StdRect function.
A pointer to the low-level function that draws rounded rectangles. The standard QuickDraw function is the StdRRect function.
A pointer to the low-level function that draws ovals. The standard QuickDraw function is the StdOval function.
A pointer to the low-level function that draws arcs. The standard QuickDraw function is the StdArc function.
A pointer to the low-level function that draws polygons. The standard QuickDraw function is the StdPoly function.
A pointer to the low-level function that draws regions. The standard QuickDraw function is the StdRgn function.
A pointer to the low-level function that copies bitmaps. The standard QuickDraw function is the StdBits function.
A pointer to the low-level function for processing a picture comment. The standard QuickDraw function is the StdComment function.
A pointer to the low-level function for measuring text width. The standard QuickDraw function is the StdTxMeas function.
A pointer to the low-level function for retrieving information from the definition of a picture. The standard QuickDraw function is the StdGetPic function.
A pointer to the low-level function for saving information as the definition of a picture. The standard QuickDraw function is the StdPutPic function.
You need to use the QDProcs structure only if you customize one or more of QuickDraws low-level drawing functions. Use SetStdProcs to create a QDProcs structure.
The QDProcs structure contains pointers to low-level drawing functions. You can change the fields of this structure to point to functions of your own devising.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)