]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/DeviceTables.h
ICU-6.2.8.tar.gz
[apple/icu.git] / icuSources / layout / DeviceTables.h
1 /*
2 * @(#)DeviceTables.h 1.5 00/03/15
3 *
4 * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved
5 *
6 */
7
8 #ifndef __DEVICETABLES_H
9 #define __DEVICETABLES_H
10
11 /**
12 * \file
13 * \internal
14 */
15
16 #include "LETypes.h"
17 #include "OpenTypeTables.h"
18 #include "GlyphIterator.h"
19 #include "GlyphPositionAdjustments.h"
20
21 U_NAMESPACE_BEGIN
22
23 struct DeviceTable
24 {
25 le_uint16 startSize;
26 le_uint16 endSize;
27 le_uint16 deltaFormat;
28 le_uint16 deltaValues[ANY_NUMBER];
29
30 le_int16 getAdjustment(le_uint16 ppem) const;
31
32 private:
33 static const le_uint16 fieldMasks[];
34 static const le_uint16 fieldSignBits[];
35 static const le_uint16 fieldBits[];
36 };
37
38 U_NAMESPACE_END
39 #endif
40
41