diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-04 15:16:06 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-04 15:16:06 +0000 |
commit | 6ec97b6e4bb19b2f1aab4b21a41f482d46234089 (patch) | |
tree | ea1f2ef80c369a3bd4335486064ba8e3bffb5c19 /src/core/SkFontStream.h | |
parent | b755a2ace7be5bd007bc3a374d0d2bd68af92788 (diff) |
refactor fonthost_tables into wrapper (fonthost) and impl (fontstream)
git-svn-id: http://skia.googlecode.com/svn/trunk@7958 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkFontStream.h')
-rw-r--r-- | src/core/SkFontStream.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/SkFontStream.h b/src/core/SkFontStream.h new file mode 100644 index 0000000000..787a986e6e --- /dev/null +++ b/src/core/SkFontStream.h @@ -0,0 +1,24 @@ +/* + * Copyright 2013 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef SkFontStream_DEFINED +#define SkFontStream_DEFINED + +class SkStream; + +#include "SkTypeface.h" + +class SkFontStream { +public: + static int GetTableTags(SkStream*, SkFontTableTag tags[]); + static size_t GetTableData(SkStream*, SkFontTableTag tag, + size_t offset, size_t length, void* data); +}; + +#endif + + |