Home
last modified time | relevance | path

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

/external/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()
/external/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()
191 return new TestTypeface(invalidFontStyle); in DEF_TEST()
193 return new TestTypeface(fStyles[index]); in DEF_TEST()
/external/skqp/tests/
DFontMgrTest.cpp121 class TestTypeface : public SkTypeface { in test_matchStyleCSS3() class
123 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in test_matchStyleCSS3() function in test_matchStyleCSS3::TestTypeface
180 return new TestTypeface(invalidFontStyle); in test_matchStyleCSS3()
182 return new TestTypeface(fStyles[index]); in test_matchStyleCSS3()
/external/skia/modules/skottie/
DBUILD.gn85 "../../tools/fonts/TestTypeface.cpp",
/external/skqp/experimental/canvaskit/
DCHANGELOG.md59 - CanvasKit comes with one font (NotoMono) instead of the Skia TestTypeface. Clients are encouraged
/external/skia/
DBUILD.gn1926 "tools/fonts/TestTypeface.cpp",
1927 "tools/fonts/TestTypeface.h",
2966 "tools/fonts/TestTypeface.cpp",
2986 "tools/fonts/TestTypeface.cpp",
3022 "tools/fonts/TestTypeface.cpp",
3112 "tools/fonts/TestTypeface.cpp",
3147 "tools/fonts/TestTypeface.cpp",
3173 "tools/fonts/TestTypeface.cpp",
3206 "tools/fonts/TestTypeface.cpp",
3244 "tools/fonts/TestTypeface.cpp",
Dpublic.bzl627 "tools/fonts/TestTypeface.cpp",
628 "tools/fonts/TestTypeface.h",
DAndroid.bp2939 "tools/fonts/TestTypeface.cpp",
3697 "tools/fonts/TestTypeface.cpp",
/external/skia/src/core/
DSkGlyph.h354 friend class TestTypeface; variable
/external/skia/modules/canvaskit/
DCHANGELOG.md799 - CanvasKit comes with one font (NotoMono) instead of the Skia TestTypeface. Clients are encouraged