UBiDiLevel is the type of the level values in this BiDi implementation
UBiDiLevel is the type of the level values in this BiDi implementation. It holds an embedding level and indicates the visual direction by its bit 0 (even/odd value).It can also hold non-level values for the
paraLevel
andembeddingLevels
arguments ofubidi_setPara()
; there:
- bit 7 of an
embeddingLevels[]
value indicates whether the using application is specifying the level of a character to override whatever the BiDi implementation would resolve it to.paraLevel
can be set to the pesudo-level valuesUBIDI_DEFAULT_LTR
andUBIDI_DEFAULT_RTL
.
The related constants are not real, valid level values.
UBIDI_DEFAULT_XXX
can be used to specify
a default for the paragraph level for
when the ubidi_setPara()
function
shall determine it but there is no
strongly typed character in the input.
Note that the value for UBIDI_DEFAULT_LTR
is even
and the one for UBIDI_DEFAULT_RTL
is odd,
just like with normal LTR and RTL level values -
these special values are designed that way. Also, the implementation
assumes that UBIDI_MAX_EXPLICIT_LEVEL is odd.
UBIDI_DEFAULT_LTR
UBIDI_DEFAULT_RTL
UBIDI_LEVEL_OVERRIDE
UBIDI_MAX_EXPLICIT_LEVEL
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