ScriptStringGetLogicalWidths (Windows CE 5.0)
This function converts visual widths into logical widths.
HRESULT WINAPI ScriptStringGetLogicalWidths( SCRIPT_STRING_ANALYSIS ssa, int* piDx);
Parameters
- ssa
[in] A SCRIPT_STRING_ANALYSIS structure for the string. - piDx
[out] Pointer to a buffer containing the logical widths that are returned. The buffer should have room for at least *ScriptString_pcOutChars(ssa) ints.
Return Values
If the function is successful, it returns S_OK.
If the function fails, it returns an HRESULT.
The return value can be tested with the SUCCEEDED and FAILED macros.
Remarks
This function converts the visual widths that were generated by ScriptStringAnalyse into logical widths, one per original character, in logical order.
This function requires that SSA_GLYPHS was requested in the original ScriptStringAnalyse call.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.
Link Library: Uspce.lib.
See Also
ScriptStringAnalyse | SCRIPT_STRING_ANALYSIS
Send Feedback on this topic to the authors