Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 3 - QuickDraw Drawing / QuickDraw Drawing Reference
Routines / Customizing QuickDraw Operations


StdText

The StdText 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
The StdText procedure draws text from the arbitrary structure in memory specified by the textBuf parameter, starting from the first byte and continuing for the number of bytes specified in the byteCount parameter. The numer and denom parameters specify the scaling factor: numer.v over denom.v gives the vertical scaling, and numer.h over denom.h gives the horizontal scaling factor.

SPECIAL CONSIDERATIONS
The StdText 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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996