michael@0: /* michael@0: * Copyright 2012 Google Inc. michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: #ifndef SkOTTable_maxp_DEFINED michael@0: #define SkOTTable_maxp_DEFINED michael@0: michael@0: #include "SkOTTableTypes.h" michael@0: #include "SkOTTable_maxp_CFF.h" michael@0: #include "SkOTTable_maxp_TT.h" michael@0: michael@0: #pragma pack(push, 1) michael@0: michael@0: struct SkOTTableMaximumProfile { michael@0: static const SK_OT_CHAR TAG0 = 'm'; michael@0: static const SK_OT_CHAR TAG1 = 'a'; michael@0: static const SK_OT_CHAR TAG2 = 'x'; michael@0: static const SK_OT_CHAR TAG3 = 'p'; michael@0: static const SK_OT_ULONG TAG = SkOTTableTAG::value; michael@0: michael@0: union Version { michael@0: SK_OT_Fixed version; michael@0: michael@0: struct CFF : SkOTTableMaximumProfile_CFF { } cff; michael@0: struct TT : SkOTTableMaximumProfile_TT { } tt; michael@0: } version; michael@0: }; michael@0: michael@0: #pragma pack(pop) michael@0: michael@0: #endif