]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/MarkArrays.h
ICU-62135.0.1.tar.gz
[apple/icu.git] / icuSources / layout / MarkArrays.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
57a6839d 3 * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved
b75a7d8f
A
4 *
5 */
6
7#ifndef __MARKARRAYS_H
8#define __MARKARRAYS_H
9
10/**
11 * \file
12 * \internal
13 */
14
15#include "LETypes.h"
16#include "LEFontInstance.h"
17#include "OpenTypeTables.h"
18
19U_NAMESPACE_BEGIN
20
21struct MarkRecord
22{
23 le_uint16 markClass;
24 Offset markAnchorTableOffset;
25};
26
27struct MarkArray
28{
29 le_uint16 markCount;
30 MarkRecord markRecordArray[ANY_NUMBER];
31
32 le_int32 getMarkClass(LEGlyphID glyphID, le_int32 coverageIndex, const LEFontInstance *fontInstance,
33 LEPoint &anchor) const;
34};
57a6839d 35LE_VAR_ARRAY(MarkArray, markRecordArray)
b75a7d8f
A
36
37U_NAMESPACE_END
38#endif
39
40