Important: The information in this document is obsolete and should not be used for new development.
TPrPort
The record of the data typeTPrPort
contains a graphics port and a pointer to aQDProcs
record.
TYPE TPrPort = {printing graphics port} RECORD gPort: GrafPort; {graphics port for printing} gProcs: QDProcs; {procedures for printing } { in the graphics port} lGParam1: LongInt; {reserved} lGParam2: LongInt; {reserved} lGParam3: LongInt; {reserved} lGParam4: LongInt; {reserved} fOurPtr: Boolean; {reserved} fOurBits: Boolean; {reserved} END;
Field Description
gPort
- Either a
CGrafPort
orGrafPort
record, depending on whether the current printer supports color or grayscale and depending on whether Color QuickDraw is available. If you need to determine the type of graphics port, you can check the high bit in therowBytes
field of the record contained in thegPort
field; if this bit is set, the printing graphics port is based on aCGrafPort
record.gProcs
- A
QDProcs
record that contains pointers to routines that the printer driver may have designated to take the place of QuickDraw routines. See the chapter "Basic QuickDraw" in this book for more information about theQDProcs
record.lGParam1
- Reserved.
lGParam2
- Reserved.
lGParam3
- Reserved.
lGParam4
- Reserved.
fOurPtr
- Reserved.
fOurBits
- Reserved.