]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/SinglePositioningSubtables.h
ICU-491.11.1.tar.gz
[apple/icu.git] / icuSources / layout / SinglePositioningSubtables.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
374ca955 3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
b75a7d8f
A
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
22U_NAMESPACE_BEGIN
23
24struct SinglePositioningSubtable : GlyphPositioningSubtable
25{
26 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
27};
28
29struct SinglePositioningFormat1Subtable : SinglePositioningSubtable
30{
31 ValueFormat valueFormat;
32 ValueRecord valueRecord;
33
34 le_uint32 process(GlyphIterator *glyphIterator, const LEFontInstance *fontInstance) const;
35};
36
37struct 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
46U_NAMESPACE_END
47#endif
48
49