Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.cpp492 bool isSubpixel, SkAxisAlignment axisAlignment) { in HalfAxisSampleFreq() argument
493 if (!isSubpixel) { in HalfAxisSampleFreq()
511 bool isSubpixel, SkAxisAlignment axisAlignment) { in IgnorePositionMask() argument
512 return SkIPoint::Make((!isSubpixel || axisAlignment == SkAxisAlignment::kY) ? 0 : ~0, in IgnorePositionMask()
513 (!isSubpixel || axisAlignment == SkAxisAlignment::kX) ? 0 : ~0); in IgnorePositionMask()
516 SkIPoint SkGlyphPositionRoundingSpec::IgnorePositionFieldMask(bool isSubpixel, in IgnorePositionFieldMask() argument
518 SkIPoint ignoreMask = IgnorePositionMask(isSubpixel, axisAlignment); in IgnorePositionFieldMask()
525 bool isSubpixel, SkAxisAlignment axisAlignment) in SkGlyphPositionRoundingSpec() argument
526 : halfAxisSampleFreq{HalfAxisSampleFreq(isSubpixel, axisAlignment)} in SkGlyphPositionRoundingSpec()
527 , ignorePositionMask{IgnorePositionMask(isSubpixel, axisAlignment)}
[all …]
DSkGlyph.h227 SkGlyphPositionRoundingSpec(bool isSubpixel, SkAxisAlignment axisAlignment);
233 static SkVector HalfAxisSampleFreq(bool isSubpixel, SkAxisAlignment axisAlignment);
234 static SkIPoint IgnorePositionMask(bool isSubpixel, SkAxisAlignment axisAlignment);
235 static SkIPoint IgnorePositionFieldMask(bool isSubpixel, SkAxisAlignment axisAlignment);
DSkScalerContext.h278 bool isSubpixel() const { in isSubpixel() function
DSkStrike.cpp46 , fRoundingSpec{scaler->isSubpixel(),
DSkChromeRemoteGlyphCache.cpp251 , fRoundingSpec{context->isSubpixel(), context->computeAxisAlignmentForHText()}
DSkScalerContext.cpp1121 if (font.isSubpixel()) { in MakeRecAndEffects()
/external/skia/src/gpu/ganesh/geometry/
DGrQuadUtils.h98 bool isSubpixel();
131 bool isSubpixel(const skvx::float4& x2d, const skvx::float4& y2d) const;
DGrQuadUtils.cpp652 return helper.isSubpixel(); in WillUseHairline()
738 bool TessellationHelper::EdgeEquations::isSubpixel(const float4& x2d, const float4& y2d) const { in isSubpixel() function in GrQuadUtils::TessellationHelper::EdgeEquations
1203 bool TessellationHelper::isSubpixel() { in isSubpixel() function in GrQuadUtils::TessellationHelper
1211 return this->getEdgeEquations().isSubpixel(fEdgeVectors.fX2D, fEdgeVectors.fY2D); in isSubpixel()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp667 if (this->isSubpixel()) { in generateColorMetrics()
745 if (this->isSubpixel()) { in generatePngMetrics()
1155 if (this->isSubpixel()) { in drawColorGlyphImage()
1257 if (this->isSubpixel()) { in drawSVGGlyphImage()
1309 if (this->isSubpixel()) { in drawPngGlyphImage()
DSkFontHost_FreeType_common.cpp1520 if (this->isSubpixel()) { in drawCOLRv1Glyph()
1542 if (this->isSubpixel()) { in drawCOLRv0Glyph()
1590 if (this->isSubpixel()) { in drawSVGGlyph()
1618 if (this->isSubpixel()) { in generateGlyphImage()
DSkFontHost_FreeType.cpp1183 this->isSubpixel() && in shouldSubpixelBitmap()
1278 setGlyphBounds(glyph, &bounds, this->isSubpixel()); in generateMetrics()
1297 setGlyphBounds(glyph, &bounds, this->isSubpixel()); in generateMetrics()
/external/skia/include/core/
DSkFont.h104 bool isSubpixel() const { return SkToBool(fFlags & kSubpixel_PrivFlag); } in isSubpixel() function
/external/skia/tests/
DTextBlobTest.cpp219 REPORTER_ASSERT(reporter, defaultFont.isSubpixel() != font.isSubpixel()); in TestPaintProps()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp133 if (!font.isSubpixel()) { in skhb_glyph_h_advance()
159 if (!font.isSubpixel()) { in skhb_glyph_h_advances()
190 if (!font.isSubpixel()) { in skhb_glyph_extents()
/external/skia/tools/viewer/
DViewer.cpp685 if (!fFont.isSubpixel()) { in __anone61887711c02()
1020 fontFlag(&SkFontFields::fSubpixel, &SkFont::isSubpixel, "Subpixel Text", "Pixel Text"); in updateTitle()
1426 font->writable()->setSubpixel(fFont->isSubpixel()); in filterFont()
2316 &SkFont::isSubpixel, &SkFont::setSubpixel); in drawImGui()
/external/skia/tools/debugger/
DDrawCommand.cpp957 store_bool(writer, DEBUGCANVAS_ATTRIBUTE_SUBPIXELTEXT, font.isSubpixel(), false); in MakeJsonFont()