]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/CursiveAttachmentSubtables.h
ICU-6.2.21.tar.gz
[apple/icu.git] / icuSources / layout / CursiveAttachmentSubtables.h
1 /*
2 * %W% %E%
3 *
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
5 *
6 */
7
8 #ifndef __CURSIVEATTACHMENTSUBTABLES_H
9 #define __CURSIVEATTACHMENTSUBTABLES_H
10
11 /**
12 * \file
13 * \internal
14 */
15
16 #include "LETypes.h"
17 #include "LEFontInstance.h"
18 #include "OpenTypeTables.h"
19 #include "GlyphPositioningTables.h"
20 #include "GlyphIterator.h"
21
22 U_NAMESPACE_BEGIN
23
24 struct EntryExitRecord
25 {
26 Offset entryAnchor;
27 Offset exitAnchor;
28 };
29
30 struct CursiveAttachmentSubtable : GlyphPositioningSubtable
31 {
32 le_uint16 entryExitCount;
33 EntryExitRecord entryExitRecords[ANY_NUMBER];
34
35 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
36 };
37
38 U_NAMESPACE_END
39 #endif
40
41