Lines Matching refs:tail
32 void merge(TextMetrics tail) {
33 this->fAscent = std::min(this->fAscent, tail.fAscent);
34 this->fDescent = std::max(this->fDescent, tail.fDescent);
35 this->fLeading = std::max(this->fLeading, tail.fLeading);
121 void moveTo(Stretch& tail) {
123 if (tail.isEmpty()) {
128 if (!tail.isEmpty()) {
129 this->fGlyphStart = tail.fGlyphStart;
130 this->fGlyphEnd = tail.fGlyphEnd;
131 this->fWidth = tail.fWidth;
132 this->fTextRange = tail.fTextRange;
133 this->fTextMetrics = tail.fTextMetrics;
135 tail.clean();
139 SkASSERT(this->fGlyphEnd.runIndex() != tail.fGlyphStart.runIndex() ||
140 this->fGlyphEnd.glyphIndex() == tail.fGlyphStart.glyphIndex());
141 this->fGlyphEnd = tail.fGlyphEnd;
142 this->fWidth += tail.fWidth;
143 this->fTextRange.merge(tail.fTextRange);
144 this->fTextMetrics.merge(tail.fTextMetrics);
145 tail.clean();