Searched refs:fGlyphRange (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/experimental/sktext/tests/ |
D | SelectableText.cpp | 165 REPORTER_ASSERT(reporter, firstPosition.fGlyphRange == GlyphRange(0, 0)); in UNIX_ONLY_TEST() 177 …REPORTER_ASSERT(reporter, lastPosition.fGlyphRange == GlyphRange(lastRun.glyphs.size(), lastRun.gl… in UNIX_ONLY_TEST() 205 while (!(position.fGlyphRange == lastPosition.fGlyphRange)) { in UNIX_ONLY_TEST() 210 REPORTER_ASSERT(reporter, next.fGlyphRange.fStart == 0); in UNIX_ONLY_TEST() 216 REPORTER_ASSERT(reporter, position.fGlyphRange.fEnd == next.fGlyphRange.fStart); in UNIX_ONLY_TEST() 246 while (!(position.fGlyphRange == firstPosition.fGlyphRange)) { in UNIX_ONLY_TEST() 251 REPORTER_ASSERT(reporter, prev.fGlyphRange.fEnd == line.fBoxGlyphs.size()); in UNIX_ONLY_TEST() 257 REPORTER_ASSERT(reporter, position.fGlyphRange.fStart == prev.fGlyphRange.fEnd); in UNIX_ONLY_TEST()
|
/third_party/skia/experimental/sktext/src/ |
D | Text.cpp | 694 position.fGlyphRange = GlyphRange(0, line.fBoxGlyphs.size() - 1); in findPosition() 701 for (; position.fGlyphRange.fStart < position.fGlyphRange.fEnd; ++position.fGlyphRange.fStart) { in findPosition() 702 auto glyphBox = line.fBoxGlyphs[position.fGlyphRange.fStart]; in findPosition() 707 auto textIndex = line.fTextByGlyph[position.fGlyphRange.fStart]; in findPosition() 716 for (; position.fGlyphRange.fEnd > position.fGlyphRange.fStart ; --position.fGlyphRange.fEnd) { in findPosition() 717 auto glyphBox = line.fBoxGlyphs[position.fGlyphRange.fStart]; in findPosition() 722 auto textIndex = line.fTextByGlyph[position.fGlyphRange.fEnd]; in findPosition() 733 position.fBoundaries.fLeft = line.fBoxGlyphs[position.fGlyphRange.fStart].fLeft; in findPosition() 734 position.fBoundaries.fRight = line.fBoxGlyphs[position.fGlyphRange.fEnd].fRight; in findPosition() 761 current.fGlyphRange = GlyphRange(0, 0); in previousPosition() [all …]
|
/third_party/skia/experimental/sktext/include/ |
D | Text.h | 279 , fGlyphRange(glyphRange) in Position() 288 GlyphRange fGlyphRange; member 330 return (element.fGlyphRange.fStart == 0); in isFirstOnTheLine() 333 return (element.fGlyphRange.fEnd == fBoxLines.back().fBoxGlyphs.size()); in isLastOnTheLine()
|
D | Interface.h | 145 GlyphRange fGlyphRange; member
|