Crazy Eddie's GUI System  0.8.4
CEGUI::FribidiVisualMapping Class Reference

fribidi based implementation of BidiVisualMapping. More...

+ Inheritance diagram for CEGUI::FribidiVisualMapping:
+ Collaboration diagram for CEGUI::FribidiVisualMapping:

List of all members.

Public Member Functions

BidiCharType getBidiCharType (const utf32 char_to_check) const
 Gets the Bidi char type of a char.
bool reorderFromLogicalToVisual (const String &logical, String &visual, StrIndexList &l2v, StrIndexList &v2l) const
 Reorder a string from a logical (type order) bidi string to a visual (the way it displayed) string.

Detailed Description

fribidi based implementation of BidiVisualMapping.


Member Function Documentation

BidiCharType CEGUI::FribidiVisualMapping::getBidiCharType ( const utf32  char_to_check) const [virtual]

Gets the Bidi char type of a char.

Parameters:
charToCheckThe utf32 character code that will be checked.
Returns:
One of the BidiCharType enumerated values indicating the Bidi char type.

Implements CEGUI::BidiVisualMapping.

bool CEGUI::FribidiVisualMapping::reorderFromLogicalToVisual ( const String logical,
String visual,
StrIndexList l2v,
StrIndexList v2l 
) const [virtual]

Reorder a string from a logical (type order) bidi string to a visual (the way it displayed) string.

Parameters:
logicalString object to be reordered.
visualString object containing the result reordered string.
l2vMappingList of integers that map the pos of each char from logical string in the visual string.
v2lMappingList 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.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends