Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This section contains the fonts functions, with a description of the purpose of each.
Function | Description |
---|---|
This function adds the font resource from the specified file to the Windows font table. The font can subsequently be used for text output by any Windows Mobile–based application. |
|
This function creates a logical font that has the characteristics specified in the specified structure. An application can subsequently select the font as the current font for any device context (DC). |
|
This function draws formatted text in the specified rectangle. DrawTextformats the text according to the specified format method. |
|
This function enables or disables end-user-defined characters (EUDC). |
|
This function enumerates the fonts in a specified font family that are available on a specified device. This function supersedes the EnumFontsfunction. |
|
This function is an application-defined callback function that retrieves data that describes the available fonts. |
|
This function enumerates the fonts available on a specified device. This function is provided for compatibility with early versions of the Microsoft Windows SDK. Whenever possible, applications should use the EnumFontFamiliesfunction. |
|
This function is an application-defined callback function that processes font data from the EnumFontsfunction. |
|
This function draws a character string by using the currently selected font. You can provide an optional rectangle that ExtTextOutcan use for clipping, opaquing, or both. |
|
This function retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. |
|
The GetCharABCWidthsI function retrieves the widths, in logical units, of consecutive glyph indices in a specified range from the current TrueType font. This function succeeds only with TrueType fonts. |
|
This function retrieves the widths, in logical coordinates, of consecutive characters in a specified range from the current font. |
|
This function retrieves the text-alignment setting for the specified device context. |
|
This function retrieves the current text color for the specified device context. |
|
This function retrieves the number of characters in a specified string that fit within a specified space and fills an array with the text extent for each of those characters. A text extent is the distance between the beginning of the space and a character that fits in the space. |
|
This function computes the width and height of the specified string of text. |
|
This function computes the width and height of the specified string of text. |
|
This function retrieves the typeface name of the font that is selected into the specified device context (DC). |
|
This function fills the specified buffer with the metrics for the currently selected font. |
|
This function removes the fonts in the specified file from the Windows Mobile font table. |
|
This function sets the text-alignment value for the specified device context. |
|
This function sets the text color of the specified device context to the specified color. |