00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __THAILAYOUTENGINE_H
00010 #define __THAILAYOUTENGINE_H
00011
00012 #include "LETypes.h"
00013 #include "LEFontInstance.h"
00014 #include "LayoutEngine.h"
00015
00016 #include "ThaiShaping.h"
00017
00024 class ThaiLayoutEngine : public LayoutEngine
00025 {
00026 public:
00039 ThaiLayoutEngine(LEFontInstance *fontInstance, le_int32 scriptCode, le_int32 languageCode);
00040
00044 virtual ~ThaiLayoutEngine();
00045
00046 protected:
00053 le_uint8 fGlyphSet;
00054
00063 LEUnicode fErrorChar;
00064
00085 virtual le_int32 computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft,
00086 LEGlyphID *&glyphs, le_int32 *&charIndices);
00087 };
00088
00089 #endif
00090