Home
last modified time | relevance | path

Searched refs:runOffset (Results 1 – 3 of 3) sorted by relevance

/external/skia/modules/skparagraph/src/
DTextLine.cpp269 …[this, visitor, styleType](const Run* run, SkScalar runOffset, TextRange textRange, SkScalar* widt… in scanStyles() argument
271 run, runOffset, textRange, styleType, in scanStyles()
293 [&result](const Run* run, SkScalar runOffset, TextRange textRange, SkScalar* width) { in metricsWithoutMultiplier() argument
745 SkScalar runOffset, in iterateThroughSingleRunByStyles() argument
752 ClipContext clipContext = this->measureTextInsideOneRun(run->textRange(), run, runOffset, in iterateThroughSingleRunByStyles()
767 ClipContext clipContext = this->measureTextInsideOneRun(textRange, run, runOffset, in iterateThroughSingleRunByStyles()
828 ClipContext clipContext = this->measureTextInsideOneRun(runStyleTextRange, run, runOffset, in iterateThroughSingleRunByStyles()
848 SkScalar runOffset = 0; in iterateThroughVisualRuns() local
859 if (!run->leftToRight() && runOffset == 0 && includingGhostSpaces) { in iterateThroughVisualRuns()
866 …auto whitespacesLen = measureTextInsideOneRun(whitespaces, run, runOffset, 0, true, false).clip.wi… in iterateThroughVisualRuns()
[all …]
DTextLine.h77 …using RunVisitor = std::function<bool(const Run* run, SkScalar runOffset, TextRange textRange, SkS…
80 … SkScalar iterateThroughSingleRunByStyles(const Run* run, SkScalar runOffset, TextRange textRange,
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2079 [&](const Run* run, SkScalar runOffset, TextRange textRange, SkScalar* width) { in onDrawContent() argument
2080 … *width = line.measureTextInsideOneRun(textRange, run, runOffset, 0, true, false).clip.width(); in onDrawContent()
2083 … textRange.start, textRange.end, runOffset, *width, run->leftToRight() ? "left" : "right"); in onDrawContent()