Home
last modified time | relevance | path

Searched refs:isSubpixel (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/src/core/
DSkGlyphRunPainter.cpp395 bool isSubpixel, SkAxisAlignment axisAlignment) { in HalfAxisSampleFreq() argument
396 if (!isSubpixel) { in HalfAxisSampleFreq()
414 bool isSubpixel, SkAxisAlignment axisAlignment) { in IgnorePositionMask() argument
415 return SkIPoint::Make((!isSubpixel || axisAlignment == kY_SkAxisAlignment) ? 0 : ~0, in IgnorePositionMask()
416 (!isSubpixel || axisAlignment == kX_SkAxisAlignment) ? 0 : ~0); in IgnorePositionMask()
419 SkIPoint SkGlyphPositionRoundingSpec::IgnorePositionFieldMask(bool isSubpixel, in IgnorePositionFieldMask() argument
421 SkIPoint ignoreMask = IgnorePositionMask(isSubpixel, axisAlignment); in IgnorePositionFieldMask()
428 bool isSubpixel,SkAxisAlignment axisAlignment) in SkGlyphPositionRoundingSpec() argument
429 : halfAxisSampleFreq{HalfAxisSampleFreq(isSubpixel, axisAlignment)} in SkGlyphPositionRoundingSpec()
430 , ignorePositionMask{IgnorePositionMask(isSubpixel, axisAlignment)}
[all …]
DSkGlyphRunPainter.h35 SkGlyphPositionRoundingSpec(bool isSubpixel, SkAxisAlignment axisAlignment);
41 static SkVector HalfAxisSampleFreq(bool isSubpixel, SkAxisAlignment axisAlignment);
42 static SkIPoint IgnorePositionMask(bool isSubpixel, SkAxisAlignment axisAlignment);
43 static SkIPoint IgnorePositionFieldMask(bool isSubpixel, SkAxisAlignment axisAlignment);
DSkScalerContext.h276 bool isSubpixel() const { in isSubpixel() function
DSkScalerCache.cpp34 , fRoundingSpec{fScalerContext->isSubpixel(),
/external/skqp/src/core/
DSkFindAndPlaceGlyph.h304 && cache->isSubpixel() in ProcessPosText()
339 if (cache->isSubpixel()) { in ProcessPosText()
DSkRemoteGlyphCacheImpl.h33 bool isSubpixel() const { return fIsSubpixel; } in isSubpixel() function
DSkGlyphRunPainter.h33 static SkVector PixelRounding(bool isSubpixel, SkAxisAlignment axisAlignment);
DSkStrike.h122 bool isSubpixel() const { in isSubpixel() function
DSkScalerContext.h272 bool isSubpixel() const { in isSubpixel() function
DSkGlyphRun.cpp79 if (r.font().isSubpixel()) { in anyRunsSubpixelPositioned()
DSkStrike.cpp32 , fIsSubpixel{fScalerContext->isSubpixel()}
DSkGlyphRunPainter.cpp35 SkVector SkStrikeCommon::PixelRounding(bool isSubpixel, SkAxisAlignment axisAlignment) { in PixelRounding() argument
36 if (!isSubpixel) { in PixelRounding()
DSkRemoteGlyphCache.cpp413 , fIsSubpixel{context->isSubpixel()}
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp361 if (this->isSubpixel()) { in SkScalerContext_DW()
600 if (this->isSubpixel()) { in generateColorMetrics()
667 if (this->isSubpixel()) { in generatePngMetrics()
994 if (this->isSubpixel()) { in generateColorGlyphImage()
1082 if (this->isSubpixel()) { in generatePngGlyphImage()
DSkFontHost_FreeType_common.cpp385 if (this->isSubpixel()) { in generateGlyphImage()
413 if (this->isSubpixel()) { in generateGlyphImage()
DSkFontHost_FreeType.cpp843 bool linearMetrics = this->isSubpixel(); in SkScalerContext_FreeType()
1075 if (this->isSubpixel()) { in getBBoxForCurrentGlyph()
1136 this->isSubpixel() && in shouldSubpixelBitmap()
/external/skia/include/core/
DSkFont.h101 bool isSubpixel() const { return SkToBool(fFlags & kSubpixel_PrivFlag); } in isSubpixel() function
/external/skqp/include/core/
DSkFont.h101 bool isSubpixel() const { return SkToBool(fFlags & kSubpixel_PrivFlag); } in isSubpixel() function
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp585 if (this->isSubpixel()) { in generateColorMetrics()
652 if (this->isSubpixel()) { in generatePngMetrics()
1019 if (this->isSubpixel()) { in generateColorGlyphImage()
1108 if (this->isSubpixel()) { in generatePngGlyphImage()
DSkFontHost_FreeType_common.cpp920 if (this->isSubpixel()) { in generateGlyphImage()
948 if (this->isSubpixel()) { in generateGlyphImage()
/external/skqp/tests/
DTextBlobTest.cpp199 REPORTER_ASSERT(reporter, defaultFont.isSubpixel() != font.isSubpixel()); in TestPaintProps()
/external/skia/tests/
DTextBlobTest.cpp199 REPORTER_ASSERT(reporter, defaultFont.isSubpixel() != font.isSubpixel()); in TestPaintProps()
/external/skqp/tools/viewer/
DViewer.cpp467 if (!fFont.isSubpixel()) { in __anon4982b52a1502()
729 fontFlag(&SkFontFields::fSubpixel, &SkFont::isSubpixel, "Subpixel Text", "Pixel Text"); in updateTitle()
1085 font->writable()->setSubpixel(fFont->isSubpixel()); in filterFont()
1772 &SkFont::isSubpixel, &SkFont::setSubpixel); in drawImGui()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp134 if (!font.isSubpixel()) { in skhb_glyph_h_advance()
160 if (!font.isSubpixel()) { in skhb_glyph_h_advances()
191 if (!font.isSubpixel()) { in skhb_glyph_extents()
/external/skia/tools/viewer/
DViewer.cpp650 if (!fFont.isSubpixel()) { in __anonbb003f131b02()
984 fontFlag(&SkFontFields::fSubpixel, &SkFont::isSubpixel, "Subpixel Text", "Pixel Text"); in updateTitle()
1368 font->writable()->setSubpixel(fFont->isSubpixel()); in filterFont()
2186 &SkFont::isSubpixel, &SkFont::setSubpixel); in drawImGui()

12