/third_party/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.cpp | 35 , fAdvance(reverse ? -1 : 1) { in IntervalIterator() 47 const int end = fBegin + fAdvance * (fShader.fColorCount - 1); in iterate() 52 const int curr = prev + fAdvance; in iterate() 57 SkASSERT((currPos > prevPos) == (fAdvance > 0)); in iterate() 73 const SkScalar dt = fAdvance * SK_Scalar1 / (fShader.fColorCount - 1); in iterateImplicitPos() 74 const int end = fBegin + fAdvance * (fShader.fColorCount - 2); in iterateImplicitPos() 79 const int curr = prev + fAdvance; in iterateImplicitPos() 89 func(colors[prev], colors[prev + fAdvance], prevPos, 1 - fFirstPos); in iterateImplicitPos() 95 const int fAdvance; member in __anon5e6b78580111::IntervalIterator
|
/third_party/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 632 SkVector fAdvance; member 644 , fGlyphs(std::move(glyphs)), fNumGlyphs(numGlyphs), fAdvance(advance) 652 SkVector fAdvance; member 659 fGlyphs(std::move(glyphs)), fNumGlyphs(numGlyphs), fAdvance(advance) 667 SkVector fAdvance; member 672 SkVector fAdvance = { 0, 0 }; member 703 advance += glyph.fAdvance; 727 run.fAdvance, 741 run.fAdvance, 1102 advance += model.fGlyphs[i].fAdvance; [all …]
|
D | SkShaper_coretext.cpp | 310 lineAdvance += info.fAdvance.fX; in shape()
|
/third_party/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 90 fAdvance = advance; in SkPath1DPathEffectImpl() 117 buffer.writeScalar(fAdvance); in flatten() 128 SkScalar fAdvance; // copied from constructor member in SkPath1DPathEffectImpl 213 return fAdvance; in next() 233 return fAdvance; in next()
|
/third_party/skia/experimental/sktext/src/ |
D | VisualRun.h | 40 fAdvance= SkVector::Make(this->calculateWidth(0, glyphs.size()), fTextMetrics.height()); in VisualRun() 50 SkScalar width() const { return fAdvance.fX; } in width() 51 SkScalar height() const { return fAdvance.fY; } in height() 90 SkVector fAdvance; variable
|
D | LogicalRun.h | 20 fPositions[fGlyphs.size()] = fAdvance; in commit() 33 SkScalar width() const { return fAdvance.fX; } in width() 72 SkVector fAdvance; variable
|
D | LogicalRun.cpp | 12 , fAdvance(info.fAdvance) in LogicalRun()
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.h | 79 SkScalar height() const { return fAdvance.fY; } in height() 81 return fAdvance.fX + (fEllipsis != nullptr ? fEllipsis->fAdvance.fX : 0); in width() 83 SkScalar widthWithoutEllipsis() const { return fAdvance.fX; } in widthWithoutEllipsis() 198 SkVector fAdvance; // Text size variable
|
D | Run.cpp | 41 fAdvance = info.fAdvance; in Run() 61 fPositions[info.glyphCount] = fOffset + fAdvance; in Run() 195 fAdvance.fX += space; in addSpacesAtTheEnd() 214 fAdvance.fX += shift; in addSpacesEvenly() 237 fAdvance.fX += shift; in addSpacesEvenly()
|
D | TextLine.cpp | 122 , fAdvance(advance) in TextLine() 345 fAdvance.fX, in ensureTextBlobCachePopulated() 634 auto ghostShift = maxWidth - this->fAdvance.fX; in justify() 664 this->fAdvance.fX = maxWidth; in justify() 692 SkScalar width = fAdvance.fX; in createTailEllipsis() 742 fAdvance.fX = width; in createTailEllipsis() 764 fAdvance.fX = 0; in createTailEllipsis() 769 if (fAdvance.fX <= maxWidth) { in createHeadEllipsis() 772 SkScalar width = fAdvance.fX; in createHeadEllipsis() 792 fAdvance.fX = width + ellipsisRun->advance().fX; in createHeadEllipsis() [all …]
|
D | OneLineShaper.h | 23 , fAdvance(SkPoint::Make(0.0f, 0.0f)) in OneLineShaper() 95 fAdvance.fX); in runBuffer() 117 SkVector fAdvance; variable
|
D | Run.h | 87 void setWidth(SkScalar width) { fAdvance.fX = width; } in setWidth() 88 void setHeight(SkScalar height) { fAdvance.fY = height; } in setHeight() 93 SkScalar fAdvanceX() const { return fAdvance.fX; } in fAdvanceX() 95 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance() 133 return SkRect::MakeXYWH(fOffset.fX, fOffset.fY, fAdvance.fX, fAdvance.fY); in clip() 219 SkVector fAdvance; variable
|
D | OneLineShaper.cpp | 203 …uto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY); in finish() 238 fAdvance.fX += runAdvance.fX; in finish() 239 fAdvance.fY = std::max(fAdvance.fY, runAdvance.fY); in finish() 242 advanceX = fAdvance.fX; in finish() 664 fAdvance = SkVector::Make(advanceX, 0);
|
/third_party/skia/src/core/ |
D | SkPathMakers.h | 19 , fAdvance(dir == SkPathDirection::kCW ? 1 : N - 1) { } in SkPath_PointIterator() 27 fCurrent = (fCurrent + fAdvance) % N; in next() 36 unsigned fAdvance; variable
|
D | SkPathBuilder.cpp | 592 , fAdvance(dir == SkPathDirection::kCW ? 1 : N - 1) in PointIterator() 601 fCurrent = (fCurrent + fAdvance) % N; in next() 610 unsigned fAdvance; member in __anond7e1db580311::PointIterator
|
/third_party/skia/modules/skottie/src/text/ |
D | TextAdapter.cpp | 315 rec.fAdvance = frag.fAdvance; in addFragment() 357 auto box = SkRect::MakeLTRB(0, rec.fAscent, rec.fAdvance, 0); in addFragment() 410 word_advance += frag.fAdvance; in buildDomainMaps() 422 line_advance += frag.fAdvance; in buildDomainMaps() 647 return make_box(rec.fOrigin, rec.fAdvance, rec.fAscent); in fragmentAnchorPoint() 655 grouping_span->fAdvance, in fragmentAnchorPoint()
|
D | SkottieShaper.h | 30 float fAdvance, member
|
D | TextAnimator.h | 75 float fAdvance, // cumulative advance for all fragments in span member
|
D | TextAdapter.h | 63 float fAdvance, // used for transform anchor point calculations member
|
D | SkottieShaper.cpp | 80 fPendingLineAdvance += info.fAdvance; in runInfo() 113 fCurrentPosition += info.fAdvance; in commitRunBuffer()
|
/third_party/skia/tools/fonts/ |
D | TestSVGTypeface.h | 48 SkScalar fAdvance; member 137 SkScalar fAdvance; member
|
D | TestSVGTypeface.cpp | 66 fGlyphs[i].fAdvance = datum.fAdvance; in TestSVGTypeface() 117 TestSVGTypeface::Glyph::Glyph() : fOrigin{0, 0}, fAdvance(0) {} in Glyph() 124 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance() 603 out->writeDecAsText(fGlyphs[i].fAdvance); in exportTtxCommon() 620 out->writeDecAsText(fGlyphs[i].fAdvance); in exportTtxCommon()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGText.cpp | 445 ri.fAdvance, in runBuffer() 471 fChunkAdvance += ri.fAdvance + fShapeBuffer.fUtf8PosAdjust.back().offset; in commitRunBuffer()
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkShaperJSONWriter.cpp | 130 SkPoint lastAdvance = info.fAdvance - (fPositions.back() - fPositions.front()); in commitRunBuffer()
|
/third_party/skia/src/utils/ |
D | SkShaperJSONWriter.cpp | 123 SkPoint lastAdvance = info.fAdvance - (fPositions.back() - fPositions.front()); in commitRunBuffer()
|