Searched refs:WrappedText (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/experimental/sktext/include/ |
D | Text.h | 115 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;
|
D | Interface.h | 47 class WrappedText; variable 61 std::unique_ptr<WrappedText> wrap(UnicodeText* unicodeText, float width, float height); 91 class WrappedText {
|
D | SkText.md | 25 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/ |
D | Text.cpp | 320 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 …]
|
D | Paint.h | 72 …void paint(SkCanvas* canvas, SkPoint xy, UnicodeText* unicodeText, WrappedText* wrappedText, SkSpa… 88 static std::unique_ptr<WrappedText> layout(std::u16string text,
|
D | VisualRun.h | 85 friend class WrappedText; 132 friend class WrappedText;
|
D | Paint.cpp | 77 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()
|
D | LogicalRun.h | 67 friend class WrappedText; variable
|
D | Line.h | 192 friend class WrappedText;
|
/third_party/skia/experimental/sktext/editor/ |
D | Texts.h | 49 std::unique_ptr<WrappedText> fWrappedText; 127 std::unique_ptr<WrappedText> fWrappedText;
|
/third_party/skia/experimental/sktext/ |
D | BUILD.gn | 55 "tests/WrappedText.cpp",
|