Home
last modified time | relevance | path

Searched refs:fRun (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/modules/skparagraph/src/
DOneLineShaper.h34 RunBlock() : fRun(nullptr) { } in RunBlock()
37 explicit RunBlock(TextRange text) : fRun(nullptr), fText(text) { } in RunBlock()
40 : fRun(std::move(run)) in RunBlock()
46 : fRun(std::move(run)) in RunBlock()
47 , fText(fRun->fTextRange) in RunBlock()
48 , fGlyphs(GlyphRange(0, fRun->size())) { } in RunBlock()
50 std::shared_ptr<Run> fRun; member
53 bool isFullyResolved() { return fRun != nullptr && fGlyphs.width() == fRun->size(); } in isFullyResolved()
DOneLineShaper.cpp46 if (front.fRun != nullptr) { in commitRunBuffer()
47 unresolved.fRun = front.fRun; in commitRunBuffer()
61 if (resolved.fRun == nullptr) { in printState()
67 if (resolved.fRun->fFont.getTypeface() != nullptr) { in printState()
68 resolved.fRun->fFont.getTypeface()->getFamilyName(&name); in printState()
175 if (resolvedBlock.fRun != nullptr) { in finish()
176 … fParagraph->fFontSwitches.emplace_back(resolvedBlock.fText.start, resolvedBlock.fRun->fFont); in finish()
179 auto run = resolvedBlock.fRun; in finish()
191 resolvedBlock.fRun->fIndex = this->fParagraph->fRuns.size(); in finish()
192 this->fParagraph->fRuns.emplace_back(*resolvedBlock.fRun); in finish()
[all …]
DTextLine.cpp546 …: fRun(nullptr), fLineHeight(lineHeight), fUseHalfLeading(useHalfLeading), fBaselineShift(baseline… in shapeEllipsis()
547 Run* run() & { return fRun.get(); } in shapeEllipsis()
548 std::unique_ptr<Run> run() && { return std::move(fRun); } in shapeEllipsis()
558 SkASSERT(!fRun); in shapeEllipsis()
559fRun = std::make_unique<Run>(nullptr, info, 0, fLineHeight, fUseHalfLeading, fBaselineShift, 0, 0); in shapeEllipsis()
560 return fRun->newRunBuffer(); in shapeEllipsis()
564 fRun->fAdvance.fX = info.fAdvance.fX; in shapeEllipsis()
565 fRun->fAdvance.fY = fRun->advance().fY; in shapeEllipsis()
566 fRun->fPlaceholderIndex = std::numeric_limits<size_t>::max(); in shapeEllipsis()
567 fRun->fEllipsis = true; in shapeEllipsis()
[all …]
/third_party/flutter/skia/modules/skparagraph/src/
DTextLine.cpp491 : fRun(nullptr), fLineHeight(lineHeight), fEllipsis(ellipsis) {} in shapeEllipsis()
492 Run* run() { return fRun; } in shapeEllipsis()
502 fRun = fEllipsisCache.set(info.fFont, in shapeEllipsis()
504 return fRun->newRunBuffer(); in shapeEllipsis()
508 fRun->fAdvance.fX = info.fAdvance.fX; in shapeEllipsis()
509 fRun->fAdvance.fY = fRun->advance().fY; in shapeEllipsis()
514 Run* fRun; in shapeEllipsis() member in skia::textlayout::TextLine::shapeEllipsis::ShapeHandler
/third_party/flutter/skia/src/gpu/ops/
DGrAtlasTextOp.h38 uint16_t fRun; member
DGrAtlasTextOp.cpp109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
363 resourceProvider, blob, args.fRun, args.fSubRun, args.fViewMatrix, args.fX, args.fY, in onPrepareDraws()
/third_party/flutter/skia/src/gpu/text/
DGrTextBlob.h280 , fRun{run}
375 Run* const fRun; variable
DGrTextBlob.cpp189 geometry.fRun = run; in makeOp()
/third_party/flutter/skia/src/atlastext/
DSkAtlasTextTarget.cpp237 resourceProvider, fGeoData[i].fBlob, fGeoData[i].fRun, fGeoData[i].fSubRun, in executeForTextTarget()
/third_party/flutter/skia/src/core/
DSkGlyphRunPainter.cpp722 GrTextBlob* blob = fRun->fBlob; in appendGlyph()