U_CAPI void U_EXPORT2 ubidi_reorderVisual (const UBiDiLevel *levels, UTextOffset length, UTextOffset *indexMap)

This is a convenience function that does not use a UBiDi object

Documentation

This is a convenience function that does not use a UBiDi object. It is intended to be used for when an application has determined the levels of objects (character sequences) and just needs to have them reordered (L2). This is equivalent to using ubidi_getVisualMap on a UBiDi object.
Parameters:
levels - is an array with length levels that have been determined by the application.
length - is the number of levels in the array, or, semantically, the number of objects to be reordered. It must be length>0.
indexMap - is a pointer to an array of length indexes which will reflect the reordering of the characters. The array does not need to be initialized.

The index map will result in indexMap[visualIndex]==logicalIndex.

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