GdiGetCharDimensions(3w)
NAME
GdiGetCharDimensions (GDI32.@)
SYNOPSIS
LONG GdiGetCharDimensions ( HDC hdc, LPTEXTMETRICW lptm, LONG* height )
DESCRIPTION
Gets the average width of the characters in the English alphabet.
PARAMS
hdc [In] Handle to the device context to measure on.
lptm [Out] Pointer to memory to store the text metrics into.
height [Out] On exit, the maximum height of characters in the English
alphabet.
RETURNS
The average width of characters in the English alphabet.
NOTES
This function is used by the dialog manager to get the size of a dialog
unit. It should also be used by other pieces of code that need to know
the size of a dialog unit in logical units without having access to the
window handle of the dialog. Windows caches the font metrics from this
function, but we don't and there doesn't appear to be an immediate
advantage to do so.
SEE ALSO
GetTextExtentPointW, GetTextMetricsW, MapDialogRect.
IMPLEMENTATION
Defined in "wingdi.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/gdi32/font.c".
- Debug channel "font".