GdiGetCharDimensions (GDI32.@)
LONG GdiGetCharDimensions ( HDC hdc, LPTEXTMETRICW lptm, LONG* height )
Gets the average width of the characters in the English alphabet.
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. |
The average width of characters in the English alphabet.
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.
GetTextExtentPointW, GetTextMetricsW, MapDialogRect.
Defined in "wingdi.h".
Implemented in "dlls/gdi32/font.c". source.winehq.org/source/dlls/gdi32/font.c
Debug channel "font".
Copyright © 2007 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Mar 2007.