Home
last modified time | relevance | path

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

12

/external/skqp/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp34 std::vector<int16_t> fAdvance; member
63 if (SkToInt(range->fAdvance.size()) < expectedAdvanceCount) { in strip_uninteresting_trailing_advances_from_range()
68 if (range->fAdvance[i] != kDontCareAdvance && in strip_uninteresting_trailing_advances_from_range()
69 range->fAdvance[i] != kInvalidAdvance && in strip_uninteresting_trailing_advances_from_range()
70 range->fAdvance[i] != 0) { in strip_uninteresting_trailing_advances_from_range()
82 SkASSERT(SkToInt(range->fAdvance.size()) == range->fEndId - range->fStartId + 1); in zero_wildcards_in_range()
85 for (size_t i = 0; i < range->fAdvance.size(); ++i) { in zero_wildcards_in_range()
86 if (range->fAdvance[i] == kDontCareAdvance) { in zero_wildcards_in_range()
87 range->fAdvance[i] = 0; in zero_wildcards_in_range()
108 SkASSERT(range->fAdvance.size() >= newLength); in finish_range()
[all …]
/external/skia/experimental/sktext/src/
DTextRun.cpp13 fAdvance = info.fAdvance; in TextRun()
21 fPositions[info.glyphCount] = fAdvance; in TextRun()
29 fPositions[fGlyphs.size()] = fAdvance; in commit()
DTextRun.h32 SkVector fAdvance; variable
/external/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 > 0) == (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 __anon2ae2a4810111::IntervalIterator
/external/skqp/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 > 0) == (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 __anoned0a85380111::IntervalIterator
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp493 SkVector fAdvance; member
504 , fGlyphs(std::move(glyphs)), fNumGlyphs(numGlyphs), fAdvance(advance)
512 SkVector fAdvance; member
516 SkVector fAdvance = { 0, 0 }; member
547 advance += glyph.fAdvance; in append()
571 run.fAdvance, in emit()
585 run.fAdvance, in emit()
905 advance += model.fGlyphs[i].fAdvance; in wrap()
909 modelText[utf8runLength].advance = model.fAdvance; in wrap()
926 SkScalar widthLeft = width - line.fAdvance.fX; in wrap()
[all …]
/external/skqp/src/effects/
DSk1DPathEffect.cpp63 fAdvance = advance; in SkPath1DPathEffect()
166 buffer.writeScalar(fAdvance); in flatten()
176 return fAdvance; in next()
199 return fAdvance; in next()
/external/skia/src/effects/
DSk1DPathEffect.cpp67 fAdvance = advance; in SkPath1DPathEffect()
170 buffer.writeScalar(fAdvance); in flatten()
180 return fAdvance; in next()
203 return fAdvance; in next()
/external/skia/modules/skparagraph/src/
DTextLine.h66 SkScalar height() const { return fAdvance.fY; } in height()
68 return fAdvance.fX + (fEllipsis != nullptr ? fEllipsis->fAdvance.fX : 0); in width()
141 SkVector fAdvance; // Text size variable
DOneLineShaper.h22 , fAdvance(SkPoint::Make(0.0f, 0.0f)) in OneLineShaper()
87 fAdvance.fX); in runBuffer()
107 SkVector fAdvance; variable
DRun.cpp33 fAdvance = info.fAdvance; in Run()
48 fPositions[info.glyphCount] = fOffset + fAdvance; in Run()
150 fAdvance.fX += space; in addSpacesAtTheEnd()
170 fAdvance.fX += shift; in addSpacesEvenly()
DRun.h78 void setWidth(SkScalar width) { fAdvance.fX = width; } in setWidth()
79 void setHeight(SkScalar height) { fAdvance.fY = height; } in setHeight()
85 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance()
118 return SkRect::MakeXYWH(fOffset.fX, fOffset.fY, fAdvance.fX, fAdvance.fY); in clip()
181 SkVector fAdvance; variable
DTextLine.cpp98 , fAdvance(advance) in TextLine()
308 fAdvance.fY += delta; in metricsWithoutMultiplier()
448 auto ghostShift = maxWidth - this->fAdvance.fX; in justify()
478 this->fAdvance.fX = maxWidth; in justify()
506 SkScalar width = fAdvance.fX; in createEllipsis()
523 fAdvance.fX = width; in createEllipsis()
561 fRun->fAdvance.fX = info.fAdvance.fX; in shapeEllipsis()
562 fRun->fAdvance.fY = fRun->advance().fY; in shapeEllipsis()
695 if (compareRound(result.clip.fRight, fAdvance.fX) > 0 && !includeGhostSpaces) { in measureTextInsideOneRun()
700 result.clip.fRight = fAdvance.fX; in measureTextInsideOneRun()
[all …]
DOneLineShaper.cpp198 …uto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY); in finish()
232 fAdvance.fX += runAdvance.fX; in finish()
233 fAdvance.fY = std::max(fAdvance.fY, runAdvance.fY); in finish()
236 advanceX = fAdvance.fX; in finish()
640 fAdvance = SkVector::Make(advanceX, 0); in shape()
/external/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
/external/skia/modules/skottie/src/text/
DTextAdapter.cpp133 rec.fAdvance = frag.fAdvance; in addFragment()
175 auto box = SkRect::MakeLTRB(0, rec.fAscent, rec.fAdvance, 0); in addFragment()
228 word_advance += frag.fAdvance; in buildDomainMaps()
240 line_advance += frag.fAdvance; in buildDomainMaps()
440 return make_box(rec.fOrigin, rec.fAdvance, rec.fAscent); in fragmentAnchorPoint()
448 grouping_span->fAdvance, in fragmentAnchorPoint()
DSkottieShaper.h30 float fAdvance, member
DTextAnimator.h73 float fAdvance, // cumulative advance for all fragments in span member
DTextAdapter.h63 float fAdvance, // used for transform anchor point calculations member
/external/skqp/modules/skshaper/src/
DSkShaper_harfbuzz.cpp403 SkVector fAdvance; member
421 SkVector fAdvance = { 0, 0 }; member
449 p->fX += glyph.fAdvance.fX; in append()
450 p->fY += glyph.fAdvance.fY; in append()
671 glyph.fAdvance.fX = pos[i].x_advance * textSizeX; in shape()
672 glyph.fAdvance.fY = pos[i].y_advance * textSizeY; in shape()
677 runAdvance += glyph.fAdvance; in shape()
679 run.fAdvance = runAdvance; in shape()
711 SkScalar glyphWidth = glyph->fAdvance.fX; in shape()
793 run.fAdvance, in shape()
/external/skqp/tools/fonts/
DSkTestSVGTypeface.h43 SkScalar fAdvance; member
135 SkScalar fAdvance; member
/external/skia/tools/fonts/
DTestSVGTypeface.h46 SkScalar fAdvance; member
133 SkScalar fAdvance; member
/external/skqp/modules/skshaper/include/
DSkShaper.h36 SkVector fAdvance; member
/external/skqp/include/effects/
DSk1DPathEffect.h70 SkScalar fAdvance; // copied from constructor
/external/skia/include/effects/
DSk1DPathEffect.h73 SkScalar fAdvance; // copied from constructor

12