]>
Commit | Line | Data |
---|---|---|
b75a7d8f | 1 | /* |
b75a7d8f | 2 | * |
57a6839d | 3 | * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved |
b75a7d8f A |
4 | * |
5 | */ | |
6 | ||
7 | #ifndef __ATTACHMENTPOSITIONINGSUBTABLES_H | |
8 | #define __ATTACHMENTPOSITIONINGSUBTABLES_H | |
9 | ||
10 | /** | |
11 | * \file | |
12 | * \internal | |
13 | */ | |
14 | ||
15 | #include "LETypes.h" | |
16 | #include "OpenTypeTables.h" | |
17 | #include "GlyphPositioningTables.h" | |
18 | #include "ValueRecords.h" | |
19 | #include "GlyphIterator.h" | |
20 | ||
21 | U_NAMESPACE_BEGIN | |
22 | ||
23 | struct AttachmentPositioningSubtable : GlyphPositioningSubtable | |
24 | { | |
25 | Offset baseCoverageTableOffset; | |
26 | le_uint16 classCount; | |
27 | Offset markArrayOffset; | |
28 | Offset baseArrayOffset; | |
29 | ||
57a6839d | 30 | inline le_int32 getBaseCoverage(const LETableReference &base, LEGlyphID baseGlyphId, LEErrorCode &success) const; |
73c04bcf | 31 | |
b75a7d8f A |
32 | le_uint32 process(GlyphIterator *glyphIterator) const; |
33 | }; | |
34 | ||
57a6839d | 35 | inline le_int32 AttachmentPositioningSubtable::getBaseCoverage(const LETableReference &base, LEGlyphID baseGlyphID, LEErrorCode &success) const |
b75a7d8f | 36 | { |
57a6839d | 37 | return getGlyphCoverage(base, baseCoverageTableOffset, baseGlyphID, success); |
b75a7d8f A |
38 | } |
39 | ||
40 | U_NAMESPACE_END | |
41 | #endif | |
42 |