Home
last modified time | relevance | path

Searched refs:fBaselineShift (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DTextStyle.cpp24 fBaselineShift = other.fBaselineShift; in TextStyle()
57 if (fBaselineShift != other.fBaselineShift) { in equals()
101 nearlyEqual(fBaselineShift, that.fBaselineShift) && in equalsByFonts()
149 fBaselineShift == other.fBaselineShift; in matchOneAttribute()
173 metrics->fAscent += fBaselineShift; in getFontMetrics()
174 metrics->fDescent += fBaselineShift; in getFontMetrics()
DOneLineShaper.h22 , fBaselineShift(0.0f) in OneLineShaper()
87 fBaselineShift, in runBuffer()
109 SkScalar fBaselineShift; variable
DRun.h89 SkScalar ascent() const { return fFontMetrics.fAscent + fBaselineShift; } in ascent()
90 SkScalar descent() const { return fFontMetrics.fDescent + fBaselineShift; } in descent()
92 SkScalar correctAscent() const { return fCorrectAscent + fBaselineShift; } in correctAscent()
93 SkScalar correctDescent() const { return fCorrectDescent + fBaselineShift; } in correctDescent()
101 SkScalar baselineShift() const { return fBaselineShift; } in baselineShift()
198 const SkScalar fBaselineShift; variable
DRun.cpp32 , fBaselineShift(baselineShift) in Run()
75 fCorrectAscent += fBaselineShift; in calculateMetrics()
76 fCorrectDescent += fBaselineShift; in calculateMetrics()
DTextLine.cpp546 …(nullptr), fLineHeight(lineHeight), fUseHalfLeading(useHalfLeading), fBaselineShift(baselineShift)… in shapeEllipsis()
559 …fRun = std::make_unique<Run>(nullptr, info, 0, fLineHeight, fUseHalfLeading, fBaselineShift, 0, 0); in shapeEllipsis()
575 SkScalar fBaselineShift; in shapeEllipsis() member in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler
DOneLineShaper.cpp648 fBaselineShift = block.fStyle.getBaselineShift(); in shape()
/third_party/skia/modules/skparagraph/include/
DTextStyle.h218 SkScalar getBaselineShift() const { return fBaselineShift; } in getBaselineShift()
219 void setBaselineShift(SkScalar baselineShift) { fBaselineShift = baselineShift; } in setBaselineShift()
271 SkScalar fBaselineShift = 0.0f; variable