Searched refs:RSTypeface (Results 1 – 13 of 13) sorted by relevance
/third_party/skia/modules/skparagraph/src/ |
D | FontCollection.cpp | 13 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 …]
|
D | FontArguments.cpp | 79 std::shared_ptr<RSTypeface> FontArguments::CloneTypeface(std::shared_ptr<RSTypeface> typeface) const in CloneTypeface()
|
D | OneLineShaper.h | 74 using TypefaceVisitor = std::function<Resolved(std::shared_ptr<RSTypeface> typeface)>; 157 std::unordered_map<FontKey, std::shared_ptr<RSTypeface>, FontKey::Hasher> fFallbackFonts;
|
D | Decorations.h | 22 void calculateThickness(TextStyle textStyle, std::shared_ptr<RSTypeface> typeface);
|
D | OneLineShaper.cpp | 436 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) {
|
D | Decorations.cpp | 150 void Decorations::calculateThickness(TextStyle textStyle, std::shared_ptr<RSTypeface> typeface) { in calculateThickness()
|
D | TextLine.cpp | 874 auto shaped = [&](std::shared_ptr<RSTypeface> typeface, bool fallback) -> std::unique_ptr<Run> { in shapeEllipsis()
|
/third_party/skia/modules/skparagraph/include/ |
D | FontCollection.h | 54 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;
|
D | FontArguments.h | 26 std::shared_ptr<RSTypeface> CloneTypeface(std::shared_ptr<RSTypeface> typeface) const;
|
D | TextStyle.h | 317 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;
|
D | drawing.h | 58 using RSTypeface = RSDrawing::Typeface; variable
|
/third_party/skia/modules/skshaper/src/ |
D | SkShaper.cpp | 31 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(
|
D | SkShaper_harfbuzz.cpp | 303 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) {
|