gfx/skia/trunk/src/sfnt/SkOTTable_loca.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gfx/skia/trunk/src/sfnt/SkOTTable_loca.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +/*
     1.5 + * Copyright 2012 Google Inc.
     1.6 + *
     1.7 + * Use of this source code is governed by a BSD-style license that can be
     1.8 + * found in the LICENSE file.
     1.9 + */
    1.10 +
    1.11 +#ifndef SkOTTable_loca_DEFINED
    1.12 +#define SkOTTable_loca_DEFINED
    1.13 +
    1.14 +#include "SkEndian.h"
    1.15 +#include "SkOTTableTypes.h"
    1.16 +
    1.17 +#pragma pack(push, 1)
    1.18 +
    1.19 +struct SkOTTableIndexToLocation {
    1.20 +    static const SK_OT_CHAR TAG0 = 'l';
    1.21 +    static const SK_OT_CHAR TAG1 = 'o';
    1.22 +    static const SK_OT_CHAR TAG2 = 'c';
    1.23 +    static const SK_OT_CHAR TAG3 = 'a';
    1.24 +    static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableIndexToLocation>::value;
    1.25 +
    1.26 +    union Offsets {
    1.27 +        SK_OT_USHORT shortOffset[1];
    1.28 +        SK_OT_ULONG longOffset[1];
    1.29 +    } offsets;
    1.30 +};
    1.31 +
    1.32 +#pragma pack(pop)
    1.33 +
    1.34 +#endif

mercurial