Home
last modified time | relevance | path

Searched refs:familyNames (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/modules/skparagraph/include/
H A DFontCollection.h44 std::vector<sk_sp<SkTypeface>> findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle);
45 std::vector<sk_sp<SkTypeface>> findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle, const std::optional<FontArguments>& fontArgs);
64 const std::vector<SkString>& familyNames, RSFontStyle fontStyle);
66 const std::vector<SkString>& familyNames, RSFontStyle fontStyle, const std::optional<FontArguments>& fontArgs);
124 FamilyKey(const std::vector<SkString>& familyNames, SkFontStyle style, const std::optional<FontArguments>& args) in FamilyKey()
125 : fFamilyNames(familyNames), fFontStyle(style), fFontArguments(args) {} in FamilyKey()
128 const std::vector<SkString>& familyNames, RSFontStyle style, const std::optional<FontArguments>& args)
129 : fFamilyNames(familyNames), fFontStyle(style), fFontArguments(args) {}
/third_party/skia/src/ports/
H A DSkTypeface_win_dw.cpp52 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFamilyName() local
53 HRV(fDWriteFontFamily->GetFamilyNames(&familyNames)); in onGetFamilyName()
55 sk_get_locale_string(familyNames.get(), nullptr/*fMgr->fLocaleName.get()*/, familyName); in onGetFamilyName()
80 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFontDescriptor() local
81 HRV(fDWriteFontFamily->GetFamilyNames(&familyNames)); in onGetFontDescriptor()
84 sk_get_locale_string(familyNames.get(), nullptr/*fMgr->fLocaleName.get()*/, &utf8FamilyName); in onGetFontDescriptor()
151 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onCreateFamilyNameIterator() local
152 HRNM(fDWriteFontFamily->GetFamilyNames(&familyNames), "Could not obtain family names."); in onCreateFamilyNameIterator()
153 nameIter = sk_make_sp<LocalizedStrings_IDWriteLocalizedStrings>(familyNames.release()); in onCreateFamilyNameIterator()
515 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames;
[all...]
H A DSkFontMgr_mac_ct.cpp388 std::unique_ptr<const void*[]> familyNames(new const void*[count]); in SkCopyAvailableFontFamilyNames()
389 CFSetGetValues(familyNameSet.get(), familyNames.get()); in SkCopyAvailableFontFamilyNames()
392 std::sort(familyNames.get(), familyNames.get() + count, [](const void* a, const void* b){ in SkCopyAvailableFontFamilyNames()
398 CFArrayCreate(kCFAllocatorDefault, familyNames.get(), count, &kCFTypeArrayCallBacks)); in SkCopyAvailableFontFamilyNames()
H A DSkFontMgr_win_dw.cpp550 SkTScopedComPtr<IDWriteLocalizedStrings> familyNames; in onGetFamilyName() local
551 HRVM(fontFamily->GetFamilyNames(&familyNames), "Could not get family names."); in onGetFamilyName()
553 sk_get_locale_string(familyNames.get(), fLocaleName.get(), familyName); in onGetFamilyName()
/third_party/skia/modules/skparagraph/src/
H A DFontCollection.cpp156 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, SkFontStyle fontStyle) { argument
159 const std::vector<SkString>& familyNames, RSFontStyle fontStyle)
162 return findTypefaces(familyNames, fontStyle, std::nullopt);
166 std::vector<sk_sp<SkTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, argument
169 FamilyKey familyKey(familyNames, fontStyle, fontArgs);
179 for (const SkString& familyName : familyNames) {
216 std::vector<std::shared_ptr<RSTypeface>> FontCollection::findTypefaces(const std::vector<SkString>& familyNames, argument
220 FamilyKey familyKey(familyNames, fontStyle, fontArgs);
230 for (const auto& familyName : familyNames) {

Completed in 5 milliseconds