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