Searched refs:FamilyKey (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/modules/skparagraph/include/ |
H A D | FontCollection.h | 122 struct FamilyKey { struct in skia::textlayout::FontCollection 124 FamilyKey(const std::vector<SkString>& familyNames, SkFontStyle style, const std::optional<FontArguments>& args) in FamilyKey() function 127 FamilyKey( 132 FamilyKey() {} in FamilyKey() function 142 bool operator==(const FamilyKey& other) const; 145 size_t operator()(const FamilyKey& key) const; 154 SkTHashMap<FamilyKey, std::vector<sk_sp<SkTypeface>>, FamilyKey::Hasher> fTypefaces; 160 std::unordered_map<FamilyKey, std::vector<std::shared_ptr<RSTypeface>>, FamilyKey [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | FontCollection.cpp | 38 bool FontCollection::FamilyKey::operator==(const FontCollection::FamilyKey& other) const { in operator ==() 44 size_t FontCollection::FamilyKey::Hasher::operator()(const FontCollection::FamilyKey& key) const { in operator ()() 169 FamilyKey familyKey(familyNames, fontStyle, fontArgs); 220 FamilyKey familyKey(familyNames, fontStyle, fontArgs);
|
Completed in 2 milliseconds