Home
last modified time | relevance | path

Searched refs:breakCluster (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/modules/skparagraph/src/
DTextWrapper.cpp125 while (cluster < fEndLine.breakCluster() && cluster->isWhitespaces()) { in trimStartSpaces()
129 return std::make_tuple(fEndLine.breakCluster() + 1, 0, width); in trimStartSpaces()
133 auto cluster = fEndLine.breakCluster() + 1; in trimStartSpaces()
187 if (fEndLine.breakCluster()->isHardBreak()) { in breakTextIntoLines()
188 textWithSpaces.end = fEndLine.breakCluster()->textRange().start; in breakTextIntoLines()
190 textWithSpaces.end = fEndLine.breakCluster()->textRange().end; in breakTextIntoLines()
223 …TextRange empty(fEndLine.breakCluster()->textRange().start, fEndLine.breakCluster()->textRange().s… in breakTextIntoLines()
224 …TextRange hardBreak(fEndLine.breakCluster()->textRange().end, fEndLine.breakCluster()->textRange()… in breakTextIntoLines()
225 ClusterRange clusters(fEndLine.breakCluster() - start, fEndLine.breakCluster() - start); in breakTextIntoLines()
DTextWrapper.h51 inline Cluster* breakCluster() const { return fBreak.cluster(); } in breakCluster() function
/third_party/skia/modules/skparagraph/src/
DTextWrapper.cpp234 while (cluster < fEndLine.breakCluster() && cluster->isWhitespaceBreak()) { in trimStartSpaces()
238 return std::make_tuple(fEndLine.breakCluster() + 1, 0, width); in trimStartSpaces()
244 auto cluster = fEndLine.breakCluster() + 1; in trimStartSpaces()
250 if (fEndLine.breakCluster()->isWhitespaceBreak() && fEndLine.breakCluster() < endOfClusters) { in trimStartSpaces()
346 …TextRange text(fEndLine.startCluster()->textRange().start, fEndLine.breakCluster()->textRange().st… in breakTextIntoLines()
471 ClusterRange clusters(fEndLine.breakCluster() - start, fEndLine.endCluster() - start); in breakTextIntoLines()
472 addLine(fEndLine.breakCluster()->textRange(), in breakTextIntoLines()
473 fEndLine.breakCluster()->textRange(), in breakTextIntoLines()
DTextWrapper.h55 inline Cluster* breakCluster() const { return fBreak.cluster(); } in breakCluster() function