/third_party/skia/modules/skplaintexteditor/src/ |
D | editor.cpp | 57 for (auto& l : fLines) { this->markDirty(&l); } in setFont() 65 for (auto& l : fLines) { this->markDirty(&l); } in setWidth() 73 for (size_t j = 0; j < fLines.size(); ++j) { in getPosition() 74 const TextLine& line = fLines[j]; in getPosition() 78 j + 1 < fLines.size() ? fLines[j + 1].fOrigin.y() : INT_MAX}; in getPosition() 127 if (fLines.size() > 0) { in getLocation() 128 const TextLine& cLine = fLines[cursor.fParagraphIndex]; in getLocation() 152 if (pos.fParagraphIndex < fLines.size()) { in insert() 153 fLines[pos.fParagraphIndex].fText.insert(pos.fTextByteIndex, utf8Text, byteLen); in insert() 154 this->markDirty(&fLines[pos.fParagraphIndex]); in insert() [all …]
|
/third_party/skia/modules/skplaintexteditor/include/ |
D | editor.h | 38 const std::vector<TextLine>& fLines; member 45 Iterator begin() const { return Iterator{fLines.begin()}; } in begin() 46 Iterator end() const { return Iterator{fLines.end()}; } in end() 53 Text text() const { return Text{fLines}; } in text() 56 int lineHeight(size_t index) const { return fLines[index].fHeight; } in lineHeight() 84 size_t lineCount() const { return fLines.size(); } in lineCount() 86 return i < fLines.size() ? fLines[i].fText.view() : StringView{nullptr, 0}; in line() 116 std::vector<TextLine> fLines; variable
|
/third_party/icu/icu4c/source/samples/layout/ |
D | paragraph.cpp | 84 fLineCount(0), fLinesMax(LINE_GROW), fLinesGrow(LINE_GROW), fLines(NULL), fChars(NULL), in Paragraph() 100 fLines = LE_NEW_ARRAY(const ParagraphLayout::Line *, fLinesMax); in Paragraph() 170 delete /*(LineInfo *)*/ fLines[line]; in ~Paragraph() 177 LE_DELETE_ARRAY(fLines); in ~Paragraph() 185 fLines = (const ParagraphLayout::Line **) LE_GROW_ARRAY(fLines, fLinesMax + fLinesGrow); in addLine() 189 fLines[fLineCount++] = line; in addLine() 208 delete fLines[li]; in breakLines() 235 const ParagraphLayout::Line *line = fLines[li]; in draw()
|
D | pflow.c | 56 pl_line **fLines; member 137 flow->fLines = NULL; in pf_create() 151 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create() 233 DELETE_ARRAY(obj->fLines[i]); in pf_close() 236 DELETE_ARRAY(obj->fLines); in pf_close() 274 obj->fLines = (pl_line **) GROW_ARRAY(obj->fLines, obj->fLinesMax + obj->fLinesGrow); in addLine() 278 obj->fLines[obj->fLineCount++] = line; in addLine() 301 pl_closeLine(obj->fLines[li]); in pf_breakLines() 329 const pl_line *line = obj->fLines[li]; in pf_draw()
|
D | paragraph.h | 67 const ParagraphLayout::Line **fLines; variable
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | paragraph.cpp | 84 fLineCount(0), fLinesMax(LINE_GROW), fLinesGrow(LINE_GROW), fLines(NULL), fChars(NULL), in Paragraph() 100 fLines = LE_NEW_ARRAY(const ParagraphLayout::Line *, fLinesMax); in Paragraph() 170 delete /*(LineInfo *)*/ fLines[line]; in ~Paragraph() 177 LE_DELETE_ARRAY(fLines); in ~Paragraph() 185 fLines = (const ParagraphLayout::Line **) LE_GROW_ARRAY(fLines, fLinesMax + fLinesGrow); in addLine() 189 fLines[fLineCount++] = line; in addLine() 208 delete fLines[li]; in breakLines() 235 const ParagraphLayout::Line *line = fLines[li]; in draw()
|
D | pflow.c | 54 pl_line **fLines; member 135 flow->fLines = NULL; in pf_create() 149 flow->fLines = NEW_ARRAY(pl_line *, flow->fLinesMax); in pf_create() 231 DELETE_ARRAY(obj->fLines[i]); in pf_close() 234 DELETE_ARRAY(obj->fLines); in pf_close() 272 obj->fLines = (pl_line **) GROW_ARRAY(obj->fLines, obj->fLinesMax + obj->fLinesGrow); in addLine() 276 obj->fLines[obj->fLineCount++] = line; in addLine() 299 pl_closeLine(obj->fLines[li]); in pf_breakLines() 327 const pl_line *line = obj->fLines[li]; in pf_draw()
|
D | paragraph.h | 67 const ParagraphLayout::Line **fLines; variable
|
/third_party/skia/modules/skparagraph/src/ |
D | ParagraphImpl.cpp | 143 if (lineNumber > fLines.size() || !lineNumber || in GetLineFontMetrics() 144 !fLines[lineNumber - 1].getLineAllRuns().size()) { in GetLineFontMetrics() 149 size_t lineCharCount = fLines[lineNumber - 1].clusters().end - in GetLineFontMetrics() 150 fLines[lineNumber - 1].clusters().start; in GetLineFontMetrics() 152 for (auto& runIndex : fLines[lineNumber - 1].getLineAllRuns()) { in GetLineFontMetrics() 457 fLines.size() == 1 && fLines.front().ellipsis() == nullptr) { in GetLineFontMetrics() 489 this->fLines.reset(); in GetLineFontMetrics() 522 this->fLines.reset(); in GetLineFontMetrics() 559 fLineNumber = std::max(size_t(1), fLines.size()); in GetLineFontMetrics() 569 for (auto& line : fLines) { in GetLineFontMetrics() [all …]
|
D | ParagraphImpl.h | 148 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); } in lines() 339 …SkTArray<TextLine, false> fLines; // kFormatted (cached: width, max lines, ellipsis, text alig… variable
|
/third_party/skia/bench/ |
D | TypefaceBench.cpp | 232 fLines.emplace_back(this->convertLine(i)); in onDelayedSetup() 233 maxGlyphs = std::max(maxGlyphs, fLines.back()->glyphCount); in onDelayedSetup() 243 for (auto& line : fLines) { in onDraw() 293 std::vector<std::unique_ptr<Line>> fLines; member in UtfToGlyph
|
/third_party/skia/src/gpu/ops/ |
D | DashOp.cpp | 243 fLines.push_back(geometry); in DashOpImpl() 253 SkMatrix& combinedMatrix = fLines[0].fSrcRotInv; in DashOpImpl() 331 int instanceCount = fLines.count(); in onPrepareDraws() 357 const LineData& args = fLines[i]; in onPrepareDraws() 573 const LineData& geom = fLines[i]; in onPrepareDraws() 656 fLines.push_back_n(that->fLines.count(), that->fLines.begin()); in onCombineIfPossible() 663 for (const auto& geo : fLines) { in onDumpInfo() 679 const SkMatrix& viewMatrix() const { return fLines[0].fViewMatrix; } in viewMatrix() 684 SkSTArray<1, LineData, true> fLines; member in skgpu::v1::DashOp::__anon5c43c9290111::DashOpImpl
|