Flutter Engine
The Flutter Engine
|
#include <SkFontStream.h>
Static Public Member Functions | |
static int | CountTTCEntries (SkStream *) |
static int | GetTableTags (SkStream *, int ttcIndex, SkFontTableTag tags[]) |
static size_t | GetTableData (SkStream *, int ttcIndex, SkFontTableTag tag, size_t offset, size_t length, void *data) |
static size_t | GetTableSize (SkStream *stream, int ttcIndex, SkFontTableTag tag) |
Definition at line 17 of file SkFontStream.h.
Return the number of shared directories inside a TTC sfnt, or return 1 if the stream is a normal sfnt (ttf). If there is an error or no directory is found, return 0.
Note: the stream is rewound initially, but is returned at an arbitrary read offset.
Definition at line 143 of file SkFontStream.cpp.
|
static |
ttcIndex | 0 for normal sfnts, or the index within a TTC sfnt. |
Note: the stream is rewound initially, but is returned at an arbitrary read offset.
Definition at line 175 of file SkFontStream.cpp.
|
inlinestatic |
Definition at line 46 of file SkFontStream.h.
|
static |
ttcIndex | 0 for normal sfnts, or the index within a TTC sfnt. |
Note: the stream is rewound initially, but is returned at an arbitrary read offset.
Definition at line 160 of file SkFontStream.cpp.