Home
last modified time | relevance | path

Searched refs:TestTypeface (Results 1 – 10 of 10) 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/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/skia/modules/skottie/
DBUILD.gn102 "../../tools/fonts/TestTypeface.cpp",
/third_party/skia/
DBUILD.gn2527 "tools/fonts/TestTypeface.cpp",
2528 "tools/fonts/TestTypeface.h",
3652 "tools/fonts/TestTypeface.cpp",
3672 "tools/fonts/TestTypeface.cpp",
3708 "tools/fonts/TestTypeface.cpp",
3798 "tools/fonts/TestTypeface.cpp",
3833 "tools/fonts/TestTypeface.cpp",
3859 "tools/fonts/TestTypeface.cpp",
3892 "tools/fonts/TestTypeface.cpp",
3930 "tools/fonts/TestTypeface.cpp",
Dpublic.bzl613 "tools/fonts/TestTypeface.cpp",
614 "tools/fonts/TestTypeface.h",
/third_party/skia/src/core/
DSkGlyph.h355 friend class TestTypeface; variable
/third_party/skia/modules/canvaskit/
DCHANGELOG.md906 - CanvasKit comes with one font (NotoMono) instead of the Skia TestTypeface. Clients are encouraged