]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * | |
3 | * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved | |
4 | * | |
5 | */ | |
6 | ||
7 | #ifndef __SINGLEPOSITIONINGSUBTABLES_H | |
8 | #define __SINGLEPOSITIONINGSUBTABLES_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "LEFontInstance.h" | |
17 | #include "OpenTypeTables.h" | |
18 | #include "GlyphPositioningTables.h" | |
19 | #include "ValueRecords.h" | |
20 | #include "GlyphIterator.h" | |
21 | ||
22 | U_NAMESPACE_BEGIN | |
23 | ||
24 | struct SinglePositioningSubtable : GlyphPositioningSubtable | |
25 | { | |
26 | le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const; | |
27 | }; | |
28 | ||
29 | struct SinglePositioningFormat1Subtable : SinglePositioningSubtable | |
30 | { | |
31 | ValueFormat valueFormat; | |
32 | ValueRecord valueRecord; | |
33 | ||
34 | le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const; | |
35 | }; | |
36 | ||
37 | struct SinglePositioningFormat2Subtable : SinglePositioningSubtable | |
38 | { | |
39 | ValueFormat valueFormat; | |
40 | le_uint16 valueCount; | |
41 | ValueRecord valueRecordArray[ANY_NUMBER]; | |
42 | ||
43 | le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const; | |
44 | }; | |
45 | ||
46 | U_NAMESPACE_END | |
47 | #endif | |
48 | ||
49 |