#include <SkFontPriv.h>
Definition at line 93 of file SkFontPriv.h.
◆ SkAutoToGlyphs()
SkAutoToGlyphs::SkAutoToGlyphs |
( |
const SkFont & |
font, |
|
|
const void * |
text, |
|
|
size_t |
length, |
|
|
SkTextEncoding |
encoding |
|
) |
| |
|
inline |
Definition at line 95 of file SkFontPriv.h.
95 {
97 fGlyphs =
reinterpret_cast<const uint16_t*
>(
text);
99 } else {
101 if (fCount < 0) {
102 fCount = 0;
103 }
104 fStorage.
reset(fCount);
106 fGlyphs = fStorage.
get();
107 }
108 }
@ kGlyphID
uses two byte words to represent glyph indices
constexpr int SkToInt(S x)
font
Font Metadata and Metrics.
◆ count()
int SkAutoToGlyphs::count |
( |
| ) |
const |
|
inline |
◆ glyphs()
const uint16_t * SkAutoToGlyphs::glyphs |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: