os/textandloc/fontservices/textshaperplugin/IcuSource/layout/CanonShaping.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/CanonShaping.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +/*
     1.5 + *
     1.6 + * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
     1.7 + *
     1.8 + */
     1.9 +
    1.10 +#ifndef __CANONSHAPING_H
    1.11 +#define __CANONSHAPING_H
    1.12 +
    1.13 +#include "LETypes.h"
    1.14 +
    1.15 +U_NAMESPACE_BEGIN
    1.16 +
    1.17 +class LEGlyphStorage;
    1.18 +
    1.19 +class CanonShaping /* not : public UObject because all members are static */
    1.20 +{
    1.21 +public:
    1.22 +    static const le_uint8 glyphSubstitutionTable[];
    1.23 +    static const le_uint8 glyphDefinitionTable[];
    1.24 +
    1.25 +    static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
    1.26 +                                   LEUnicode *outChars, LEGlyphStorage &glyphStorage);
    1.27 +
    1.28 +private:
    1.29 +    static void sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit);
    1.30 +};
    1.31 +
    1.32 +U_NAMESPACE_END
    1.33 +#endif