Home
last modified time | relevance | path

Searched refs:WrappedText (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/experimental/sktext/include/
DText.h115 class WrappedText; variable
129 std::unique_ptr<WrappedText> wrap(UnicodeText* unicodeText, float width, float height);
154 …void addLine(WrappedText* wrappedText, SkUnicode* unicode, Stretch& stretch, Stretch& spaces, bool…
193 class WrappedText {
240 WrappedText() : fActualSize(SkSize::MakeEmpty()), fAligned(TextAlign::kNothing) { } in WrappedText() function
359 friend class WrappedText;
DInterface.h47 class WrappedText; variable
61 std::unique_ptr<WrappedText> wrap(UnicodeText* unicodeText, float width, float height);
91 class WrappedText {
DSkText.md25 It also has a method <b>wrap</b> that creates a WrappedText object.
29 Class <b>WrappedText</b> contains the shaped results from the previous stage only broken by lines a…
47 …n to the DrawableText object afterwards (removing UnicodeText, ShapedText and WrappedText objects).
51 <br>That requires performing the first 3 stages. A user will have to hold on to WrappedText (removi…
/third_party/skia/experimental/sktext/src/
DText.cpp320 std::unique_ptr<WrappedText> ShapedText::wrap(UnicodeText* unicodeText, float width, float height) { in wrap()
321 auto wrappedText = std::unique_ptr<WrappedText>(new WrappedText()); in wrap()
454 void ShapedText::addLine(WrappedText* wrappedText, SkUnicode* unicode, Stretch& stretch, Stretch& s… in addLine()
503 void WrappedText::format(TextAlign textAlign, TextDirection textDirection) { in format()
521 void WrappedText::visit(Visitor* visitor) const { in visit()
541 std::vector<TextIndex> WrappedText::chunksToBlocks(SkSpan<size_t> chunks) { in chunksToBlocks()
553 SkSpan<TextIndex> WrappedText::limitBlocks(TextRange textRange, SkSpan<TextIndex> blocks) { in limitBlocks()
570 void WrappedText::visit(UnicodeText* unicodeText, Visitor* visitor, PositionType positionType, SkSp… in visit()
577 auto textBlocks = WrappedText::chunksToBlocks(chunks); in visit()
584 …auto lineBlocks = WrappedText::limitBlocks(line.fText, SkSpan<TextIndex>(textBlocks.data(), textBl… in visit()
[all …]
DPaint.h72 …void paint(SkCanvas* canvas, SkPoint xy, UnicodeText* unicodeText, WrappedText* wrappedText, SkSpa…
88 static std::unique_ptr<WrappedText> layout(std::u16string text,
DVisualRun.h85 friend class WrappedText;
132 friend class WrappedText;
DPaint.cpp77 std::unique_ptr<WrappedText> Paint::layout(std::u16string text, in layout()
104 …void Paint::paint(SkCanvas* canvas, SkPoint xy, UnicodeText* unicodeText, WrappedText* wrappedText… in paint()
DLogicalRun.h67 friend class WrappedText; variable
DLine.h192 friend class WrappedText;
/third_party/skia/experimental/sktext/editor/
DTexts.h49 std::unique_ptr<WrappedText> fWrappedText;
127 std::unique_ptr<WrappedText> fWrappedText;
/third_party/skia/experimental/sktext/
DBUILD.gn55 "tests/WrappedText.cpp",