Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/sfnt/SkOTTable_gasp.h

Issue 2254513002: Remove SkPreprocessorSeq.h and SkTypedEnum.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/sfnt/SkOTTable_OS_2_VA.h ('k') | src/sfnt/SkOTTable_glyf.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkOTTable_gasp_DEFINED 8 #ifndef SkOTTable_gasp_DEFINED
9 #define SkOTTable_gasp_DEFINED 9 #define SkOTTable_gasp_DEFINED
10 10
11 #include "SkEndian.h" 11 #include "SkEndian.h"
12 #include "SkOTTableTypes.h" 12 #include "SkOTTableTypes.h"
13 #include "SkTypedEnum.h"
14 13
15 #pragma pack(push, 1) 14 #pragma pack(push, 1)
16 15
17 struct SkOTTableGridAndScanProcedure { 16 struct SkOTTableGridAndScanProcedure {
18 static const SK_OT_CHAR TAG0 = 'g'; 17 static const SK_OT_CHAR TAG0 = 'g';
19 static const SK_OT_CHAR TAG1 = 'a'; 18 static const SK_OT_CHAR TAG1 = 'a';
20 static const SK_OT_CHAR TAG2 = 's'; 19 static const SK_OT_CHAR TAG2 = 's';
21 static const SK_OT_CHAR TAG3 = 'p'; 20 static const SK_OT_CHAR TAG3 = 'p';
22 static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableGridAndScanProcedure>:: value; 21 static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableGridAndScanProcedure>:: value;
23 22
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 }; 63 };
65 64
66 #pragma pack(pop) 65 #pragma pack(pop)
67 66
68 67
69 #include <stddef.h> 68 #include <stddef.h>
70 static_assert(offsetof(SkOTTableGridAndScanProcedure, numRanges) == 2, "SkOTTabl eGridAndScanProcedure_numRanges_not_at_2"); 69 static_assert(offsetof(SkOTTableGridAndScanProcedure, numRanges) == 2, "SkOTTabl eGridAndScanProcedure_numRanges_not_at_2");
71 static_assert(sizeof(SkOTTableGridAndScanProcedure) == 4, "sizeof_SkOTTableGridA ndScanProcedure_not_4"); 70 static_assert(sizeof(SkOTTableGridAndScanProcedure) == 4, "sizeof_SkOTTableGridA ndScanProcedure_not_4");
72 71
73 #endif 72 #endif
OLDNEW
« no previous file with comments | « src/sfnt/SkOTTable_OS_2_VA.h ('k') | src/sfnt/SkOTTable_glyf.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698