◆ SkFontRequestCache()
SkFontRequestCache::SkFontRequestCache |
( |
size_t |
maxSize | ) |
|
|
inline |
◆ add()
Takes ownership of request. It will be deleted when no longer needed.
Definition at line 116 of file SkFontMgr_FontConfigInterface.cpp.
116 {
117 fCachedResults.
add(
new Result(request, std::move(face)));
118 }
void add(Rec *, void *payload=nullptr)
◆ findAndRef()
Does not take ownership of request.
Definition at line 120 of file SkFontMgr_FontConfigInterface.cpp.
120 {
123 const Result&
result =
static_cast<const Result&
>(rec);
125
127 return true;
128 }, &face);
129 return face;
130 }
bool find(const Key &, FindVisitor, void *context)
The documentation for this class was generated from the following file: