#include <StrikeCache.h>
Definition at line 29 of file StrikeCache.h.
◆ TextStrike()
sktext::gpu::TextStrike::TextStrike |
( |
const SkStrikeSpec & |
strikeSpec | ) |
|
Definition at line 55 of file StrikeCache.cpp.
const SkStrikeSpec & strikeSpec() const
◆ getGlyph()
Definition at line 57 of file StrikeCache.cpp.
57 {
58 Glyph* glyph = fCache.findOrNull(packedGlyphID);
59 if (glyph == nullptr) {
60 glyph = fAlloc.
make<
Glyph>(packedGlyphID);
61 fCache.set(glyph);
62 }
63 return glyph;
64}
auto make(Ctor &&ctor) -> decltype(ctor(nullptr))
◆ strikeSpec()
const SkStrikeSpec & sktext::gpu::TextStrike::strikeSpec |
( |
| ) |
const |
|
inline |
◆ StrikeCache
The documentation for this class was generated from the following files: