Important: The information in this document is obsolete and should not be used for new development.
TPrPort
The record of the data typeTPrPortcontains a graphics port and a pointer to aQDProcsrecord.
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
CGrafPortorGrafPortrecord, 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 therowBytesfield of the record contained in thegPortfield; if this bit is set, the printing graphics port is based on aCGrafPortrecord.gProcs- A
QDProcsrecord 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 theQDProcsrecord.lGParam1- Reserved.
lGParam2- Reserved.
lGParam3- Reserved.
lGParam4- Reserved.
fOurPtr- Reserved.
fOurBits- Reserved.