equal
deleted
inserted
replaced
32 #ifndef __CANONSHAPING_H |
32 #ifndef __CANONSHAPING_H |
33 #define __CANONSHAPING_H |
33 #define __CANONSHAPING_H |
34 |
34 |
35 #include "LETypes.h" |
35 #include "LETypes.h" |
36 |
36 |
|
37 U_NAMESPACE_BEGIN |
|
38 |
37 class LEGlyphStorage; |
39 class LEGlyphStorage; |
38 |
40 |
39 class CanonShaping |
41 class CanonShaping /* not : public UObject because all members are static */ |
40 { |
42 { |
41 public: |
43 public: |
42 static const le_uint8 glyphSubstitutionTable[]; |
44 static const le_uint8 glyphSubstitutionTable[]; |
43 static const le_uint8 glyphDefinitionTable[]; |
45 static const le_uint8 glyphDefinitionTable[]; |
44 |
46 |
45 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, |
47 static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, |
46 le_bool rightToLeft, LEUnicode *outChars, LEGlyphStorage &glyphStorage); |
48 LEUnicode *outChars, LEGlyphStorage &glyphStorage); |
47 |
49 |
48 private: |
50 private: |
49 static void sortMarks(le_int32 *indices, const le_int32 *combiningClasses, |
51 static void sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit); |
50 le_int32 index, le_int32 limit); |
|
51 }; |
52 }; |
52 |
53 |
|
54 U_NAMESPACE_END |
53 #endif |
55 #endif |