Home
last modified time | relevance | path

Searched refs:TestTypeface (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/tools/fonts/
DTestTypeface.cpp90 TestTypeface::TestTypeface(sk_sp<SkTestFont> testFont, const SkFontStyle& style) in TestTypeface() function in TestTypeface
93 void TestTypeface::getAdvance(SkGlyph* glyph) { in getAdvance()
102 void TestTypeface::getFontMetrics(SkFontMetrics* metrics) { *metrics = fTestFont->fMetrics; } in getFontMetrics()
104 SkPath TestTypeface::getPath(SkGlyphID glyphID) { in getPath()
109 void TestTypeface::onFilterRec(SkScalerContextRec* rec) const { in onFilterRec()
113 void TestTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
120 std::unique_ptr<SkAdvancedTypefaceMetrics> TestTypeface::onGetAdvancedMetrics() const { // pdf only in onGetAdvancedMetrics()
126 void TestTypeface::onGetFontDescriptor(SkFontDescriptor* desc, bool* isLocal) const { in onGetFontDescriptor()
132 void TestTypeface::onCharsToGlyphs(const SkUnichar* uni, int count, SkGlyphID glyphs[]) const { in onCharsToGlyphs()
138 void TestTypeface::onGetFamilyName(SkString* familyName) const { *familyName = fTestFont->fName; } in onGetFamilyName()
[all …]
DTestTypeface.h61 friend class TestTypeface; variable
65 class TestTypeface : public SkTypeface {
67 TestTypeface(sk_sp<SkTestFont>, const SkFontStyle& style);
DTestFontMgr.cpp67 sk_sp<TestTypeface> typeface = in FontMgr()
68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr()
/third_party/flutter/skia/tools/fonts/
DTestTypeface.cpp93 TestTypeface::TestTypeface(sk_sp<SkTestFont> testFont, const SkFontStyle& style) in TestTypeface() function in TestTypeface
96 void TestTypeface::getAdvance(SkGlyph* glyph) { in getAdvance()
105 void TestTypeface::getFontMetrics(SkFontMetrics* metrics) { *metrics = fTestFont->fMetrics; } in getFontMetrics()
107 void TestTypeface::getPath(SkGlyphID glyphID, SkPath* path) { in getPath()
112 void TestTypeface::onFilterRec(SkScalerContextRec* rec) const { in onFilterRec()
116 void TestTypeface::getGlyphToUnicodeMap(SkUnichar* glyphToUnicode) const { in getGlyphToUnicodeMap()
123 std::unique_ptr<SkAdvancedTypefaceMetrics> TestTypeface::onGetAdvancedMetrics() const { // pdf only in onGetAdvancedMetrics()
129 void TestTypeface::onGetFontDescriptor(SkFontDescriptor* desc, bool* isLocal) const { in onGetFontDescriptor()
135 void TestTypeface::onCharsToGlyphs(const SkUnichar uni[], int count, SkGlyphID glyphs[]) const { in onCharsToGlyphs()
141 void TestTypeface::onGetFamilyName(SkString* familyName) const { *familyName = fTestFont->fName; } in onGetFamilyName()
[all …]
DTestTypeface.h61 friend class TestTypeface; variable
65 class TestTypeface : public SkTypeface {
67 TestTypeface(sk_sp<SkTestFont>, const SkFontStyle& style);
DTestFontMgr.cpp67 sk_sp<TestTypeface> typeface = in FontMgr()
68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr()
/third_party/skia/tools/
DBUILD.bazel25 "fonts/TestTypeface.cpp",
26 "fonts/TestTypeface.h",
/third_party/skia/tests/
DFontMgrTest.cpp126 class TestTypeface : public SkTypeface { in DEF_TEST() class
128 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in DEF_TEST() function in DEF_TEST::TestTypeface
138 sk_ref_sp(const_cast<TestTypeface*>(this)), effects, desc); in DEF_TEST()
192 return new TestTypeface(invalidFontStyle); in DEF_TEST()
194 return new TestTypeface(fStyles[index]); in DEF_TEST()
/third_party/flutter/skia/tests/
DFontMgrTest.cpp122 class TestTypeface : public SkTypeface { in test_matchStyleCSS3() class
124 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in test_matchStyleCSS3() function in test_matchStyleCSS3::TestTypeface
184 return new TestTypeface(invalidFontStyle); in test_matchStyleCSS3()
186 return new TestTypeface(fStyles[index]); in test_matchStyleCSS3()
/third_party/flutter/skia/modules/skottie/
DBUILD.gn82 "../../tools/fonts/TestTypeface.cpp",
/third_party/skia/modules/skottie/
DBUILD.gn87 "../../tools/fonts/TestTypeface.cpp",
/third_party/flutter/skia/src/core/
DSkGlyph.h238 friend class TestTypeface; variable
/third_party/skia/
DBUILD.gn2004 "tools/fonts/TestTypeface.cpp",
2005 "tools/fonts/TestTypeface.h",
3090 "tools/fonts/TestTypeface.cpp",
3110 "tools/fonts/TestTypeface.cpp",
3146 "tools/fonts/TestTypeface.cpp",
3236 "tools/fonts/TestTypeface.cpp",
3271 "tools/fonts/TestTypeface.cpp",
3297 "tools/fonts/TestTypeface.cpp",
3330 "tools/fonts/TestTypeface.cpp",
3368 "tools/fonts/TestTypeface.cpp",
Dpublic.bzl613 "tools/fonts/TestTypeface.cpp",
614 "tools/fonts/TestTypeface.h",
/third_party/flutter/skia/
Dpublic.bzl498 "tools/fonts/TestTypeface.cpp",
499 "tools/fonts/TestTypeface.h",
DBUILD.gn1536 "tools/fonts/TestTypeface.cpp",
1537 "tools/fonts/TestTypeface.h",
/third_party/skia/src/core/
DSkGlyph.h355 friend class TestTypeface; variable
/third_party/flutter/skia/modules/canvaskit/
DCHANGELOG.md140 - CanvasKit comes with one font (NotoMono) instead of the Skia TestTypeface. Clients are encouraged
/third_party/skia/modules/canvaskit/
DCHANGELOG.md906 - CanvasKit comes with one font (NotoMono) instead of the Skia TestTypeface. Clients are encouraged