os/textandloc/fontservices/textshaperplugin/IcuSource/layout/DeviceTables.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/DeviceTables.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,39 @@
     1.4 +/*
     1.5 + * @(#)DeviceTables.h   1.5 00/03/15
     1.6 + *
     1.7 + * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
     1.8 + *
     1.9 + */
    1.10 +
    1.11 +#ifndef __DEVICETABLES_H
    1.12 +#define __DEVICETABLES_H
    1.13 +
    1.14 +/**
    1.15 + * \file
    1.16 + * \internal
    1.17 + */
    1.18 +
    1.19 +#include "LETypes.h"
    1.20 +#include "OpenTypeTables.h"
    1.21 +
    1.22 +U_NAMESPACE_BEGIN
    1.23 +
    1.24 +struct DeviceTable
    1.25 +{
    1.26 +    le_uint16  startSize;
    1.27 +    le_uint16  endSize;
    1.28 +    le_uint16  deltaFormat;
    1.29 +    le_uint16  deltaValues[ANY_NUMBER];
    1.30 +
    1.31 +    le_int16   getAdjustment(le_uint16 ppem) const;
    1.32 +
    1.33 +private:
    1.34 +    static const le_uint16 fieldMasks[];
    1.35 +    static const le_uint16 fieldSignBits[];
    1.36 +    static const le_uint16 fieldBits[];
    1.37 +};
    1.38 +
    1.39 +U_NAMESPACE_END
    1.40 +#endif
    1.41 +
    1.42 +