Home
last modified time | relevance | path

Searched refs:RSTypeface (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DFontCollection.cpp13 std::shared_ptr<RSTypeface> RSLegacyMakeTypeface( in RSLegacyMakeTypeface()
16 RSTypeface* typeface = fontMgr->MatchFamilyStyle(familyName, style); in RSLegacyMakeTypeface()
22 return std::shared_ptr<RSTypeface>(typeface); in RSLegacyMakeTypeface()
143 std::vector<std::shared_ptr<RSTypeface>> FontCollection::findTypefaces(
197 std::vector<std::shared_ptr<RSTypeface>> FontCollection::findTypefaces(const std::vector<SkString>&…
207 std::vector<std::shared_ptr<RSTypeface>> typefaces;
209 std::shared_ptr<RSTypeface> match = matchTypeface(familyName, fontStyle);
219 std::shared_ptr<RSTypeface> match;
263 std::shared_ptr<RSTypeface> FontCollection::matchTypeface(const SkString& familyName, RSFontStyle f…
270 std::shared_ptr<RSTypeface> match(set->MatchStyle(fontStyle));
[all …]
DFontArguments.cpp79 std::shared_ptr<RSTypeface> FontArguments::CloneTypeface(std::shared_ptr<RSTypeface> typeface) const in CloneTypeface()
DOneLineShaper.h74 using TypefaceVisitor = std::function<Resolved(std::shared_ptr<RSTypeface> typeface)>;
157 std::unordered_map<FontKey, std::shared_ptr<RSTypeface>, FontKey::Hasher> fFallbackFonts;
DDecorations.h22 void calculateThickness(TextStyle textStyle, std::shared_ptr<RSTypeface> typeface);
DOneLineShaper.cpp436 std::vector<std::shared_ptr<RSTypeface>> typefaces = fParagraph->fFontCollection->findTypefaces(
483 std::shared_ptr<RSTypeface> typeface;
671 this->matchResolvedFonts(block.fStyle, [&](std::shared_ptr<RSTypeface> typeface) {
DDecorations.cpp150 void Decorations::calculateThickness(TextStyle textStyle, std::shared_ptr<RSTypeface> typeface) { in calculateThickness()
DTextLine.cpp874 auto shaped = [&](std::shared_ptr<RSTypeface> typeface, bool fallback) -> std::unique_ptr<Run> { in shapeEllipsis()
/third_party/skia/modules/skparagraph/include/
DFontCollection.h54 std::vector<std::shared_ptr<RSTypeface>> findTypefaces(
56 std::vector<std::shared_ptr<RSTypeface>> findTypefaces(
59 …std::shared_ptr<RSTypeface> defaultFallback(SkUnichar unicode, RSFontStyle fontStyle, const SkStri…
60 std::shared_ptr<RSTypeface> defaultFallback();
67 std::shared_ptr<RSTypeface> CloneTypeface(std::shared_ptr<RSTypeface> typeface,
87 std::shared_ptr<RSTypeface> matchTypeface(const SkString& familyName, RSFontStyle fontStyle);
126 …std::unordered_map<FamilyKey, std::vector<std::shared_ptr<RSTypeface>>, FamilyKey::Hasher> fTypefa…
127 SkLRUCache<uint32_t, std::shared_ptr<RSTypeface>> fVarTypefaces;
DFontArguments.h26 std::shared_ptr<RSTypeface> CloneTypeface(std::shared_ptr<RSTypeface> typeface) const;
DTextStyle.h317 RSTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface()
318 std::shared_ptr<RSTypeface> refTypeface() const { return fTypeface; } in refTypeface()
319 void setTypeface(std::shared_ptr<RSTypeface> typeface) { fTypeface = std::move(typeface); } in setTypeface()
390 std::shared_ptr<RSTypeface> fTypeface;
Ddrawing.h58 using RSTypeface = RSDrawing::Typeface; variable
/third_party/skia/modules/skshaper/src/
DSkShaper.cpp31 std::shared_ptr<RSTypeface> GetRSTypefaceOrDefault(std::shared_ptr<RSTypeface> typeface) { in GetRSTypefaceOrDefault()
35 return RSTypeface::MakeDefault(); in GetRSTypefaceOrDefault()
244 std::shared_ptr<RSTypeface> candidate(fFallbackMgr->MatchFamilyStyleCharacter(
267 std::shared_ptr<RSTypeface> candidate(fFallbackMgr->MatchFamilyStyleCharacter(
DSkShaper_harfbuzz.cpp303 RSTypeface& typeface = *reinterpret_cast<RSTypeface*>(user_data);
387 HBFace create_hb_face(const RSTypeface& typeface) {
393 const_cast<RSTypeface*>(std::make_unique<RSTypeface>(typeface).release()),
394 … [](void* user_data){ std::unique_ptr<RSTypeface>(reinterpret_cast<RSTypeface*>(user_data)); }));
410 HBFont create_typeface_hb_font(const RSTypeface& typeface) {