1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/skia/trunk/src/sfnt/SkOTTable_maxp.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,34 @@ 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_maxp_DEFINED 1.12 +#define SkOTTable_maxp_DEFINED 1.13 + 1.14 +#include "SkOTTableTypes.h" 1.15 +#include "SkOTTable_maxp_CFF.h" 1.16 +#include "SkOTTable_maxp_TT.h" 1.17 + 1.18 +#pragma pack(push, 1) 1.19 + 1.20 +struct SkOTTableMaximumProfile { 1.21 + static const SK_OT_CHAR TAG0 = 'm'; 1.22 + static const SK_OT_CHAR TAG1 = 'a'; 1.23 + static const SK_OT_CHAR TAG2 = 'x'; 1.24 + static const SK_OT_CHAR TAG3 = 'p'; 1.25 + static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableMaximumProfile>::value; 1.26 + 1.27 + union Version { 1.28 + SK_OT_Fixed version; 1.29 + 1.30 + struct CFF : SkOTTableMaximumProfile_CFF { } cff; 1.31 + struct TT : SkOTTableMaximumProfile_TT { } tt; 1.32 + } version; 1.33 +}; 1.34 + 1.35 +#pragma pack(pop) 1.36 + 1.37 +#endif