Searched refs:fTextMetrics (Results 1 – 6 of 6) sorted by relevance
/third_party/skia/experimental/sktext/src/ |
D | Line.h | 85 Stretch() : fGlyphStart(), fGlyphEnd(), fWidth(0), fTextRange(EMPTY_RANGE), fTextMetrics() { } in Stretch() 92 , fTextMetrics(metrics) { } in Stretch() 99 , fTextMetrics(metrics) { } in Stretch() 118 fTextMetrics.clean(); in clean() 133 this->fTextMetrics = tail.fTextMetrics; in moveTo() 144 this->fTextMetrics.merge(tail.fTextMetrics); in moveTo() 158 const TextMetrics& textMetrics() const { return fTextMetrics; } in textMetrics() 169 TextMetrics fTextMetrics; variable 177 TextMetrics getMetrics() const { return fTextMetrics; } in getMetrics() 185 SkScalar height() const { return fTextMetrics.height(); } in height() [all …]
|
D | VisualRun.h | 19 , fTextMetrics(TextMetrics(fFont)) in VisualRun() 40 fAdvance= SkVector::Make(this->calculateWidth(0, glyphs.size()), fTextMetrics.height()); in VisualRun() 53 TextMetrics textMetrics() const { return fTextMetrics; } in textMetrics() 87 TextMetrics fTextMetrics; variable 106 , fTextMetrics() in VisualLine() 111 fTextMetrics.merge(run.textMetrics()); in VisualLine() 123 SkScalar baseline() const { return fTextMetrics.baseline(); } in baseline() 139 TextMetrics fTextMetrics; variable
|
D | Line.cpp | 23 this->fTextMetrics.merge(stretch.textMetrics()); in LogicalLine() 26 this->fTextMetrics.merge(spaces.textMetrics()); in LogicalLine()
|
D | Text.cpp | 517 verticalOffset += line.fTextMetrics.height(); in format() 525 …isHardBreak(), SkRect::MakeXYWH(0, verticalOffset, line.fActualWidth, line.fTextMetrics.height())); in visit() 529 auto diff = line.fTextMetrics.above() - run.fTextMetrics.above(); in visit() 530 …fOffset.fX + run.fPositions[0].fX, line.fOffset.fY + diff, run.width(), run.fTextMetrics.height()); in visit() 536 verticalOffset += line.fTextMetrics.height(); in visit() 582 …isHardBreak(), SkRect::MakeXYWH(0, verticalOffset, line.fActualWidth, line.fTextMetrics.height())); in visit() 588 auto diff = line.fTextMetrics.above() - run.fTextMetrics.above(); in visit() 593 run.fTextMetrics.height()); in visit() 607 verticalOffset += line.fTextMetrics.height(); in visit()
|
D | LogicalRun.cpp | 10 , fTextMetrics(info.fFont) in LogicalRun()
|
D | LogicalRun.h | 69 TextMetrics fTextMetrics; variable
|