U_CAPI UTextOffset U_EXPORT2 ubidi_getLogicalIndex (UBiDi *pBiDi, UTextOffset visualIndex, UErrorCode *pErrorCode)

Get the logical text position from a visual position

Documentation

Get the logical text position from a visual position. If such a mapping is used many times on the same UBiDi object, then calling ubidi_getVisualMap() is more efficient.

This is the inverse function to ubidi_getVisualIndex().

Returns:
The index of this character in the text.
Parameters:
pBiDi - is the paragraph or line UBiDi object.
visualIndex - is the visual position of a character.
pErrorCode - must be a valid pointer to an error code value, which must not indicate a failure before the function call.
See Also:
ubidi_getVisualMap
ubidi_getVisualIndex

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de