Carbon


CQDProcs

Header: Quickdraw.h

struct CQDProcs {
    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; 
    QDOpcodeUPP opcodeProc; 
    UniversalProcPtr newProc1; 
    QDStdGlyphsUPP glyphsProc; 
    QDPrinterStatusUPP printerStatusProc; 
    UniversalProcPtr newProc4; 
    UniversalProcPtr newProc5; 
    UniversalProcPtr newProc6;
};
typedef CQDProcs CQDProcsPtr;

Field descriptions

textProc

A pointer to the low-level function that draws text. The standard QuickDraw function is the StdText function.

lineProc

A pointer to the low-level function that draws lines. The standard QuickDraw function is the StdLine function.

rectProc

A pointer to the low-level function that draws rectangles. The standard QuickDraw function is the StdRect function.

rRectProc

A pointer to the low-level function that draws rounded rectangles. The standard QuickDraw function is the StdRRect function.

ovalProc

A pointer to the low-level function that draws ovals. The standard QuickDraw function is the StdOval function.

arcProc

A pointer to the low-level function that draws arcs. The standard QuickDraw function is the StdArc function.

polyProc

A pointer to the low-level function that draws polygons. The standard QuickDraw function is the StdPoly function.

rgnProc

A pointer to the low-level function that draws regions. The standard QuickDraw function is the StdRgn function.

bitsProc

A pointer to the low-level function that copies bitmaps. The standard QuickDraw function is the StdBits function.

commentProc

A pointer to the low-level function for processing a picture comment. The standard QuickDraw function is the StdComment function.

txMeasProc

A pointer to the low-level function for measuring text width. The standard QuickDraw function is the StdTxMeas function.

getPicProc

A pointer to the low-level function for retrieving information from the definition of a picture. The standard QuickDraw function is the StdGetPic function.

putPicProc

A pointer to the low-level function for saving information as the definition of a picture. The standard QuickDraw function is the StdPutPic function.

opcodeProc

Reserved for future use.

newProc1

Reserved for future use.

glyphsProc

Reserved for future use.

printerStatusProc

Reserved for future use.

newProc4

Reserved for future use.

newProc5

Reserved for future use.

newProc6

Reserved for future use.

Use the CQDProcs structure only if you customize one or more of QuickDraw’s standard low-level drawing functions. Use the SetStdCProcs function to create a CQDProcs structure.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)