]> git.saurik.com Git - apple/icu.git/blob - icuSources/layout/DeviceTables.h
ICU-491.11.2.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-2005 - 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
19 U_NAMESPACE_BEGIN
20
21 struct DeviceTable
22 {
23 le_uint16 startSize;
24 le_uint16 endSize;
25 le_uint16 deltaFormat;
26 le_uint16 deltaValues[ANY_NUMBER];
27
28 le_int16 getAdjustment(le_uint16 ppem) const;
29
30 private:
31 static const le_uint16 fieldMasks[];
32 static const le_uint16 fieldSignBits[];
33 static const le_uint16 fieldBits[];
34 };
35
36 U_NAMESPACE_END
37 #endif
38
39