fribidi based implementation of BidiVisualMapping.
More...
#include <FribidiVisualMapping.h>
|
typedef std::vector< int CEGUI_VECTOR_ALLOC(int)> | StrIndexList |
| type definition for collection used to hold mapping index lists.
|
|
StrIndexList | d_l2vMapping |
|
StrIndexList | d_v2lMapping |
|
String | d_textVisual |
|
fribidi based implementation of BidiVisualMapping.
◆ getBidiCharType()
BidiCharType CEGUI::FribidiVisualMapping::getBidiCharType |
( |
const utf32 |
char_to_check | ) |
const |
|
virtual |
Gets the Bidi char type of a char.
- Parameters
-
charToCheck | The utf32 character code that will be checked. |
- Returns
- One of the BidiCharType enumerated values indicating the Bidi char type.
Implements CEGUI::BidiVisualMapping.
◆ reorderFromLogicalToVisual()
Reorder a string from a logical (type order) bidi string to a visual (the way it displayed) string.
- Parameters
-
logical | String object to be reordered. |
visual | String object containing the result reordered string. |
l2vMapping | List of integers that map the pos of each char from logical string in the visual string. |
v2lMapping | List of integers that map the pos of each char from visual string in the logical string. |
- Returns
- true if successful.
- false if the operation failed.
Implements CEGUI::BidiVisualMapping.