![]() |
TextSize |
||||
Header: | QuickdrawText.h | Carbon status: | Supported | |
Sets the font size for text drawn in the current graphics port to the specified number of points.
void TextSize ( SInt16 size );
The font size in points (0 to 32,767). The initial setting is 0, which specifies that the font size of the system font (normally 12 points) is to be used.
The TextSize function sets the font size in the text size (txSize) field of the current graphics port structure. To ensure future compatibility and benefit from any enhancements, always use this function to modify the txSize field, rather than directly change the field value.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)