]>
Commit | Line | Data |
---|---|---|
374ca955 A |
1 | /* |
2 | * | |
57a6839d | 3 | * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved |
374ca955 A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __CANONSHAPING_H | |
8 | #define __CANONSHAPING_H | |
9 | ||
10 | #include "LETypes.h" | |
11 | ||
12 | U_NAMESPACE_BEGIN | |
13 | ||
73c04bcf A |
14 | class LEGlyphStorage; |
15 | ||
16 | class U_LAYOUT_API CanonShaping /* not : public UObject because all members are static */ | |
374ca955 A |
17 | { |
18 | public: | |
19 | static const le_uint8 glyphSubstitutionTable[]; | |
57a6839d | 20 | static const size_t glyphSubstitutionTableLen; |
374ca955 | 21 | static const le_uint8 glyphDefinitionTable[]; |
57a6839d | 22 | static const size_t glyphDefinitionTableLen; |
73c04bcf A |
23 | |
24 | static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft, | |
25 | LEUnicode *outChars, LEGlyphStorage &glyphStorage); | |
26 | ||
27 | private: | |
28 | static void sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit); | |
374ca955 A |
29 | }; |
30 | ||
31 | U_NAMESPACE_END | |
32 | #endif |