aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkFontStream.h
blob: 787a986e6e8574ef290a2376e0d4f8ee3915eece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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