/external/skqp/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 34 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/ |
D | TextRun.cpp | 13 fAdvance = info.fAdvance; in TextRun() 21 fPositions[info.glyphCount] = fAdvance; in TextRun() 29 fPositions[fGlyphs.size()] = fAdvance; in commit()
|
D | TextRun.h | 32 SkVector fAdvance; variable
|
/external/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 > 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/ |
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 > 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/ |
D | SkShaper_harfbuzz.cpp | 493 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/ |
D | Sk1DPathEffect.cpp | 63 fAdvance = advance; in SkPath1DPathEffect() 166 buffer.writeScalar(fAdvance); in flatten() 176 return fAdvance; in next() 199 return fAdvance; in next()
|
/external/skia/src/effects/ |
D | Sk1DPathEffect.cpp | 67 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/ |
D | TextLine.h | 66 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
|
D | OneLineShaper.h | 22 , fAdvance(SkPoint::Make(0.0f, 0.0f)) in OneLineShaper() 87 fAdvance.fX); in runBuffer() 107 SkVector fAdvance; variable
|
D | Run.cpp | 33 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()
|
D | Run.h | 78 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
|
D | TextLine.cpp | 98 , 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 …]
|
D | OneLineShaper.cpp | 198 …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/ |
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
|
/external/skia/modules/skottie/src/text/ |
D | TextAdapter.cpp | 133 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()
|
D | SkottieShaper.h | 30 float fAdvance, member
|
D | TextAnimator.h | 73 float fAdvance, // cumulative advance for all fragments in span member
|
D | TextAdapter.h | 63 float fAdvance, // used for transform anchor point calculations member
|
/external/skqp/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 403 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/ |
D | SkTestSVGTypeface.h | 43 SkScalar fAdvance; member 135 SkScalar fAdvance; member
|
/external/skia/tools/fonts/ |
D | TestSVGTypeface.h | 46 SkScalar fAdvance; member 133 SkScalar fAdvance; member
|
/external/skqp/modules/skshaper/include/ |
D | SkShaper.h | 36 SkVector fAdvance; member
|
/external/skqp/include/effects/ |
D | Sk1DPathEffect.h | 70 SkScalar fAdvance; // copied from constructor
|
/external/skia/include/effects/ |
D | Sk1DPathEffect.h | 73 SkScalar fAdvance; // copied from constructor
|