61.4.17 Text Output

Text functions retrieve text information, alter text alignment, alter text justification, and write text on a device or display surface. GDI uses the current font for text output. The following list briefly describes each text function:

Function Description

SetTextBrush Sets the fill pattern for text
DrawText Draws characters of a specified string
GetTabbedTextExtent Computes the width and height of a line of text containing tab characters
GrayString Writes the characters of a string using gray text
TabbedTextOut Writes a character string with expanded tabs, using the current font
GetTextAlign Returns a mask of the text alignment flags
GetTextCharacterExtra Retrieves the current intercharacter spacing
GetTextColor Retrieves the current text color
GetTextFace Copies the current font name to a buffer