Home
last modified time | relevance | path

Searched refs:glyphStart (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/experimental/sktext/src/
DLine.h87 Stretch(GlyphPos glyphStart, size_t textIndex, const TextMetrics& metrics) in Stretch() argument
88 : fGlyphStart(glyphStart) in Stretch()
89 , fGlyphEnd(glyphStart) in Stretch()
159 GlyphPos glyphStart() const { return fGlyphStart; } in glyphStart() function
178 GlyphPos glyphStart() const { return fTextStart; } in glyphStart() function
DLine.cpp8 : fTextStart(stretch.glyphStart()) in LogicalLine()
20 (stretch.glyphEnd() == spaces.glyphStart())); in LogicalLine()
DText.cpp455 auto spacesStart = spaces.glyphStart(); in addLine()
458 auto startRun = lineStretch.glyphStart().runIndex(); in addLine()
474 auto glyphStart = isFirstRun ? lineStretch.glyphStart().glyphIndex() : 0; in addLine() local
476 auto glyphSize = glyphEnd - glyphStart; in addLine()
478 if (glyphSpaces > glyphStart) { in addLine()
482 glyphSpaces - glyphStart, in addLine()
487 … SkSpan<SkPoint>(&logicalRun.fPositions[glyphStart], glyphSize + 1), in addLine()
488 … SkSpan<SkGlyphID>(&logicalRun.fGlyphs[glyphStart], glyphSize), in addLine()
489 … SkSpan<uint32_t>((uint32_t*)&logicalRun.fClusters[glyphStart], glyphSize + 1)); in addLine()
491 runOffsetInLine += logicalRun.calculateWidth(glyphStart, glyphEnd); in addLine()
/third_party/flutter/skia/modules/skparagraph/src/
DParagraphImpl.cpp230 size_t glyphStart, in buildClusterTable()
239 … auto& cluster = fClusters.emplace_back(this, runIndex, glyphStart, glyphEnd, text, width, height); in buildClusterTable()
757 auto glyphStart = run->positionX(found); in getGlyphPositionAtCoordinate() local
775 … auto codepointStart = glyphStart + averageCodepoint * (codepointIndex - codepoints.start); in getGlyphPositionAtCoordinate()
780 auto codepointStart = glyphStart; in getGlyphPositionAtCoordinate()
DRun.h127 using ClusterVisitor = std::function<void(size_t glyphStart,
/third_party/skia/modules/skparagraph/src/
DParagraphImpl.cpp407 run.iterateThroughClustersInTextOrder([runIndex, this](size_t glyphStart, in buildClusterTable()
419 fClusters.emplace_back(this, runIndex, glyphStart, glyphEnd, text, width, height); in buildClusterTable()