Lines Matching refs:fEnd
37 TextStretch() : fStart(), fEnd(), fWidth(0), fWidthWithGhostSpaces(0) {} in TextStretch()
39 … : fStart(s, 0), fEnd(e, e->endPos()), fMetrics(forceStrut), fWidth(0), fWidthWithGhostSpaces(0) { in TextStretch()
50 inline Cluster* endCluster() const { return fEnd.cluster(); } in endCluster()
54 inline size_t endPos() const { return fEnd.position(); } in endPos()
56 bool endOfCluster() { return fEnd.position() == fEnd.cluster()->endPos(); } in endOfCluster()
59 (fEnd.cluster()->isHardBreak() || fEnd.cluster()->isSoftBreak()); in endOfWord()
64 fEnd = stretch.fEnd; in extend()
73 fEnd = ClusterPos(cluster, cluster->endPos()); in extend()
79 fEnd = ClusterPos(cluster, pos); in extend()
87 fEnd = ClusterPos(cluster, pos); in startFrom()
108 fBreak = fEnd; in saveBreak()
111 void restoreBreak() { fEnd = fBreak; } in restoreBreak()
114 fWidth -= (fEnd.cluster()->width() - fEnd.cluster()->trimmedWidth(fEnd.position())); in trim()
118 SkASSERT(fEnd.cluster() == cluster); in trim()
119 if (fEnd.cluster() > fStart.cluster()) { in trim()
120 fEnd.move(false); in trim()
129 fEnd.clean(); in clean()
136 ClusterPos fEnd; variable