Home
last modified time | relevance | path

Searched refs:TextLine (Results 1 – 24 of 24) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DTextLine.h27 class TextLine {
40 TextLine() = default;
41 TextLine(const TextLine&) = delete;
42 TextLine& operator=(const TextLine&) = delete;
43 TextLine(TextLine&&) = default;
44 TextLine& operator=(TextLine&&) = default;
45 ~TextLine() = default;
47 TextLine(ParagraphImpl* owner,
DTextLine.cpp81 TextLine::TextLine(ParagraphImpl* owner, in TextLine() function in skia::textlayout::TextLine
165 SkRect TextLine::paint(SkCanvas* textCanvas, SkScalar x, SkScalar y) { in paint()
223 void TextLine::ensureTextBlobCachePopulated() { in ensureTextBlobCachePopulated()
244 void TextLine::format(TextAlign align, SkScalar maxWidth) { in format()
265 void TextLine::scanStyles(StyleType styleType, const RunStyleVisitor& visitor) { in scanStyles()
281 SkRect TextLine::extendHeight(const ClipContext& context) const { in extendHeight()
287 SkScalar TextLine::metricsWithoutMultiplier(TextHeightBehavior correction) { in metricsWithoutMultiplier()
314 void TextLine::buildTextBlob(TextRange textRange, const TextStyle& style, const ClipContext& contex… in buildTextBlob()
351 void TextLine::TextBlobRecord::paint(SkCanvas* canvas, SkScalar x, SkScalar y) { in paint()
362 void TextLine::paintBackground(SkCanvas* canvas, SkScalar x, SkScalar y, TextRange textRange, const… in paintBackground()
[all …]
DDecorations.h15 …void paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& context, SkS…
23 …void calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, SkScalar baseline, Sk…
DParagraphImpl.h58 class TextLine;
128 TextLine& addLine(SkVector offset, SkVector advance,
142 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); }
264 …SkTArray<TextLine, false> fLines; // kFormatted (cached: width, max lines, ellipsis, text alig…
DDecorations.cpp23 void Decorations::paint(SkCanvas* canvas, const TextStyle& textStyle, const TextLine::ClipContext& … in paint()
95 void Decorations::calculateGaps(const TextLine::ClipContext& context, const SkRect& rect, in calculateGaps()
DRun.h171 friend class TextLine; variable
472 friend class TextLine; variable
DParagraphImpl.cpp641 TextLine& ParagraphImpl::addLine(SkVector offset, in addLine()
/third_party/flutter/skia/experimental/editor/
Deditor.h27 struct TextLine;
40 const std::vector<TextLine>& fLines;
42 std::vector<TextLine>::const_iterator fPtr;
105 struct TextLine { struct
115 TextLine(StringSlice t) : fText(std::move(t)) {} in TextLine() argument
116 TextLine() {} in TextLine() argument
118 std::vector<TextLine> fLines;
125 void markDirty(TextLine*);
Deditor.cpp47 void Editor::markDirty(TextLine* line) { in markDirty()
74 const TextLine& line = fLines[j]; in getPosition()
128 const TextLine& cLine = fLines[cursor.fParagraphIndex]; in getLocation()
158 fLines.push_back(Editor::TextLine(StringSlice(utf8Text, byteLen))); in insert()
164 std::vector<TextLine>::const_iterator next = fLines.begin() + pos.fParagraphIndex + 1; in insert()
165 fLines.insert(next, newlinecount, TextLine()); in insert()
166 TextLine* line = &fLines[pos.fParagraphIndex]; in insert()
230 const std::vector<TextLine>::const_iterator firstP = fLines.begin() + start.fParagraphIndex; in copy()
231 const std::vector<TextLine>::const_iterator lastP = fLines.begin() + end.fParagraphIndex; in copy()
444 const TextLine& l = fLines[pos.fParagraphIndex]; in paint()
[all …]
/third_party/skia/modules/skplaintexteditor/include/
Deditor.h25 struct TextLine;
38 const std::vector<TextLine>& fLines;
40 std::vector<TextLine>::const_iterator fPtr;
103 struct TextLine { struct
113 TextLine(StringSlice t) : fText(std::move(t)) {} in TextLine() argument
114 TextLine() {} in TextLine() function
116 std::vector<TextLine> fLines;
123 void markDirty(TextLine*);
/third_party/flutter/skia/modules/skparagraph/src/
DTextLine.cpp31 SkTHashMap<SkFont, Run> TextLine::fEllipsisCache;
33 TextLine::TextLine(ParagraphImpl* master, in TextLine() function in skia::textlayout::TextLine
93 void TextLine::paint(SkCanvas* textCanvas) { in paint()
134 void TextLine::format(TextAlign effectiveAlign, SkScalar maxWidth) { in format()
149 TextAlign TextLine::assumedTextAlign() const { in assumedTextAlign()
162 void TextLine::scanStyles(StyleType style, const StyleVisitor& visitor) { in scanStyles()
176 void TextLine::scanRuns(const RunVisitor& visitor) { in scanRuns()
185 SkScalar TextLine::paintText(SkCanvas* canvas, TextRange textRange, const TextStyle& style, in paintText()
211 SkScalar TextLine::paintBackground(SkCanvas* canvas, TextRange textRange, in paintBackground()
223 SkScalar TextLine::paintShadow(SkCanvas* canvas, TextRange textRange, const TextStyle& style, in paintShadow()
[all …]
DTextLine.h16 class TextLine {
18 TextLine() = default;
19 ~TextLine() = default;
21 TextLine(ParagraphImpl* master,
DParagraphImpl.h70 TextLine& addLine(SkVector offset, SkVector advance, TextRange text, TextRange textWithSpaces,
81 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); } in lines()
183 …SkTArray<TextLine, true> fLines; // kFormatted (cached: width, max lines, ellipsis, text alig…
DRun.h149 friend class TextLine; variable
DParagraphImpl.cpp511 TextLine& ParagraphImpl::addLine(SkVector offset, in addLine()
/third_party/skia/modules/skplaintexteditor/src/
Deditor.cpp47 void Editor::markDirty(TextLine* line) { in markDirty()
74 const TextLine& line = fLines[j]; in getPosition()
128 const TextLine& cLine = fLines[cursor.fParagraphIndex]; in getLocation()
158 fLines.push_back(Editor::TextLine(StringSlice(utf8Text, byteLen))); in insert()
164 std::vector<TextLine>::const_iterator next = fLines.begin() + pos.fParagraphIndex + 1; in insert()
165 fLines.insert(next, newlinecount, TextLine()); in insert()
166 TextLine* line = &fLines[pos.fParagraphIndex]; in insert()
230 const std::vector<TextLine>::const_iterator firstP = fLines.begin() + start.fParagraphIndex; in copy()
231 const std::vector<TextLine>::const_iterator lastP = fLines.begin() + end.fParagraphIndex; in copy()
444 const TextLine& l = fLines[pos.fParagraphIndex]; in paint()
[all …]
/third_party/giflib/
Dgifcolor.c35 static void GenRasterTextLine(GifRowType *RasterBuffer, char *TextLine,
140 static void GenRasterTextLine(GifRowType *RasterBuffer, char *TextLine, in GenRasterTextLine() argument
144 int i, j, k, CharPosX, Len = strlen(TextLine); in GenRasterTextLine()
150 unsigned char c = TextLine[i]; in GenRasterTextLine()
Dgifecho.c48 static void GenRasterTextLine(GifRowType *RasterBuffer, char *TextLine,
177 static void GenRasterTextLine(GifRowType *RasterBuffer, char *TextLine, in GenRasterTextLine() argument
181 int i, j, k, CharPosX, Len = strlen(TextLine); in GenRasterTextLine()
187 unsigned char c = TextLine[i]; in GenRasterTextLine()
/third_party/flutter/skia/modules/skparagraph/
Dskparagraph.gni34 "$_src/TextLine.cpp",
35 "$_src/TextLine.h",
/third_party/skia/modules/skparagraph/
Dskparagraph.gni36 "$_src/TextLine.cpp",
37 "$_src/TextLine.h",
/third_party/skia/site/docs/dev/design/
Dtext_shaper.md156 readonly attribute sequence<TextLine> lines;
198 interface TextLine {
/third_party/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp228 … (TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in UNIX_ONLY_TEST()
1010 …[reporter, &index](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& conte… in UNIX_ONLY_TEST()
1100 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in UNIX_ONLY_TEST()
1127 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in UNIX_ONLY_TEST()
1173 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in UNIX_ONLY_TEST()
1219 [&](TextRange textRange, const TextStyle& style, const TextLine::ClipContext& context) { in UNIX_ONLY_TEST()
1727 auto calculate = [](const TextLine& line) -> SkScalar { in UNIX_ONLY_TEST()
1814 auto calculate = [](const TextLine& line) -> SkScalar { in UNIX_ONLY_TEST()
1902 auto calculate = [](const TextLine& line) -> SkScalar { in UNIX_ONLY_TEST()
1947 auto calculate = [](const TextLine& line) -> SkScalar { in UNIX_ONLY_TEST()
[all …]
/third_party/flutter/skia/tests/
DSkParagraphTest.cpp651 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
738 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
826 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
870 auto calculate = [](const TextLine& line) -> SkScalar { in DEF_TEST()
/third_party/flutter/engine/flutter/ci/licenses_golden/
Dlicenses_skia1740 FILE: ../../../third_party/skia/modules/skparagraph/src/TextLine.cpp
1741 FILE: ../../../third_party/skia/modules/skparagraph/src/TextLine.h