1a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com/* 2a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com * Copyright 2012 Google Inc. 3a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com * 4a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com * Use of this source code is governed by a BSD-style license that can be 5a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com * found in the LICENSE file. 6a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com */ 7a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 8a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#ifndef SkOTTable_maxp_DEFINED 9a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#define SkOTTable_maxp_DEFINED 10a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 11a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#include "SkOTTableTypes.h" 12a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#include "SkOTTable_maxp_CFF.h" 13a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#include "SkOTTable_maxp_TT.h" 14a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 15a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#pragma pack(push, 1) 16a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 17a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.comstruct SkOTTableMaximumProfile { 18a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com static const SK_OT_CHAR TAG0 = 'm'; 19a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com static const SK_OT_CHAR TAG1 = 'a'; 20a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com static const SK_OT_CHAR TAG2 = 'x'; 21a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com static const SK_OT_CHAR TAG3 = 'p'; 22a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com static const SK_OT_ULONG TAG = SkOTTableTAG<SkOTTableMaximumProfile>::value; 23a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 24a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com union Version { 25a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com SK_OT_Fixed version; 26b0a327e9390da5865d4c56db5e5259adc3380d37skia.committer@gmail.com 27a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com struct CFF : SkOTTableMaximumProfile_CFF { } cff; 28a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com struct TT : SkOTTableMaximumProfile_TT { } tt; 29a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com } version; 30a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com}; 31a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 32a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#pragma pack(pop) 33a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com 34a544f29496758de6ed2ebf5a53558574019c9da1bungeman@google.com#endif 35