]> git.saurik.com Git - apple/icu.git/blame_incremental - icuSources/layout/AttachmentPosnSubtables.h
ICU-3.13.tar.gz
[apple/icu.git] / icuSources / layout / AttachmentPosnSubtables.h
... / ...
CommitLineData
1/*
2 * @(#)AttachmentPosnSubtables.h 1.6 00/03/15
3 *
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
5 *
6 */
7
8#ifndef __ATTACHMENTPOSITIONINGSUBTABLES_H
9#define __ATTACHMENTPOSITIONINGSUBTABLES_H
10
11/**
12 * \file
13 * \internal
14 */
15
16#include "LETypes.h"
17#include "OpenTypeTables.h"
18#include "GlyphPositioningTables.h"
19#include "ValueRecords.h"
20#include "GlyphIterator.h"
21
22U_NAMESPACE_BEGIN
23
24struct AttachmentPositioningSubtable : GlyphPositioningSubtable
25{
26 Offset baseCoverageTableOffset;
27 le_uint16 classCount;
28 Offset markArrayOffset;
29 Offset baseArrayOffset;
30
31 le_int32 getBaseCoverage(LEGlyphID baseGlyphId) const;
32 le_uint32 process(GlyphIterator *glyphIterator) const;
33};
34
35inline le_int32 AttachmentPositioningSubtable::getBaseCoverage(LEGlyphID baseGlyphID) const
36{
37 return getGlyphCoverage(baseCoverageTableOffset, baseGlyphID);
38}
39
40U_NAMESPACE_END
41#endif
42