opcodeProc
#include <Quickdraw.h>
typedef struct CQDProcs { Size Offset Description Ptr textProc; 4 0 Addr of text-drawing proc StdText Ptr lineProc; 4 4 Addr of line-drawing proc StdLine Ptr rectProc; 4 8 Addr of rectangle-drawing proc Ptr rRectProc; 4 12 Addr of roundRect-draw proc Ptr ovalProc; 4 16 Addr of oval/circle-draw proc Ptr arcProc; 4 20 Addr of arc-drawing proc StdArc Ptr polyProc; 4 24 Addr of polygon-drawing proc Ptr rgnProc; 4 28 Addr of region-drawing proc Ptr bitsProc; 4 32 Addr of bit transfer proc StdBits Ptr commentProc; 4 36 Addr pict comment handler Ptr txMeasProc; 4 40 Addr of text width measurer Ptr getPicProc; 4 44 Addr of picture retrieval proc Ptr putPicProc; 4 48 Addr of picture saving proc Ptr opcodeProc; 4 52 New fields all reserved for future expansion
Ptr newProc 1; 4 54 reserved Ptr newProc 2; 4 56 reserved Ptr newProc 3; 4 58 reserved Ptr tnewProc4; 4 60 reserved Ptr newProc 5; 4 62 reserved Ptr newProc 6; 4 64 reserved typedef CQDProcs * CQDProcsPtr ;
typedef char * CQDPtr ; same as Ptr; address of a Byte
Notes: The CQDProcs structure completely replaces the QDProcs structure for that will return a QDProcs record (one without a stdOpcodeProc) and your system will likely crash when you bring up a color picture.
The last seven fields are new. The rest are the same as a QDProcs record.