Home
last modified time | relevance | path

Searched refs:getTypeface (Results 1 – 25 of 91) sorted by relevance

1234

/external/skqp/tests/
DFontObjTest.cpp29 if (paint.getTypeface()) { in test_cachedfont()
30 REPORTER_ASSERT(reporter, font->getTypeface() == paint.getTypeface()); in test_cachedfont()
DTextBlobTest.cpp203 REPORTER_ASSERT(reporter, defaultPaint.getTypeface() != font.getTypeface()); in TestPaintProps()
232 REPORTER_ASSERT(reporter, paint.getTypeface() == font.getTypeface()); in TestPaintProps()
DFontHostStreamTest.cpp87 sk_sp<SkTypeface> typeface(paint.getTypeface() ? paint.refTypeface() in DEF_TEST()
/external/skia/tests/
DFontObjTest.cpp29 if (paint.getTypeface()) { in test_cachedfont()
30 REPORTER_ASSERT(reporter, font->getTypeface() == paint.getTypeface()); in test_cachedfont()
DTextBlobTest.cpp203 REPORTER_ASSERT(reporter, defaultPaint.getTypeface() != font.getTypeface()); in TestPaintProps()
232 REPORTER_ASSERT(reporter, paint.getTypeface() == font.getTypeface()); in TestPaintProps()
DFontHostStreamTest.cpp87 sk_sp<SkTypeface> typeface(paint.getTypeface() ? paint.refTypeface() in DEF_TEST()
/external/skia/src/core/
DSkFont.cpp47 return SkFont::Make(sk_ref_sp(this->getTypeface()), newSize, this->getScaleX(), in makeWithSize()
52 return SkFont::Make(sk_ref_sp(this->getTypeface()), this->getSize(), this->getScaleX(), in makeWithFlags()
149 return Make(sk_ref_sp(paint.getTypeface()), paint.getTextSize(), paint.getTextScaleX(), in Testing_CreateFromPaint()
DSkDeduper.h35 virtual SkTypeface* getTypeface(int) = 0;
DSkTypeface_remote.cpp39 auto up = this->getTypeface(); in typefaceProxy()
/external/skqp/src/core/
DSkFont.cpp47 return SkFont::Make(sk_ref_sp(this->getTypeface()), newSize, this->getScaleX(), in makeWithSize()
52 return SkFont::Make(sk_ref_sp(this->getTypeface()), this->getSize(), this->getScaleX(), in makeWithFlags()
149 return Make(sk_ref_sp(paint.getTypeface()), paint.getTextSize(), paint.getTextScaleX(), in Testing_CreateFromPaint()
DSkDeduper.h35 virtual SkTypeface* getTypeface(int) = 0;
DSkTypeface_remote.cpp39 auto up = this->getTypeface(); in typefaceProxy()
/external/skqp/bench/
DCmapBench.cpp49 SkTypeface* face = paint.getTypeface(); in charsToGlyphs_proc()
59 SkTypeface* face = paint.getTypeface(); in charsToGlyphsNull_proc()
/external/skia/bench/
DCmapBench.cpp49 SkTypeface* face = paint.getTypeface(); in charsToGlyphs_proc()
59 SkTypeface* face = paint.getTypeface(); in charsToGlyphsNull_proc()
/external/skqp/gm/
Dfontmgr.cpp252 int numGlyphs = glyphPaint.getTypeface()->countGlyphs(); in show_bounds()
305 if (paint.getTypeface() && paint.getTypeface()->countGlyphs() < 1000) { in onDraw()
Dtypeface.cpp34 SkScalar scale = paint.getTextSize() / paint.getTypeface()->getUnitsPerEm(); in applyKerning()
45 SkTypeface* face = paint.getTypeface(); in drawKernText()
Dpdf_never_embed.cpp33 if (!p.getTypeface()) {
/external/skia/gm/
Dfontmgr.cpp252 int numGlyphs = glyphPaint.getTypeface()->countGlyphs(); in show_bounds()
305 if (paint.getTypeface() && paint.getTypeface()->countGlyphs() < 1000) { in onDraw()
Dtypeface.cpp34 SkScalar scale = paint.getTextSize() / paint.getTypeface()->getUnitsPerEm(); in applyKerning()
45 SkTypeface* face = paint.getTypeface(); in drawKernText()
Dpdf_never_embed.cpp33 if (!p.getTypeface()) {
/external/skqp/src/gpu/text/
DGrStencilAndCoverTextContext.cpp380 const SkTypeface* typeface = fFont.getTypeface(); in TextRun()
390 const SkTypeface* typeface = fFont.getTypeface(); in TextRun()
399 const SkTypeface* typeface = glyphCache->getScalerContext()->getTypeface(); in TextRun()
521 glyphs = resourceProvider->createGlyphs(fFont.getTypeface(), noeffects, in createGlyphs()
525 glyphs = resourceProvider->createGlyphs(cache->getScalerContext()->getTypeface(), in createGlyphs()
/external/skqp/src/ports/
DSkScalerContext_win_dw.h51 return static_cast<DWriteFontTypeface*>(this->getTypeface()); in getDWriteTypeface()
/external/skia/src/ports/
DSkScalerContext_win_dw.h51 return static_cast<DWriteFontTypeface*>(this->getTypeface()); in getDWriteTypeface()
/external/skia/include/core/
DSkFont.h134 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() function
/external/skqp/include/core/
DSkFont.h134 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() function

1234