ScriptGetGlyphABCWidth (Windows CE 5.0)
This function returns the ABC width of a given glyph.
HRESULT WINAPI ScriptGetGlyphABCWidth( HDC hdc, SCRIPT_CACHE* psc, WORD wGlyph, ABC* pABC,);
Parameters
- hdc
[in] Handle to the device context. It is optional depending on psc. - psc
[in, out] Pointer to a SCRIPT_CACHE structure. - wGlyph
[in] Glyph to be analyzed. - pABC
[out] ABC width of wGlyph.
Return Values
If the ABC width of the glyph is returned, the function returns S_OK.
If the font or system does not support glyph indices, the function returns E_HANDLE. If any other unrecoverable error is encountered, it is returned as an HRESULT.
Remarks
The ScriptGetGlyphABCWidth function may be useful for drawing glyph charts. It should not be used for ordinary complex script text formatting.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.
Link Library: Uspce.lib.
See Also
Send Feedback on this topic to the authors