Home
last modified time | relevance | path

Searched refs:Edging (Results 1 – 25 of 162) sorted by relevance

1234567

/external/skqp/gm/
Dgradtext.cpp59 font.setEdging(SkFont::Edging::kAlias); in onDraw()
79 font.setEdging(SkFont::Edging::kAlias); in onDraw()
115 static const SkFont::Edging edgings[3] = {
116 SkFont::Edging::kAlias,
117 SkFont::Edging::kAntiAlias,
118 SkFont::Edging::kSubpixelAntiAlias,
122 for (SkFont::Edging edging : edgings) {
Ddftext.cpp97 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onDraw()
167 font.setEdging(SkFont::Edging::kAntiAlias); in onDraw()
174 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onDraw()
183 font.setEdging(SkFont::Edging::kAntiAlias); in onDraw()
196 font.setEdging(SkFont::Edging::kAlias); in onDraw()
Dimagefiltersbase.cpp239 static const SkFont::Edging kEdgings[3] = { in drawWaterfall()
240 SkFont::Edging::kAlias, in drawWaterfall()
241 SkFont::Edging::kAntiAlias, in drawWaterfall()
242 SkFont::Edging::kSubpixelAntiAlias, in drawWaterfall()
247 for (SkFont::Edging edging : kEdgings) { in drawWaterfall()
Ddftext_blob_persp.cpp38 font.setEdging(i == 0 ? SkFont::Edging::kAlias : in onOnceBeforeDraw()
39 (i == 1 ? SkFont::Edging::kAntiAlias : in onOnceBeforeDraw()
40 SkFont::Edging::kSubpixelAntiAlias)); in onOnceBeforeDraw()
Dmixedtextblobs.cpp52 font.setEdging(SkFont::Edging::kAlias); in onOnceBeforeDraw()
71 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onOnceBeforeDraw()
81 font.setEdging(SkFont::Edging::kAlias); in onOnceBeforeDraw()
/external/skia/gm/
Dgradtext.cpp59 font.setEdging(SkFont::Edging::kAlias); in onDraw()
79 font.setEdging(SkFont::Edging::kAlias); in onDraw()
115 static const SkFont::Edging edgings[3] = {
116 SkFont::Edging::kAlias,
117 SkFont::Edging::kAntiAlias,
118 SkFont::Edging::kSubpixelAntiAlias,
122 for (SkFont::Edging edging : edgings) {
Dtypeface.cpp151 SkFont::Edging edging;
165 { SkFont::Edging::kAlias , false },
167 { SkFont::Edging::kAntiAlias , false },
168 { SkFont::Edging::kSubpixelAntiAlias, false },
169 { SkFont::Edging::kAntiAlias , true },
170 { SkFont::Edging::kSubpixelAntiAlias, true },
Ddftext.cpp95 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onDraw()
165 font.setEdging(SkFont::Edging::kAntiAlias); in onDraw()
172 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onDraw()
181 font.setEdging(SkFont::Edging::kAntiAlias); in onDraw()
194 font.setEdging(SkFont::Edging::kAlias); in onDraw()
Dimagefiltersbase.cpp239 static const SkFont::Edging kEdgings[3] = { in drawWaterfall()
240 SkFont::Edging::kAlias, in drawWaterfall()
241 SkFont::Edging::kAntiAlias, in drawWaterfall()
242 SkFont::Edging::kSubpixelAntiAlias, in drawWaterfall()
247 for (SkFont::Edging edging : kEdgings) { in drawWaterfall()
Ddftext_blob_persp.cpp36 font.setEdging(i == 0 ? SkFont::Edging::kAlias : in onOnceBeforeDraw()
37 (i == 1 ? SkFont::Edging::kAntiAlias : in onOnceBeforeDraw()
38 SkFont::Edging::kSubpixelAntiAlias)); in onOnceBeforeDraw()
Dmixedtextblobs.cpp52 font.setEdging(SkFont::Edging::kAlias); in onOnceBeforeDraw()
71 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onOnceBeforeDraw()
81 font.setEdging(SkFont::Edging::kAlias); in onOnceBeforeDraw()
/external/skqp/modules/sksg/include/
DSkSGText.h40 SG_ATTRIBUTE(Edging , SkFont::Edging , fEdging )
64 SkFont::Edging fEdging = SkFont::Edging::kAntiAlias;
/external/skia/modules/sksg/include/
DSkSGText.h40 SG_ATTRIBUTE(Edging , SkFont::Edging , fEdging )
65 SkFont::Edging fEdging = SkFont::Edging::kAntiAlias;
/external/skqp/src/gpu/text/
DGrTextContext.cpp190 skFont->setEdging(SkFont::Edging::kAntiAlias); in InitDistanceFieldPaint()
232 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in GR_DRAW_OP_TEST_DEFINE()
234 font.setEdging(random->nextBool() ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/include/core/
DSkFont.h27 enum class Edging { enum
154 Edging getEdging() const { return (Edging)fEdging; } in getEdging()
161 void setEdging(Edging edging);
/external/skia/include/core/
DSkFont.h27 enum class Edging { enum
154 Edging getEdging() const { return (Edging)fEdging; } in getEdging()
161 void setEdging(Edging edging);
/external/skia/src/gpu/text/
DGrTextContext.cpp172 dfFont.setEdging(SkFont::Edging::kAntiAlias); in InitDistanceFieldFont()
249 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in GR_DRAW_OP_TEST_DEFINE()
251 font.setEdging(random->nextBool() ? SkFont::Edging::kAntiAlias : SkFont::Edging::kAlias); in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/samplecode/
DSampleSubpixelTranslate.cpp77 font.setEdging(SkFont::Edging::kAlias); in onDrawContent()
87 font.setEdging(SkFont::Edging::kAntiAlias); in onDrawContent()
98 font.setEdging(SkFont::Edging::kAlias); in onDrawContent()
DSampleLCD.cpp48 font.setEdging(SkFont::Edging::kAntiAlias); in onDrawContent()
50 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onDrawContent()
/external/skia/samplecode/
DSampleSubpixelTranslate.cpp77 font.setEdging(SkFont::Edging::kAlias); in onDrawContent()
87 font.setEdging(SkFont::Edging::kAntiAlias); in onDrawContent()
98 font.setEdging(SkFont::Edging::kAlias); in onDrawContent()
DSampleLCD.cpp48 font.setEdging(SkFont::Edging::kAntiAlias); in onDrawContent()
50 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in onDrawContent()
/external/skia/src/core/
DSkFont.cpp24 #define kDefault_Edging SkFont::Edging::kAntiAlias
89 void SkFont::setEdging(Edging e) { in setEdging()
123 if (this->getEdging() == Edging::kSubpixelAntiAlias) { in setupForAsPaths()
124 this->setEdging(Edging::kAntiAlias); in setupForAsPaths()
137 Edging edging = this->getEdging(); in hasSomeAntiAliasing()
138 return edging == SkFont::Edging::kAntiAlias in hasSomeAntiAliasing()
139 || edging == SkFont::Edging::kSubpixelAntiAlias; in hasSomeAntiAliasing()
560 if (edging > (unsigned)SkFont::Edging::kSubpixelAntiAlias) { in Unflatten()
/external/skqp/src/core/
DSkFont.cpp24 #define kDefault_Edging SkFont::Edging::kAntiAlias
89 void SkFont::setEdging(Edging e) { in setEdging()
123 if (this->getEdging() == Edging::kSubpixelAntiAlias) { in setupForAsPaths()
124 this->setEdging(Edging::kAntiAlias); in setupForAsPaths()
137 Edging edging = this->getEdging(); in hasSomeAntiAliasing()
138 return edging == SkFont::Edging::kAntiAlias in hasSomeAntiAliasing()
139 || edging == SkFont::Edging::kSubpixelAntiAlias; in hasSomeAntiAliasing()
574 if (edging > (unsigned)SkFont::Edging::kSubpixelAntiAlias) { in Unflatten()
/external/skqp/tests/
DTextBlobCacheTest.cpp108 font.setEdging(SkFont::Edging::kAlias); in text_blob_cache_inner()
110 font.setEdging(SkFont::Edging::kAntiAlias); in text_blob_cache_inner()
112 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in text_blob_cache_inner()
/external/skia/tests/
DTextBlobCacheTest.cpp108 font.setEdging(SkFont::Edging::kAlias); in text_blob_cache_inner()
110 font.setEdging(SkFont::Edging::kAntiAlias); in text_blob_cache_inner()
112 font.setEdging(SkFont::Edging::kSubpixelAntiAlias); in text_blob_cache_inner()

1234567