Image32_Text

This unit is required for all text drawing tasks including: DrawText and DrawWrappedText.

All text drawing requires a TFontInfo object that defines a specific TrueType font (including the font's face name, size and style). The Image32_Text unit contains a single instance TFontManager object to manage the life spans of all TFontInfo objects. A TFontInfo object is instantiated simply by calling the GetFontInfo function and passing it a Windows TLogFont structure. (And the easiest way to define a TLogFont structure is to copy and modify DefaultLogfont.)

Contents

Types Classes Routines Variables Constants
TTextAlign TFontInfo CheckFontHeight Image32_Text Image32_Text
TTextVAlign TFontManager DrawText
TGlyphInfo DrawWrappedText
GetDefaultFontInfo
GetFontHeight
GetFontInfo
GetFontSize
GetLogFontFromHFont
GetTextAlongPathOutine
GetTextOutline
MeasureText

See Also

TFontInfo, TFontManager, DrawText, DrawWrappedText, GetFontInfo, Image32_Text