Important: The information in this document is obsolete and should not be used for new development.
StdText
TheStdText
procedure is QuickDraw's standard low-level routine for drawing text.
PROCEDURE StdText (byteCount:\xDDInteger; textBuf:\xDDPtr; numer,denom:\xDDPoint);
byteCount
- The number of bytes of text to draw.
textBuf
- A memory structure containing the text to draw.
numer
- Scaling numerator.
denom
- Scaling denominator.
DESCRIPTION
TheStdText
procedure draws text from the arbitrary structure in memory specified by thetextBuf
parameter, starting from the first byte and continuing for the number of bytes specified in thebyteCount
parameter. Thenumer
anddenom
parameters specify the scaling factor:numer.v
overdenom.v
gives the vertical scaling, andnumer.h
overdenom.h
gives the horizontal scaling factor.SPECIAL CONSIDERATIONS
TheStdText
procedure may move or purge memory blocks in the application heap. Your application should not call this procedure at interrupt time.SEE ALSO
QuickDraw's text-drawing capabilities are described in the chapter "QuickDraw Text" in Inside Macintosh: Text.