Home
last modified time | relevance | path

Searched refs:MakeFromName (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/samplecode/
DSampleChineseFling.cpp28 return SkTypeface::MakeFromName("SimSun", SkFontStyle()); in chinese_typeface()
30 return SkTypeface::MakeFromName("Hiragino Sans GB W3", SkFontStyle()); in chinese_typeface()
32 return SkTypeface::MakeFromName("Hiragino Sans GB W3", SkFontStyle()); in chinese_typeface()
34 return SkTypeface::MakeFromName("Noto Sans CJK SC", SkFontStyle()); in chinese_typeface()
DSampleXfermodesBlur.cpp32 font->setTypeface(SkTypeface::MakeFromName(name, SkFontStyle())); in setNamedTypeface()
/third_party/skia/tests/
DSkRemoteGlyphCacheTest.cpp211 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
311 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
350 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
392 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
423 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_TEST()
445 auto serverTf = SkTypeface::MakeFromName("Georgia", SkFontStyle()); in DEF_TEST()
474 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
663 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
708 auto serverTf = SkTypeface::MakeFromName("monospace", SkFontStyle()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DFontHostTest.cpp184 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
239 font.setTypeface(SkTypeface::MakeFromName(faces[i], SkFontStyle())); in test_advances()
DGlyphRunTest.cpp22 auto tf = SkTypeface::MakeFromName("monospace", SkFontStyle());
DFontHostStreamTest.cpp70 SkFont font(SkTypeface::MakeFromName("Georgia", SkFontStyle()), 30); in DEF_TEST()
DTextBlobCacheTest.cpp236 auto tf = SkTypeface::MakeFromName("Roboto2-Regular", SkFontStyle()); in make_blob()
260 auto tf = SkTypeface::MakeFromName("Roboto2-Regular", SkFontStyle());
DFontMgrTest.cpp66 sk_sp<SkTypeface> first(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in DEF_TEST()
73 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(inNames[i], SkFontStyle())); in DEF_TEST()
DTextBlobTest.cpp406 sk_sp<SkTypeface> tf = SkTypeface::MakeFromName(nullptr, SkFontStyle::BoldItalic()); in DEF_TEST()
447 sk_sp<SkTypeface> tf = SkTypeface::MakeFromName(nullptr, SkFontStyle::BoldItalic()); in DEF_TEST()
/third_party/skia/tools/fonts/
DToolUtilsFont.cpp36 return SkTypeface::MakeFromName("Planet", SkFontStyle()); in planet_typeface()
55 return SkTypeface::MakeFromName("Emoji", SkFontStyle()); in emoji_typeface()
/third_party/skia/docs/examples/
DPaint_getTypeface.cpp10 paint.setTypeface(SkTypeface::MakeFromName("monospace", SkFontStyle()));
DPaint_setTypeface.cpp9 paint.setTypeface(SkTypeface::MakeFromName("monospace", SkFontStyle()));
DTypeface_Methods.cpp9 paint.setTypeface(SkTypeface::MakeFromName(nullptr, SkFontStyle()));
DPaint_refTypeface.cpp9 paint1.setTypeface(SkTypeface::MakeFromName("monospace",
DColorTypeIsAlwaysOpaque.cpp11 SkFont font(SkTypeface::MakeFromName("monospace", SkFontStyle()), 10); in draw()
DColorTypeBytesPerPixel.cpp11 SkFont font(SkTypeface::MakeFromName("monospace", SkFontStyle()), 10); in draw()
DColorTypeValidateAlphaType.cpp15 SkFont font(SkTypeface::MakeFromName("monospace", SkFontStyle()), 10); in draw()
Dcount_verbs.cpp32 SkFont font(SkTypeface::MakeFromName("DejaVu Sans Mono", SkFontStyle()), 30); in draw()
/third_party/skia/bench/
DGlyphQuadFillBench.cpp35 auto typeface = SkTypeface::MakeFromName("monospace", SkFontStyle()); in onPerCanvasPreDraw()
DTypefaceBench.cpp236 fTypeface = SkTypeface::MakeFromName("monospace", SkFontStyle()); in onDelayedSetup()
/third_party/skia/gm/
Dgammatext.cpp149 SkFont font(SkTypeface::MakeFromName("serif", SkFontStyle::Italic()), 18); in onDraw()
Dmac_aa_explorer.cpp151 font.setTypeface(SkTypeface::MakeFromName("Times", SkFontStyle()));
Dtypeface.cpp104 fFaces[i] = SkTypeface::MakeFromName(nullptr, gStyles[i]); in onOnceBeforeDraw()
/third_party/skia/src/core/
DSkTypeface.cpp186 sk_sp<SkTypeface> SkTypeface::MakeFromName(const char name[], in MakeFromName() function in SkTypeface
284 auto typeface = SkTypeface::MakeFromName(desc.getFamilyName(), desc.getStyle()); in MakeDeserialize()
/third_party/skia/include/core/
DSkTypeface.h119 static sk_sp<SkTypeface> MakeFromName(const char familyName[], SkFontStyle fontStyle);

12