Home
last modified time | relevance | path

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

1234

/third_party/flutter/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/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/flutter/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.h112 SkTypeface_OHOS* getTypeface(int styleIndex, int index, bool isFallback = false) const;
113 SkTypeface_OHOS* getTypeface(int styleIndex, const SkFontStyle& style,
/third_party/flutter/skia/modules/skshaper/src/
DSkShaper.cpp64 } else if (fFallbackFont.getTypeface() && fFallbackFont.unicharToGlyph(u)) { in consume()
69 nullptr, fFont.getTypeface()->fontStyle(), nullptr, 0, u)); in consume()
83 if (fCurrentFont->getTypeface() != fFont.getTypeface() && fFont.unicharToGlyph(u)) { in consume()
91 nullptr, fFont.getTypeface()->fontStyle(), nullptr, 0, u)); in consume()
/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()
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphCache.cpp53 if (fd.fFont.getTypeface() != nullptr) { in operator ()()
55 fd.fFont.getTypeface()->getFamilyName(&name); in operator ()()
57 hash = mix(hash, SkGoodHash()(fd.fFont.getTypeface()->fontStyle())); in operator ()()
DFontResolver.cpp110 if (fFirstResolvedFont.fFont.getTypeface() != nullptr) { in findAllFontsForStyledBlock()
112 fFirstResolvedFont.fFont.getTypeface()->getFamilyName(&name); in findAllFontsForStyledBlock()
124 font.fFont.getTypeface()->unicharsToGlyphs( in resolveAllCharactersByFont()
DFontResolver.h49 return SkTypeface::UniqueID(key.fFont.getTypeface()) + in operator()
/third_party/skia/modules/skshaper/src/
DSkShaper.cpp121 } else if (fFallbackFont.getTypeface() && fFallbackFont.unicharToGlyph(u)) { in consume()
142 if (fCurrentFont->getTypeface() != fFont.getTypeface() && fFont.unicharToGlyph(u)) { in consume()
DSkShaper_primitive.cpp140 SkASSERT(skfont.getTypeface()); in shape()
158 SkASSERT(font.currentFont().getTypeface()); in shape()
DSkShaper_coretext.cpp77 SkASSERT(skfont.getTypeface()); in shape()
95 SkASSERT(font.currentFont().getTypeface()); in shape()
/third_party/skia/experimental/sktext/src/
DPaint.cpp38 if (fontChain->getTypeface() == nullptr || fontChain->getTypeface().get() == nullptr) { in drawText()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dfont.js69 function getTypeface(fontstr) { function
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dfont.js69 function getTypeface(fontstr) { function
/third_party/skia/src/core/
DSkTypeface_remote.cpp75 return (SkTypefaceProxy*)this->getTypeface(); in getProxyTypeface()
/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()
/third_party/flutter/skia/src/ports/
DSkScalerContext_win_dw.h68 return static_cast<DWriteFontTypeface*>(this->getTypeface()); in getDWriteTypeface()
/third_party/skia/experimental/sktext/tests/
DFontResolvedText.cpp56 …REPORTER_ASSERT(reporter, resolvedFonts.front().typeface->uniqueID() == fontChain->getTypeface()->… in UNIX_ONLY_TEST()
/third_party/flutter/skia/src/core/
DSkTypeface_remote.cpp111 return (SkTypefaceProxy*)this->getTypeface(); in getProxyTypeface()
/third_party/skia/modules/skparagraph/src/
DOneLineShaper.cpp67 if (resolved.fRun->fFont.getTypeface() != nullptr) { in printState()
68 resolved.fRun->fFont.getTypeface()->getFamilyName(&name); in printState()
666 wantedWeight - font.getTypeface()->fontStyle().weight() >= 200; in shape()
669 font.getTypeface()->fontStyle().slant() != SkFontStyle::kItalic_Slant; in shape()

1234