Home
last modified time | relevance | path

Searched refs:TestTypeface (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/tools/fonts/
H A DTestTypeface.cpp27 #include "tools/fonts/TestTypeface.h"
90 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
[all...]
H A DTestTypeface.h61 friend class TestTypeface;
65 class TestTypeface : public SkTypeface { class
67 TestTypeface(sk_sp<SkTestFont>, const SkFontStyle& style);
H A DTestFontMgr.cpp11 #include "tools/fonts/TestTypeface.h"
67 sk_sp<TestTypeface> typeface = in FontMgr()
68 sk_make_sp<TestTypeface>(sk_make_sp<SkTestFont>(sub.fFont), sub.fStyle); in FontMgr()
/third_party/skia/tests/
H A DFontMgrTest.cpp126 class TestTypeface : public SkTypeface { in DEF_TEST() class
128 TestTypeface(const SkFontStyle& fontStyle) : SkTypeface(fontStyle, false){} in DEF_TEST() function in 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/src/core/
H A DSkGlyph.h355 friend class TestTypeface;

Completed in 3 milliseconds