/third_party/skia/tests/ |
D | FontHostTest.cpp | 208 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()
|
D | FontTest.cpp | 74 const SkFontHinting hints[] = { in DEF_TEST() 75 SkFontHinting::kNone, SkFontHinting::kFull in DEF_TEST()
|
D | PaintTest.cpp | 207 …for (auto hint : { SkFontHinting::kNone, SkFontHinting::kSlight, SkFontHinting::kNormal, SkFontHin…
|
D | GlyphRunTest.cpp | 26 font.setHinting(SkFontHinting::kNormal);
|
D | GrTextBlobTest.cpp | 48 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/ |
D | SkScalerContext.h | 199 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()
|
D | SkPaintDefaults.h | 24 #define SkPaintDefaults_Hinting SkFontHinting::kNormal
|
D | SkFont_serial.cpp | 111 if (hinting > (unsigned)SkFontHinting::kFull) { in Unflatten()
|
D | SkFont.cpp | 97 void SkFont::setHinting(SkFontHinting h) { in setHinting() 124 this->setHinting(SkFontHinting::kNone); in setupForAsPaths()
|
/third_party/skia/modules/sksg/include/ |
D | SkSGText.h | 41 SG_ATTRIBUTE(Hinting , SkFontHinting , fHinting ) 66 SkFontHinting fHinting = SkFontHinting::kNormal;
|
/third_party/skia/gm/ |
D | typeface.cpp | 192 constexpr SkFontHinting hintingTypes[] = { 193 SkFontHinting::kNone, 194 SkFontHinting::kSlight, 195 SkFontHinting::kNormal, 196 SkFontHinting::kFull 238 for (const SkFontHinting& hinting : hintingTypes) {
|
D | mac_aa_explorer.cpp | 168 for (auto h : {SkFontHinting::kNone, SkFontHinting::kNormal}) {
|
D | fontscaler.cpp | 43 font.setHinting(SkFontHinting::kSlight); in onDraw()
|
D | userfont.cpp | 25 font.setHinting(SkFontHinting::kNone); in make_tf()
|
/third_party/skia/include/core/ |
D | SkFont.h | 180 void setHinting(SkFontHinting hintingLevel); 184 SkFontHinting getHinting() const { return (SkFontHinting)fHinting; } in getHinting()
|
D | SkFontTypes.h | 18 enum class SkFontHinting { enum
|
/third_party/skia/src/ports/ |
D | SkFontHost_win.cpp | 92 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 …]
|
D | SkTypeface_mac_ct.cpp | 936 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()
|
D | SkFontHost_FreeType.cpp | 663 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()
|
D | SkTypeface_win_dw.cpp | 411 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/ |
D | Paint_getHinting.cpp | 10 SkFontHinting::kNormal == paint.getHinting() ? '=' : ':');
|
D | Paint_setHinting.cpp | 9 paint2.setHinting(SkFontHinting::kNormal);
|
/third_party/skia/tools/viewer/ |
D | Viewer.cpp | 574 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/ |
D | GrSDFTControl.cpp | 128 dfFont.setHinting(SkFontHinting::kNormal);
|
/third_party/skia/tools/fonts/ |
D | TestTypeface.cpp | 110 rec->setHinting(SkFontHinting::kNone); in onFilterRec()
|