os/textandloc/fontservices/textshaperplugin/IcuSource/layout/DeviceTables.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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