Home
last modified time | relevance | path

Searched refs:fAdvance (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/src/shaders/gradients/
DSk4fGradientBase.cpp35 , 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/
DSkShaper_harfbuzz.cpp632 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 …]
DSkShaper_coretext.cpp310 lineAdvance += info.fAdvance.fX; in shape()
/third_party/skia/src/effects/
DSk1DPathEffect.cpp90 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/
DVisualRun.h40 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
DLogicalRun.h20 fPositions[fGlyphs.size()] = fAdvance; in commit()
33 SkScalar width() const { return fAdvance.fX; } in width()
72 SkVector fAdvance; variable
DLogicalRun.cpp12 , fAdvance(info.fAdvance) in LogicalRun()
/third_party/skia/modules/skparagraph/src/
DTextLine.h79 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
DRun.cpp41 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()
DTextLine.cpp122 , 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 …]
DOneLineShaper.h23 , fAdvance(SkPoint::Make(0.0f, 0.0f)) in OneLineShaper()
95 fAdvance.fX); in runBuffer()
117 SkVector fAdvance; variable
DRun.h87 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
DOneLineShaper.cpp203 …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/
DSkPathMakers.h19 , fAdvance(dir == SkPathDirection::kCW ? 1 : N - 1) { } in SkPath_PointIterator()
27 fCurrent = (fCurrent + fAdvance) % N; in next()
36 unsigned fAdvance; variable
DSkPathBuilder.cpp592 , 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/
DTextAdapter.cpp315 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()
DSkottieShaper.h30 float fAdvance, member
DTextAnimator.h75 float fAdvance, // cumulative advance for all fragments in span member
DTextAdapter.h63 float fAdvance, // used for transform anchor point calculations member
DSkottieShaper.cpp80 fPendingLineAdvance += info.fAdvance; in runInfo()
113 fCurrentPosition += info.fAdvance; in commitRunBuffer()
/third_party/skia/tools/fonts/
DTestSVGTypeface.h48 SkScalar fAdvance; member
137 SkScalar fAdvance; member
DTestSVGTypeface.cpp66 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/
DSkSVGText.cpp445 ri.fAdvance, in runBuffer()
471 fChunkAdvance += ri.fAdvance + fShapeBuffer.fUtf8PosAdjust.back().offset; in commitRunBuffer()
/third_party/skia/modules/skparagraph/tests/
DSkShaperJSONWriter.cpp130 SkPoint lastAdvance = info.fAdvance - (fPositions.back() - fPositions.front()); in commitRunBuffer()
/third_party/skia/src/utils/
DSkShaperJSONWriter.cpp123 SkPoint lastAdvance = info.fAdvance - (fPositions.back() - fPositions.front()); in commitRunBuffer()

12