GetCharacterPlacementW (GDI32.@)
DWORD GetCharacterPlacementW ( HDC hdc, LPCWSTR lpString, INT uCount, INT nMaxExtent, GCP_RESULTSW* lpResults, DWORD dwFlags )
hdc | [In] | Device context for which the rendering is to be done. |
lpString | [In] | The string for which information is to be returned. |
uCount | [In] | Number of WORDS in string. |
nMaxExtent | [In] | Maximum extent the string is to take (in HDC logical units). |
lpResults | [In/Out] | A pointer to a GCP_RESULTSW struct. |
[In] | Flags specifying how to process the string. |
Retrieve information about a string. This includes the width, reordering, Glyphing and so on.
The width and height of the string if successful, 0 if failed.
All flags except GCP_REORDER are not yet implemented. Reordering is not 100% complient to the Windows® BiDi method. Caret positioning is not yet implemented for BiDi. Classes are not yet implemented.
Defined in "wingdi.h".
Implemented in "dlls/gdi/font.c". source.winehq.org/source/dlls/gdi/font.c
Debug channel "font".
Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.