| /* |
| * 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 |