Home
last modified time | relevance | path

Searched refs:FontDescr (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/modules/skparagraph/src/
DFontResolver.h18 struct FontDescr { struct
19 FontDescr() {} in FontDescr() function
20 FontDescr(SkFont font, SkScalar height) in FontDescr() argument
22 bool operator==(const FontDescr& a) const {
39 const SkTArray<FontDescr>& switches() const { return fFontSwitches; } in switches() argument
43 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 …]
DFontResolver.cpp120 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()
DParagraphCache.cpp17 SkTArray<FontDescr> fFontSwitches;
DParagraphImpl.h77 const SkTArray<FontDescr>& switches() const { return fFontResolver.switches(); } in switches()