blob: 586daf1d4d0f9e6382b78c4d2d4b7913099fc2b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef SkOTTable_loca_DEFINED
#define SkOTTable_loca_DEFINED
#include "SkEndian.h"
#include "SkOTTableTypes.h"
#pragma pack(push, 1)
struct SkOTTableIndexToLocation {
static const SK_OT_CHAR TAG0 = 'l';
static const SK_OT_CHAR TAG1 = 'o';
static const SK_OT_CHAR TAG2 = 'c';
static const SK_OT_CHAR TAG3 = 'a';
static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableIndexToLocation>::value;
union Offsets {
SK_OT_USHORT shortOffset[1];
SK_OT_ULONG longOffset[1];
} offsets;
};
#pragma pack(pop)
#endif
|