/third_party/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 103 auto fontCollection = sk_make_sp<FontCollection>(); in drawTest() local 104 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in drawTest() 108 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawTest() 205 auto fontCollection = sk_make_sp<FontCollection>(); in drawCode() local 206 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in drawCode() 207 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawCode() 334 auto fontCollection = sk_make_sp<FontCollection>(); in drawLine() local 335 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in drawLine() 336 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawLine() 457 auto fontCollection = sk_make_sp<FontCollection>(); in drawLine() local [all …]
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 199 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() local 200 if (!fontCollection->fontsFound()) return; in UNIX_ONLY_TEST() 206 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in UNIX_ONLY_TEST() 237 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() local 239 if (!fontCollection->fontsFound()) return; in UNIX_ONLY_TEST() 247 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in UNIX_ONLY_TEST() 336 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() local 338 if (!fontCollection->fontsFound()) return; in UNIX_ONLY_TEST() 346 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in UNIX_ONLY_TEST() 392 sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in UNIX_ONLY_TEST() local [all …]
|
/third_party/skia/modules/skparagraph/src/ |
D | ParagraphBuilderImpl.cpp | 20 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { in make() argument 21 return ParagraphBuilderImpl::make(style, fontCollection); in make() 25 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { in make() argument 30 return std::make_unique<ParagraphBuilderImpl>(style, fontCollection); in make() 34 …const ParagraphStyle& style, sk_sp<FontCollection> fontCollection, std::unique_ptr<SkUnicode> unic… in make() argument 38 return std::make_unique<ParagraphBuilderImpl>(style, fontCollection, std::move(unicode)); in make() 42 …const ParagraphStyle& style, sk_sp<FontCollection> fontCollection, std::unique_ptr<SkUnicode> unic… in ParagraphBuilderImpl() argument 43 : ParagraphBuilder(style, fontCollection) in ParagraphBuilderImpl() 45 , fFontCollection(std::move(fontCollection)) in ParagraphBuilderImpl() 52 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) in ParagraphBuilderImpl() argument [all …]
|
D | ParagraphBuilderImpl.h | 22 sk_sp<FontCollection> fontCollection, 26 ParagraphBuilderImpl(const ParagraphStyle& style, sk_sp<FontCollection> fontCollection); 65 sk_sp<FontCollection> fontCollection, 70 sk_sp<FontCollection> fontCollection);
|
D | ParagraphImpl.h | 145 sk_sp<FontCollection> fontCollection() const { return fFontCollection; }
|
D | ParagraphImpl.cpp | 903 auto typefaces = fontCollection()->findTypefaces( in computeEmptyMetrics()
|
/third_party/flutter/skia/tests/ |
D | SkParagraphTest.cpp | 140 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() local 141 if (!fontCollection->fontsFound()) return; in DEF_TEST() 146 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in DEF_TEST() 206 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() local 207 if (!fontCollection->fontsFound()) return; in DEF_TEST() 212 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in DEF_TEST() 243 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() local 245 if (!fontCollection->fontsFound()) return; in DEF_TEST() 263 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in DEF_TEST() 362 sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(); in DEF_TEST() local [all …]
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | ParagraphBuilderImpl.cpp | 14 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { in make() argument 15 return skstd::make_unique<ParagraphBuilderImpl>(style, fontCollection); in make() 19 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) in ParagraphBuilderImpl() argument 20 … : ParagraphBuilder(style, fontCollection), fUtf8(), fFontCollection(std::move(fontCollection)) { in ParagraphBuilderImpl()
|
D | ParagraphBuilderImpl.h | 20 ParagraphBuilderImpl(const ParagraphStyle& style, sk_sp<FontCollection> fontCollection);
|
D | ParagraphImpl.h | 84 sk_sp<FontCollection> fontCollection() const { return fFontCollection; } in fontCollection() function
|
D | FontResolver.cpp | 234 fFontCollection = master->fontCollection(); in findAllFontsForAllStyledBlocks()
|
/third_party/skia/modules/skparagraph/bench/ |
D | ParagraphBench.cpp | 37 auto fontCollection = sk_make_sp<FontCollection>(); in onDraw() local 38 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in onDraw() 41 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in onDraw()
|
/third_party/flutter/skia/bench/ |
D | ParagraphBench.cpp | 37 auto fontCollection = sk_make_sp<FontCollection>(); in onDraw() local 38 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in onDraw() 41 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in onDraw()
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | ParagraphBuilder.h | 19 ParagraphBuilder(const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { } in ParagraphBuilder() argument 55 sk_sp<FontCollection> fontCollection);
|
/third_party/skia/src/ports/ |
D | SkFontMgr_mac_ct.cpp | 445 SkFontMgr_Mac(CTFontCollectionRef fontCollection) in SkFontMgr_Mac() argument 446 : fNames(fontCollection ? SkCopyAvailableFontFamilyNames(fontCollection) in SkFontMgr_Mac() 449 , fFontCollection(fontCollection ? (CTFontCollectionRef)CFRetain(fontCollection) in SkFontMgr_Mac() 621 sk_sp<SkFontMgr> SkFontMgr_New_CoreText(CTFontCollectionRef fontCollection) { in SkFontMgr_New_CoreText() argument 622 return sk_make_sp<SkFontMgr_Mac>(fontCollection); in SkFontMgr_New_CoreText()
|
D | SkFontMgr_win_dw.cpp | 333 SkFontMgr_DirectWrite(IDWriteFactory* factory, IDWriteFontCollection* fontCollection, in SkFontMgr_DirectWrite() argument 339 , fFontCollection(SkRefComPtr(fontCollection)) in SkFontMgr_DirectWrite() 1080 SkTScopedComPtr<IDWriteFontCollection> fontCollection; in onMakeFromStreamArgs() local 1082 &fontCollection)); in onMakeFromStreamArgs() 1085 UINT32 familyCount = fontCollection->GetFontFamilyCount(); in onMakeFromStreamArgs() 1088 HRN(fontCollection->GetFontFamily(familyIndex, &fontFamily)); in onMakeFromStreamArgs()
|
D | SkRemotableFontMgr_win_dw.cpp | 87 SkRemotableFontMgr_DirectWrite(IDWriteFontCollection* fontCollection, in SkRemotableFontMgr_DirectWrite() argument 89 : fFontCollection(SkRefComPtr(fontCollection)) in SkRemotableFontMgr_DirectWrite()
|
/third_party/flutter/skia/src/ports/ |
D | SkFontMgr_win_dw.cpp | 270 SkFontMgr_DirectWrite(IDWriteFactory* factory, IDWriteFontCollection* fontCollection, in SkFontMgr_DirectWrite() argument 276 , fFontCollection(SkRefComPtr(fontCollection)) in SkFontMgr_DirectWrite() 920 SkTScopedComPtr<IDWriteFontCollection> fontCollection; in onMakeFromStreamIndex() local 921 …HRN(fFactory->CreateCustomFontCollection(fontCollectionLoader.get(), nullptr, 0, &fontCollection)); in onMakeFromStreamIndex() 924 UINT32 familyCount = fontCollection->GetFontFamilyCount(); in onMakeFromStreamIndex() 927 HRN(fontCollection->GetFontFamily(familyIndex, &fontFamily)); in onMakeFromStreamIndex() 968 SkTScopedComPtr<IDWriteFontCollection> fontCollection; in onMakeFromStreamArgs() local 970 &fontCollection)); in onMakeFromStreamArgs() 973 UINT32 familyCount = fontCollection->GetFontFamilyCount(); in onMakeFromStreamArgs() 976 HRN(fontCollection->GetFontFamily(familyIndex, &fontFamily)); in onMakeFromStreamArgs()
|
D | SkRemotableFontMgr_win_dw.cpp | 87 SkRemotableFontMgr_DirectWrite(IDWriteFontCollection* fontCollection, in SkRemotableFontMgr_DirectWrite() argument 89 : fFontCollection(SkRefComPtr(fontCollection)) in SkRemotableFontMgr_DirectWrite()
|
/third_party/flutter/skia/samplecode/ |
D | SampleParagraph.cpp | 105 auto fontCollection = sk_make_sp<FontCollection>(); in drawTest() local 106 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in drawTest() 110 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawTest() 207 auto fontCollection = sk_make_sp<FontCollection>(); in drawCode() local 208 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in drawCode() 209 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawCode() 328 auto fontCollection = sk_make_sp<FontCollection>(); in drawLine() local 329 fontCollection->setDefaultFontManager(SkFontMgr::RefDefault()); in drawLine() 330 ParagraphBuilderImpl builder(paraStyle, fontCollection); in drawLine() 452 auto fontCollection = sk_make_sp<FontCollection>(); in drawLine() local [all …]
|
/third_party/skia/fuzz/ |
D | FuzzSkParagraph.cpp | 259 static sk_sp<ResourceFontCollection> fontCollection = sk_make_sp<ResourceFontCollection>(); in DEF_FUZZ() local 261 ParagraphBuilderImpl builder(paragraph_style, fontCollection); in DEF_FUZZ()
|
/third_party/skia/modules/skparagraph/include/ |
D | ParagraphBuilder.h | 63 sk_sp<FontCollection> fontCollection);
|