Searched refs:FontDescr (Results 1 – 4 of 4) sorted by relevance
18 struct FontDescr { struct19 FontDescr() {} in FontDescr() function20 FontDescr(SkFont font, SkScalar height) in FontDescr() argument22 bool operator==(const FontDescr& a) const {39 const SkTArray<FontDescr>& switches() const { return fFontSwitches; } in switches() argument43 FontDescr makeFont(sk_sp<SkTypeface> typeface, SkScalar size, SkScalar height);44 size_t resolveAllCharactersByFont(const FontDescr& fontDescr);48 uint32_t operator()(const FontDescr& key) const { in operator()62 SkTArray<FontDescr> fFontSwitches;63 FontDescr* fFontIterator;[all …]
120 size_t FontResolver::resolveAllCharactersByFont(const FontDescr& font) { in resolveAllCharactersByFont()208 FontDescr FontResolver::makeFont(sk_sp<SkTypeface> typeface, SkScalar size, SkScalar height) { in makeFont()213 FontDescr descr(font, height); in makeFont()215 const FontDescr* foundFont = fResolvedFonts.find(descr); in makeFont()260 FontDescr* prev = nullptr; in findAllFontsForAllStyledBlocks()
17 SkTArray<FontDescr> fFontSwitches;
77 const SkTArray<FontDescr>& switches() const { return fFontResolver.switches(); } in switches()