Home
last modified time | relevance | path

Searched refs:SkFontHinting (Results 1 – 25 of 45) sorted by relevance

12

/third_party/skia/tests/
DFontHostTest.cpp208 SkFontHinting hinting; in test_advances()
212 { SkFontHinting::kNone, false, false }, in test_advances()
213 { SkFontHinting::kNone, true, false }, in test_advances()
214 { SkFontHinting::kNone, false, true }, in test_advances()
215 { SkFontHinting::kSlight, false, false }, in test_advances()
216 { SkFontHinting::kSlight, true, false }, in test_advances()
217 { SkFontHinting::kSlight, false, true }, in test_advances()
218 { SkFontHinting::kNormal, false, false }, in test_advances()
219 { SkFontHinting::kNormal, true, false }, in test_advances()
220 { SkFontHinting::kNormal, false, true }, in test_advances()
DFontTest.cpp74 const SkFontHinting hints[] = { in DEF_TEST()
75 SkFontHinting::kNone, SkFontHinting::kFull in DEF_TEST()
DPaintTest.cpp207 …for (auto hint : { SkFontHinting::kNone, SkFontHinting::kSlight, SkFontHinting::kNormal, SkFontHin…
DGlyphRunTest.cpp26 font.setHinting(SkFontHinting::kNormal);
DGrTextBlobTest.cpp48 font.setHinting(SkFontHinting::kNormal); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
76 font.setHinting(SkFontHinting::kNormal); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/core/
DSkScalerContext.h199 inline SkFontHinting getHinting() const;
200 inline void setHinting(SkFontHinting);
439 SkFontHinting SkScalerContextRec::getHinting() const { in getHinting()
442 return static_cast<SkFontHinting>(hint); in getHinting()
445 void SkScalerContextRec::setHinting(SkFontHinting hinting) { in setHinting()
DSkPaintDefaults.h24 #define SkPaintDefaults_Hinting SkFontHinting::kNormal
DSkFont_serial.cpp111 if (hinting > (unsigned)SkFontHinting::kFull) { in Unflatten()
DSkFont.cpp97 void SkFont::setHinting(SkFontHinting h) { in setHinting()
124 this->setHinting(SkFontHinting::kNone); in setupForAsPaths()
/third_party/skia/modules/sksg/include/
DSkSGText.h41 SG_ATTRIBUTE(Hinting , SkFontHinting , fHinting )
66 SkFontHinting fHinting = SkFontHinting::kNormal;
/third_party/skia/gm/
Dtypeface.cpp192 constexpr SkFontHinting hintingTypes[] = {
193 SkFontHinting::kNone,
194 SkFontHinting::kSlight,
195 SkFontHinting::kNormal,
196 SkFontHinting::kFull
238 for (const SkFontHinting& hinting : hintingTypes) {
Dmac_aa_explorer.cpp168 for (auto h : {SkFontHinting::kNone, SkFontHinting::kNormal}) {
Dfontscaler.cpp43 font.setHinting(SkFontHinting::kSlight); in onDraw()
Duserfont.cpp25 font.setHinting(SkFontHinting::kNone); in make_tf()
/third_party/skia/include/core/
DSkFont.h180 void setHinting(SkFontHinting hintingLevel);
184 SkFontHinting getHinting() const { return (SkFontHinting)fHinting; } in getHinting()
DSkFontTypes.h18 enum class SkFontHinting { enum
/third_party/skia/src/ports/
DSkFontHost_win.cpp92 return rec.getHinting() == SkFontHinting::kNone || rec.getHinting() == SkFontHinting::kSlight; in needToRenderWithSkia()
654 (fRec.getHinting() == SkFontHinting::kNone || fRec.getHinting() == SkFontHinting::kSlight) in SkScalerContext_GDI()
1550 if (fRec.getHinting() == SkFontHinting::kNone || fRec.getHinting() == SkFontHinting::kSlight){ in generatePath()
1559 if (fRec.getHinting() != SkFontHinting::kSlight) { in generatePath()
2111 SkFontHinting h = rec->getHinting(); in onFilterRec()
2113 case SkFontHinting::kNone: in onFilterRec()
2115 case SkFontHinting::kSlight: in onFilterRec()
2119 h = SkFontHinting::kNone; in onFilterRec()
2122 case SkFontHinting::kNormal: in onFilterRec()
2123 case SkFontHinting::kFull: in onFilterRec()
[all …]
DSkTypeface_mac_ct.cpp936 rec->setHinting(SkFontHinting::kNormal); in onFilterRec()
950 if (rec->getHinting() != SkFontHinting::kNone) { in onFilterRec()
951 rec->setHinting(SkFontHinting::kNormal); in onFilterRec()
955 rec->setHinting(SkFontHinting::kNone); in onFilterRec()
980 rec->setHinting(SkFontHinting::kNormal); in onFilterRec()
984 rec->setHinting(SkFontHinting::kNormal); in onFilterRec()
998 if (SkMask::kA8_Format == rec->fMaskFormat && SkFontHinting::kNone == rec->getHinting()) { in onFilterRec()
DSkFontHost_FreeType.cpp663 SkFontHinting h = rec->getHinting(); in onFilterRec()
664 if (SkFontHinting::kFull == h && !isLCD(*rec)) { in onFilterRec()
666 h = SkFontHinting::kNormal; in onFilterRec()
671 h = SkFontHinting::kNone; in onFilterRec()
785 if (fRec.getHinting() == SkFontHinting::kNone) { in SkScalerContext_FreeType()
791 case SkFontHinting::kNone: in SkScalerContext_FreeType()
795 case SkFontHinting::kSlight: in SkScalerContext_FreeType()
799 case SkFontHinting::kNormal: in SkScalerContext_FreeType()
802 case SkFontHinting::kFull: in SkScalerContext_FreeType()
DSkTypeface_win_dw.cpp411 SkFontHinting h = rec->getHinting(); in onFilterRec()
413 if (h != SkFontHinting::kNone || !fFactory2 || !fDWriteFontFace2) { in onFilterRec()
414 h = SkFontHinting::kNormal; in onFilterRec()
/third_party/skia/docs/examples/
DPaint_getHinting.cpp10 SkFontHinting::kNormal == paint.getHinting() ? '=' : ':');
DPaint_setHinting.cpp9 paint2.setHinting(SkFontHinting::kNormal);
/third_party/skia/tools/viewer/
DViewer.cpp574 fFont.setHinting(SkFontHinting::kNone); in __anon2e493c4a1702()
577 case SkFontHinting::kNone: in __anon2e493c4a1702()
578 fFont.setHinting(SkFontHinting::kSlight); in __anon2e493c4a1702()
580 case SkFontHinting::kSlight: in __anon2e493c4a1702()
581 fFont.setHinting(SkFontHinting::kNormal); in __anon2e493c4a1702()
583 case SkFontHinting::kNormal: in __anon2e493c4a1702()
584 fFont.setHinting(SkFontHinting::kFull); in __anon2e493c4a1702()
586 case SkFontHinting::kFull: in __anon2e493c4a1702()
587 fFont.setHinting(SkFontHinting::kNone); in __anon2e493c4a1702()
1015 case SkFontHinting::kNone: in updateTitle()
[all …]
/third_party/skia/src/gpu/text/
DGrSDFTControl.cpp128 dfFont.setHinting(SkFontHinting::kNormal);
/third_party/skia/tools/fonts/
DTestTypeface.cpp110 rec->setHinting(SkFontHinting::kNone); in onFilterRec()

12