]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/SinglePositioningSubtables.h
ICU-59180.0.1.tar.gz
[apple/icu.git] / icuSources / layout / SinglePositioningSubtables.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
57a6839d 3 * (C) Copyright IBM Corp. 1998-2013 - 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{
57a6839d 26 le_uint32 process(const LEReferenceTo<SinglePositioningSubtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
b75a7d8f
A
27};
28
29struct SinglePositioningFormat1Subtable : SinglePositioningSubtable
30{
31 ValueFormat valueFormat;
32 ValueRecord valueRecord;
33
57a6839d 34 le_uint32 process(const LEReferenceTo<SinglePositioningFormat1Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
b75a7d8f
A
35};
36
37struct SinglePositioningFormat2Subtable : SinglePositioningSubtable
38{
39 ValueFormat valueFormat;
40 le_uint16 valueCount;
41 ValueRecord valueRecordArray[ANY_NUMBER];
42
57a6839d 43 le_uint32 process(const LEReferenceTo<SinglePositioningFormat2Subtable> &base, GlyphIterator *glyphIterator, const LEFontInstance *fontInstance, LEErrorCode &success) const;
b75a7d8f 44};
57a6839d 45LE_VAR_ARRAY(SinglePositioningFormat2Subtable, valueRecordArray)
b75a7d8f
A
46
47U_NAMESPACE_END
48#endif
49
50