Home
last modified time | relevance | path

Searched refs:SkFontMgr (Results 1 – 25 of 152) sorted by relevance

1234567

/external/skqp/src/core/
DSkFontMgr.cpp36 class SkEmptyFontMgr : public SkFontMgr {
94 int SkFontMgr::countFamilies() const { in countFamilies()
98 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName()
102 SkFontStyleSet* SkFontMgr::createStyleSet(int index) const { in createStyleSet()
106 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const { in matchFamily()
110 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], in matchFamilyStyle()
115 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter()
121 SkTypeface* SkFontMgr::matchFaceStyle(const SkTypeface* face, in matchFaceStyle()
126 sk_sp<SkTypeface> SkFontMgr::makeFromData(sk_sp<SkData> data, int ttcIndex) const { in makeFromData()
133 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream()
[all …]
/external/skia/modules/skparagraph/include/
DFontCollection.h24 void setAssetFontManager(sk_sp<SkFontMgr> fontManager);
25 void setDynamicFontManager(sk_sp<SkFontMgr> fontManager);
26 void setTestFontManager(sk_sp<SkFontMgr> fontManager);
27 void setDefaultFontManager(sk_sp<SkFontMgr> fontManager);
28 void setDefaultFontManager(sk_sp<SkFontMgr> fontManager, const char defaultFamilyName[]);
29 …void setDefaultFontManager(sk_sp<SkFontMgr> fontManager, const std::vector<SkString>& defaultFamil…
31 sk_sp<SkFontMgr> getFallbackManager() const { return fDefaultFontManager; } in getFallbackManager()
47 std::vector<sk_sp<SkFontMgr>> getFontManagerOrder() const;
69 sk_sp<SkFontMgr> fDefaultFontManager;
70 sk_sp<SkFontMgr> fAssetFontManager;
[all …]
/external/skia/src/core/
DSkFontMgr.cpp36 class SkEmptyFontMgr : public SkFontMgr {
91 int SkFontMgr::countFamilies() const { in countFamilies()
95 void SkFontMgr::getFamilyName(int index, SkString* familyName) const { in getFamilyName()
99 SkFontStyleSet* SkFontMgr::createStyleSet(int index) const { in createStyleSet()
103 SkFontStyleSet* SkFontMgr::matchFamily(const char familyName[]) const { in matchFamily()
107 SkTypeface* SkFontMgr::matchFamilyStyle(const char familyName[], in matchFamilyStyle()
112 SkTypeface* SkFontMgr::matchFamilyStyleCharacter(const char familyName[], const SkFontStyle& style, in matchFamilyStyleCharacter()
118 sk_sp<SkTypeface> SkFontMgr::makeFromData(sk_sp<SkData> data, int ttcIndex) const { in makeFromData()
125 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream()
133 sk_sp<SkTypeface> SkFontMgr::makeFromStream(std::unique_ptr<SkStreamAsset> stream, in makeFromStream()
[all …]
DSkTypeface.cpp105 sk_sp<SkFontMgr> fm(SkFontMgr::RefDefault()); in GetDefaultTypeface()
141 return SkFontMgr::RefDefault()->legacyMakeTypeface(name, fontStyle); in MakeFromName()
148 return SkFontMgr::RefDefault()->makeFromStream(std::move(stream), index); in MakeFromStream()
155 return SkFontMgr::RefDefault()->makeFromData(std::move(data), index); in MakeFromData()
159 return SkFontMgr::RefDefault()->makeFromFile(path, index); in MakeFromFile()
220 sk_sp<SkFontMgr> defaultFm = SkFontMgr::RefDefault(); in MakeDeserialize()
231 sk_sp<SkFontMgr> defaultFm = SkFontMgr::RefDefault(); in MakeDeserialize()
/external/skqp/include/ports/
DSkTypeface_win.h41 class SkFontMgr; variable
47 SK_API sk_sp<SkFontMgr> SkFontMgr_New_GDI();
48 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
50 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
60 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
/external/skia/include/ports/
DSkTypeface_win.h49 class SkFontMgr; variable
55 SK_API sk_sp<SkFontMgr> SkFontMgr_New_GDI();
56 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory = NULL,
58 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
68 SK_API sk_sp<SkFontMgr> SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
/external/skia/modules/skparagraph/src/
DFontCollection.cpp31 void FontCollection::setAssetFontManager(sk_sp<SkFontMgr> font_manager) { in setAssetFontManager()
35 void FontCollection::setDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in setDynamicFontManager()
39 void FontCollection::setTestFontManager(sk_sp<SkFontMgr> font_manager) { in setTestFontManager()
43 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager()
49 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager()
55 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager) { in setDefaultFontManager()
60 std::vector<sk_sp<SkFontMgr>> FontCollection::getFontManagerOrder() const { in getFontManagerOrder()
61 std::vector<sk_sp<SkFontMgr>> order; in getFontManagerOrder()
/external/skia/modules/svg/include/
DSkSVGDOM.h31 Builder& setFontManager(sk_sp<SkFontMgr>);
41 sk_sp<SkFontMgr> fFontMgr;
58 SkSVGDOM(sk_sp<SkSVGSVG>, sk_sp<SkFontMgr>, sk_sp<skresources::ResourceProvider>,
62 const sk_sp<SkFontMgr> fFontMgr;
/external/skqp/src/ports/
DSkFontMgr_custom_embedded_factory.cpp12 sk_sp<SkFontMgr> SkFontMgr_New_Custom_Embedded(const SkEmbeddedResourceHeader* header);
15 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_custom_empty_factory.cpp11 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_empty_factory.cpp10 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_fontconfig_factory.cpp12 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
/external/skia/src/ports/
DSkFontMgr_custom_embedded_factory.cpp12 sk_sp<SkFontMgr> SkFontMgr_New_Custom_Embedded(const SkEmbeddedResourceHeader* header);
15 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_empty_factory.cpp10 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_custom_empty_factory.cpp11 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_fontconfig_factory.cpp12 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
DSkFontMgr_win_dw_factory.cpp14 sk_sp<SkFontMgr> SkFontMgr::Factory() { in Factory()
/external/skqp/modules/skottie/src/
DSkottiePriv.h23 class SkFontMgr; variable
46 AnimationBuilder(sk_sp<ResourceProvider>, sk_sp<SkFontMgr>, sk_sp<PropertyObserver>,
128 LazyResolveFontMgr(sk_sp<SkFontMgr> fontMgr) : fFontMgr(std::move(fontMgr)) {} in LazyResolveFontMgr()
130 const sk_sp<SkFontMgr>& get() { in get()
132 fFontMgr = SkFontMgr::RefDefault(); in get()
138 const sk_sp<SkFontMgr>& getMaybeNull() const { return fFontMgr; } in getMaybeNull()
141 sk_sp<SkFontMgr> fFontMgr;
/external/skia/modules/skottie/src/text/
DTextAdapter.h18 class SkFontMgr; variable
33 sk_sp<SkFontMgr>, sk_sp<Logger>);
53 TextAdapter(sk_sp<SkFontMgr>, sk_sp<Logger>, AnchorPointGrouping);
84 const sk_sp<SkFontMgr> fFontMgr;
DSkottieShaper.h16 class SkFontMgr; variable
119 const sk_sp<SkFontMgr>&);
125 const sk_sp<SkFontMgr>&);
/external/skia/modules/skshaper/include/
DSkShaper.h41 class SkFontMgr; variable
48 static std::unique_ptr<SkShaper> MakeShaperDrivenWrapper(sk_sp<SkFontMgr> = nullptr);
49 static std::unique_ptr<SkShaper> MakeShapeThenWrap(sk_sp<SkFontMgr> = nullptr);
50 static std::unique_ptr<SkShaper> MakeShapeDontWrapOrReorder(sk_sp<SkFontMgr> = nullptr);
57 static std::unique_ptr<SkShaper> Make(sk_sp<SkFontMgr> = nullptr);
116 const SkFont& font, sk_sp<SkFontMgr> fallback);
119 const SkFont& font, sk_sp<SkFontMgr> fallback,
/external/skia/include/utils/
DSkOrderedFontMgr.h20 class SK_API SkOrderedFontMgr : public SkFontMgr {
25 void append(sk_sp<SkFontMgr>);
51 std::vector<sk_sp<SkFontMgr>> fList;
/external/skia/modules/skottie/src/
DSkottiePriv.h25 class SkFontMgr; variable
54 AnimationBuilder(sk_sp<ResourceProvider>, sk_sp<SkFontMgr>, sk_sp<PropertyObserver>,
217 LazyResolveFontMgr(sk_sp<SkFontMgr> fontMgr) : fFontMgr(std::move(fontMgr)) {} in LazyResolveFontMgr()
219 const sk_sp<SkFontMgr>& get() { in get()
221 fFontMgr = SkFontMgr::RefDefault(); in get()
227 const sk_sp<SkFontMgr>& getMaybeNull() const { return fFontMgr; } in getMaybeNull()
230 sk_sp<SkFontMgr> fFontMgr;
/external/skqp/tests/
DTypefaceTest.cpp109 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST()
146 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST()
188 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST()
242 sk_sp<SkFontMgr> fm = SkFontMgr::RefDefault(); in DEF_TEST()
/external/skqp/gm/
Dfontmgr.cpp29 SkScalar y, const SkFont& origFont, SkFontMgr* fm, in drawCharacter()
63 fFM = SkFontMgr::RefDefault(); in FontMgrGM()
83 SkFontMgr* fm = fFM.get(); in onDraw()
115 sk_sp<SkFontMgr> fFM;
121 sk_sp<SkFontMgr> fFM;
124 FontMgrMatchGM() : fFM(SkFontMgr::RefDefault()) { in FontMgrMatchGM()
217 fFM = SkFontMgr::RefDefault(); in FontMgrBoundsGM()
321 SkFontMgr* fm = fFM.get(); in onDraw()
354 sk_sp<SkFontMgr> fFM;

1234567