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.
sl@0
     1
/*
sl@0
     2
 * @(#)DeviceTables.h   1.5 00/03/15
sl@0
     3
 *
sl@0
     4
 * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
sl@0
     5
 *
sl@0
     6
 */
sl@0
     7
sl@0
     8
#ifndef __DEVICETABLES_H
sl@0
     9
#define __DEVICETABLES_H
sl@0
    10
sl@0
    11
/**
sl@0
    12
 * \file
sl@0
    13
 * \internal
sl@0
    14
 */
sl@0
    15
sl@0
    16
#include "LETypes.h"
sl@0
    17
#include "OpenTypeTables.h"
sl@0
    18
sl@0
    19
U_NAMESPACE_BEGIN
sl@0
    20
sl@0
    21
struct DeviceTable
sl@0
    22
{
sl@0
    23
    le_uint16  startSize;
sl@0
    24
    le_uint16  endSize;
sl@0
    25
    le_uint16  deltaFormat;
sl@0
    26
    le_uint16  deltaValues[ANY_NUMBER];
sl@0
    27
sl@0
    28
    le_int16   getAdjustment(le_uint16 ppem) const;
sl@0
    29
sl@0
    30
private:
sl@0
    31
    static const le_uint16 fieldMasks[];
sl@0
    32
    static const le_uint16 fieldSignBits[];
sl@0
    33
    static const le_uint16 fieldBits[];
sl@0
    34
};
sl@0
    35
sl@0
    36
U_NAMESPACE_END
sl@0
    37
#endif
sl@0
    38
sl@0
    39