Important: The information in this document is obsolete and should not be used for new development.
StdText
TheStdText
procedure is the standard low-level routine for drawing text. It draws text from an arbitrary structure in memory specified bytextBuf
, starting from the first byte and continuing forcount
bytes.
PROCEDURE StdText (count: Integer; textBuf: Ptr; numer, denom: Point);
count
- The number of bytes to be counted.
textBuf
- A pointer to the beginning of the text in memory.
numer
- A point giving the numerator for the horizontal and vertical
scaling factors.denom
- A point giving the denominator for the horizontal and vertical
scaling factors.DESCRIPTION
TheStdText
procedure is a QuickDraw bottleneck routine that the QuickDraw text drawing routines use extensively. However, you can call theStdText
routine directly to draw text that is scaled or unscaled. For more information about the scaling factors, see "The numer and denom Parameters" on page 3-64.SPECIAL CONSIDERATIONS
TheStdText
procedure gives the correct results for all script systems. Thecount
parameter is the number of bytes of the text to be drawn, not characters. When specifying this value, consider that 2-byte script systems also include characters consisting of only one byte.