Flutter Engine
The Flutter Engine
SkOTTable_hhea.h
Go to the documentation of this file.
1/*
2 * Copyright 2012 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef SkOTTable_hhea_DEFINED
9#define SkOTTable_hhea_DEFINED
10
11#include "src/base/SkEndian.h"
13
14#pragma pack(push, 1)
15
17 static const SK_OT_CHAR TAG0 = 'h';
18 static const SK_OT_CHAR TAG1 = 'h';
19 static const SK_OT_CHAR TAG2 = 'e';
20 static const SK_OT_CHAR TAG3 = 'a';
22
24 static const SK_OT_Fixed version1 = SkTEndian_SwapBE32(0x00010000);
45};
46
47#pragma pack(pop)
48
49
50#include <stddef.h>
51static_assert(offsetof(SkOTTableHorizontalHeader, numberOfHMetrics) == 34, "SkOTTableHorizontalHeader_numberOfHMetrics_not_at_34");
52static_assert(sizeof(SkOTTableHorizontalHeader) == 36, "sizeof_SkOTTableHorizontalHeader_not_36");
53
54#endif
#define SkTEndian_SwapBE32(n)
Definition: SkEndian.h:143
#define SkTEndian_SwapBE16(n)
Definition: SkEndian.h:142
uint16_t SK_OT_USHORT
uint32_t SK_OT_ULONG
int8_t SK_OT_CHAR
uint16_t SK_OT_SHORT
int32_t SK_OT_Fixed
uint16_t SK_OT_FWORD
uint16_t SK_OT_UFWORD
enum SkOTTableHorizontalHeader::MetricDataFormat::Value value
static const SK_OT_CHAR TAG0
static const SK_OT_CHAR TAG3
static const SK_OT_CHAR TAG2
struct SkOTTableHorizontalHeader::MetricDataFormat metricDataFormat
static const SK_OT_CHAR TAG1
static const SK_OT_Fixed version1
static const SK_OT_ULONG TAG