Home
last modified time | relevance | path

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

12

/third_party/skia/docs/examples/
DPaint_refTypeface.cpp13 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');
16 paint1.getTypeface() == paint2.getTypeface() ? '=' : '!');
DPaint_getTypeface.cpp9 SkDebugf("nullptr %c= typeface\n", paint.getTypeface() ? '!' : '=');
11 SkDebugf("nullptr %c= typeface\n", paint.getTypeface() ? '!' : '=');
/third_party/skia/src/ports/skia_ohos/
DSkFontStyleSet_ohos.cpp41 SkTypeface* typeface = fontConfig_->getTypeface(styleIndex, index, isFallback); in getStyle()
86 return SkSafeRef(fontConfig_->getTypeface(styleIndex, index, isFallback)); in createTypeface()
99 return SkSafeRef(fontConfig_->getTypeface(styleIndex, pattern, isFallback)); in matchStyle()
DFontConfig_ohos.h117 SkTypeface_OHOS* getTypeface(int styleIndex, int index, bool isFallback = false) const;
118 SkTypeface_OHOS* getTypeface(int styleIndex, const SkFontStyle& style,
/third_party/skia/tests/
DFontTest.cpp29 SkASSERT((!font.getTypeface() && count == 0) || in serialize_deserialize()
30 ( font.getTypeface() && count == 1)); in serialize_deserialize()
34 SkASSERT(typeface == font.getTypeface()); in serialize_deserialize()
DTypefaceTest.cpp533 SkASSERT(font.getTypeface()); in DEF_TEST()
549 font.getTypeface()->getFamilyName(&familyName); in DEF_TEST()
/third_party/skia/modules/skshaper/src/
DSkShaper.cpp125 } else if (fFallbackFont.getTypeface() && fFallbackFont.unicharToGlyph(u)) { in consume()
146 if (fCurrentFont->getTypeface() != fFont.getTypeface() && fFont.unicharToGlyph(u)) { in consume()
DSkShaper_primitive.cpp149 SkASSERT(skfont.getTypeface()); in shape()
167 SkASSERT(font.currentFont().getTypeface()); in shape()
DSkShaper_coretext.cpp78 SkASSERT(skfont.getTypeface()); in shape()
96 SkASSERT(font.currentFont().getTypeface()); in shape()
/third_party/skia/experimental/sktext/src/
DPaint.cpp38 if (fontChain->getTypeface() == nullptr || fontChain->getTypeface().get() == nullptr) { in drawText()
DPaint.h34 sk_sp<SkTypeface> getTypeface() const { return fTypeface; } in getTypeface() function
/third_party/skia/modules/canvaskit/htmlcanvas/
Dfont.js69 function getTypeface(fontstr) { function
/third_party/skia/src/core/
DSkTypeface_remote.cpp75 return (SkTypefaceProxy*)this->getTypeface(); in getProxyTypeface()
DSkScalerContext.h278 SkTypeface* getTypeface() const { return fTypeface.get(); } in getTypeface() function
/third_party/skia/modules/androidkit/src/
DFontChainAdapter.cpp36 return sk_ref_sp(font->getTypeface()); in operator []()
/third_party/skia/src/ports/
DSkScalerContext_win_dw.h67 return static_cast<DWriteFontTypeface*>(this->getTypeface()); in getDWriteTypeface()
DSkScalerContext_mac_ct.cpp124 CTFontRef ctFont = (CTFontRef)this->getTypeface()->internal_private_getCTFontRef(); in SkScalerContext_Mac()
145 ((SkTypeface_Mac*)this->getTypeface())->fOpszVariation); in SkScalerContext_Mac()
705 size_t bytesRead = this->getTypeface()->getTableData( in generateFontMetrics()
DSkFontHost_win.cpp642 LogFontTypeface* typeface = static_cast<LogFontTypeface*>(this->getTypeface()); in SkScalerContext_GDI()
858 LogFontTypeface::EnsureAccessible(this->getTypeface()); in generateMetrics()
946 LogFontTypeface::EnsureAccessible(this->getTypeface()); in generateFontMetrics()
1102 LogFontTypeface::EnsureAccessible(this->getTypeface()); in generateImage()
1510 LogFontTypeface::EnsureAccessible(this->getTypeface()); in getGDIGlyphPath()
1523 LogFontTypeface::EnsureAccessible(this->getTypeface()); in getGDIGlyphPath()
/third_party/skia/experimental/sktext/tests/
DFontResolvedText.cpp56 …REPORTER_ASSERT(reporter, resolvedFonts.front().typeface->uniqueID() == fontChain->getTypeface()->… in UNIX_ONLY_TEST()
/third_party/skia/modules/skparagraph/src/
DOneLineShaper.cpp70 if (resolved.fRun->fFont.getTypeface() != nullptr) { in printState()
71 resolved.fRun->fFont.getTypeface()->getFamilyName(&name); in printState()
650 wantedWeight - font.getTypeface()->fontStyle().weight() >= 200; in shape()
653 font.getTypeface()->fontStyle().slant() != SkFontStyle::kItalic_Slant; in shape()
/third_party/skia/include/core/
DSkFont.h199 SkTypeface* getTypeface() const {return fTypeface.get(); } in getTypeface() function
/third_party/skia/tools/fonts/
DTestTypeface.cpp160 return static_cast<TestTypeface*>(this->getTypeface()); in getTestTypeface()
DRandomScalerContext.cpp34 return static_cast<SkRandomTypeface*>(this->getTypeface()); in getRandomTypeface()
/third_party/skia/modules/skshaper/tests/
DShaperTest.cpp71 SkTypeface* typeface = info.fFont.getTypeface(); in commitRunBuffer()
/third_party/skia/modules/skparagraph/tests/
DSkShaperJSONWriter.cpp80 info.fFont.getTypeface()->getFamilyName(&fontName); in commitRunBuffer()

12