Thursday, November 26, 2009

CDC Text Functions

CDC::DrawText
Draws formatted text in the specified rectangle.
CDC::DrawTextEx
Draws formatted text in the specified rectangle using additional formats.
CDC::ExtTextOut
Writes a character string within a rectangular region using the currently selected font.
CDC::GetCharABCWidthsI
Retrieves the widths, in logical units, of consecutive glyph indices in a specified range from the current TrueType font.
CDC::GetCharacterPlacement
Retrieves various types of information on a character string.
CDC::GetCharWidthI
Retrieves the widths, in logical coordinates, of consecutive glyph indices in a specified range from the current font.
CDC::GetOutputTabbedTextExtent
Computes the width and height of a character string on the output device context.
CDC::GetOutputTextExtent
Computes the width and height of a line of text on the output device context using the current font to determine the dimensions.
CDC::GetOutputTextMetrics
Retrieves the metrics for the current font from the output device context.
CDC::GetTabbedTextExtent
Computes the width and height of a character string on the attribute device context.
CDC::GetTextAlign
Retrieves the text-alignment flags.
CDC::GetTextCharacterExtra
Retrieves the current setting for the amount of intercharacter spacing.
CDC::GetTextExtent
Computes the width and height of a line of text on the attribute device context using the current font to determine the dimensions.
CDC::GetTextExtentExPointI
Retrieves the number of characters in a specified string that will fit within a specified space and fills an array with the text extent for each of those characters.
CDC::GetTextExtentPointI
Retrieves the width and height of the specified array of glyph indices.
CDC::GetTextFace
Copies the typeface name of the current font into a buffer as a null-terminated string.
CDC::GetTextMetrics
Retrieves the metrics for the current font from the attribute device context.
CDC::GrayString
Draws dimmed (grayed) text at the given location.
CDC::SetTextAlign
Sets the text-alignment flags.
CDC::SetTextCharacterExtra
Sets the amount of intercharacter spacing.
CDC::SetTextJustification
Adds space to the break characters in a string.
CDC::TabbedTextOut
Writes a character string at a specified location, expanding tabs to the values specified in an array of tab-stop positions.
CDC::TextOut
Writes a character string at a specified location using the currently selected font.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.