minibidi based implementation of BidiVisualMapping.
More...
|
typedef std::vector< int CEGUI_VECTOR_ALLOC(int)> | StrIndexList |
| type definition for collection used to hold mapping index lists.
|
|
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 |
|
minibidi based implementation of BidiVisualMapping.
§ getBidiCharType() [1/2]
BidiCharType CEGUI::MinibidiVisualMapping::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.
§ getBidiCharType() [2/2]
BidiCharType CEGUI::MinibidiVisualMapping::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() [1/2]
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.
§ reorderFromLogicalToVisual() [2/2]
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.