Home
last modified time | relevance | path

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

/third_party/skia/experimental/sktext/tests/
DSelectableText.cpp105 auto wrappedText = shapedText->wrap(&unicodeText, 440.0f, 500.0f); in UNIX_ONLY_TEST() local
106 auto selectableText = wrappedText->prepareToEdit(&unicodeText); in UNIX_ONLY_TEST()
109 wrappedText->visit(&testVisitor); in UNIX_ONLY_TEST()
153 auto wrappedText = shapedText->wrap(&unicodeText, 440.0f, 500.0f); in UNIX_ONLY_TEST() local
154 auto selectableText = wrappedText->prepareToEdit(&unicodeText); in UNIX_ONLY_TEST()
157 wrappedText->visit(&testVisitor); in UNIX_ONLY_TEST()
195 auto wrappedText = shapedText->wrap(&unicodeText, 440.0f, 500.0f); in UNIX_ONLY_TEST() local
196 auto selectableText = wrappedText->prepareToEdit(&unicodeText); in UNIX_ONLY_TEST()
199 wrappedText->visit(&testVisitor); in UNIX_ONLY_TEST()
236 auto wrappedText = shapedText->wrap(&unicodeText, 440.0f, 500.0f); in UNIX_ONLY_TEST() local
[all …]
DWrappedText.cpp103 auto wrappedText = shapedText->wrap(&unicodeText, 440.0f, 500.0f); in UNIX_ONLY_TEST() local
106 wrappedText->visit(&testVisitor); in UNIX_ONLY_TEST()
152 auto wrappedText = shapedText->wrap(&unicodeText, 800.0f, 800.0f); in UNIX_ONLY_TEST() local
155 wrappedText->visit(&testVisitor); in UNIX_ONLY_TEST()
/third_party/skia/experimental/sktext/src/
DPaint.cpp85 auto wrappedText = shapedText->wrap(unicodeText.get(), reqSize.width(), reqSize.height()); in layout() local
86 wrappedText->format(textAlign, textDirection); in layout()
87 return wrappedText; in layout()
104 …t(SkCanvas* canvas, SkPoint xy, UnicodeText* unicodeText, WrappedText* wrappedText, SkSpan<Decorat… in paint() argument
118 wrappedText->visit( this); in paint()
120wrappedText->visit(unicodeText, this, PositionType::kGraphemeCluster, SkSpan<size_t>(chunks.data()… in paint()
DText.cpp321 auto wrappedText = std::unique_ptr<WrappedText>(new WrappedText()); in wrap() local
336 this->addLine(wrappedText.get(), unicodeText->getUnicode(), line, spaces, true); in wrap()
410 this->addLine(wrappedText.get(), unicodeText->getUnicode(), line, spaces, false); in wrap()
425 } else if (wrappedText->fVisualLines.empty()) { in wrap()
430 this->addLine(wrappedText.get(), unicodeText->getUnicode(), line, spaces, false); in wrap()
431 wrappedText->fActualSize.fWidth = width; in wrap()
432 return std::move(wrappedText); in wrap()
454 void ShapedText::addLine(WrappedText* wrappedText, SkUnicode* unicode, Stretch& stretch, Stretch& s… in addLine() argument
464 auto runStart = wrappedText->fVisualRuns.size(); in addLine()
481 wrappedText->fVisualRuns.emplace_back(TextRange(textStart, textEnd), in addLine()
[all …]
DPaint.h72 …void paint(SkCanvas* canvas, SkPoint xy, UnicodeText* unicodeText, WrappedText* wrappedText, SkSpa…
/third_party/skia/experimental/sktext/include/
DText.h154 …void addLine(WrappedText* wrappedText, SkUnicode* unicode, Stretch& stretch, Stretch& spaces, bool…