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