/third_party/flutter/skia/src/pdf/ |
D | SkPDFMakeCIDGlyphWidthsArray.cpp | 35 std::vector<int16_t> fAdvance; member 64 if (SkToInt(range->fAdvance.size()) < expectedAdvanceCount) { in strip_uninteresting_trailing_advances_from_range() 69 if (range->fAdvance[i] != kDontCareAdvance && in strip_uninteresting_trailing_advances_from_range() 70 range->fAdvance[i] != kInvalidAdvance && in strip_uninteresting_trailing_advances_from_range() 71 range->fAdvance[i] != 0) { in strip_uninteresting_trailing_advances_from_range() 83 SkASSERT(SkToInt(range->fAdvance.size()) == range->fEndId - range->fStartId + 1); in zero_wildcards_in_range() 86 for (size_t i = 0; i < range->fAdvance.size(); ++i) { in zero_wildcards_in_range() 87 if (range->fAdvance[i] == kDontCareAdvance) { in zero_wildcards_in_range() 88 range->fAdvance[i] = 0; in zero_wildcards_in_range() 109 SkASSERT(range->fAdvance.size() >= newLength); in finish_range() [all …]
|
/third_party/flutter/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 __anon7cdcecdf0111::IntervalIterator
|
/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 __anon026444ea0111::IntervalIterator
|
/third_party/flutter/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 471 SkVector fAdvance; member 482 , fGlyphs(std::move(glyphs)), fNumGlyphs(numGlyphs), fAdvance(advance) 490 SkVector fAdvance; member 494 SkVector fAdvance = { 0, 0 }; member 525 advance += glyph.fAdvance; in append() 549 run.fAdvance, in emit() 563 run.fAdvance, in emit() 851 advance += model.fGlyphs[i].fAdvance; in wrap() 855 modelText[utf8runLength].advance = model.fAdvance; in wrap() 884 SkScalar widthLeft = width - line.fAdvance.fX; in wrap() [all …]
|
/third_party/skia/modules/skshaper/src/ |
D | SkShaper_harfbuzz.cpp | 496 SkVector fAdvance; member 507 , fGlyphs(std::move(glyphs)), fNumGlyphs(numGlyphs), fAdvance(advance) 515 SkVector fAdvance; member 519 SkVector fAdvance = { 0, 0 }; member 550 advance += glyph.fAdvance; in append() 574 run.fAdvance, in emit() 588 run.fAdvance, in emit() 908 advance += model.fGlyphs[i].fAdvance; in wrap() 912 modelText[utf8runLength].advance = model.fAdvance; in wrap() 929 SkScalar widthLeft = width - line.fAdvance.fX; in wrap() [all …]
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | TextLine.h | 42 SkScalar height() const { return fAdvance.fY; } in height() 44 return fAdvance.fX + (fEllipsis != nullptr ? fEllipsis->fAdvance.fX : 0); in width() 117 SkVector fAdvance; // Text size variable
|
D | Run.h | 61 void setWidth(SkScalar width) { fAdvance.fX = width; } in setWidth() 62 void setHeight(SkScalar height) { fAdvance.fY = height; } in setHeight() 68 return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent); in advance() 110 return SkRect::MakeXYWH(fOffset.fX, fOffset.fY, fAdvance.fX, fAdvance.fY); in clip() 162 SkVector fAdvance; variable
|
D | Run.cpp | 31 fAdvance = info.fAdvance; in Run() 42 fPositions[info.glyphCount] = fOffset + fAdvance; in Run() 167 fAdvance.fX += space; in addSpacesAtTheEnd() 187 fAdvance.fX += shift; in addSpacesEvenly()
|
D | TextLine.cpp | 50 , fAdvance(advance) in TextLine() 420 auto ghostShift = maxWidth - this->fAdvance.fX; in justify() 449 this->fAdvance.fX = maxWidth; in justify() 456 SkScalar width = fAdvance.fX; in createEllipsis() 481 fAdvance.fX = width; in createEllipsis() 508 fRun->fAdvance.fX = info.fAdvance.fX; in shapeEllipsis() 509 fRun->fAdvance.fY = fRun->advance().fY; in shapeEllipsis() 681 if (clip.fRight > fAdvance.fX) { in iterateThroughRuns() 682 clip.fRight = fAdvance.fX; in iterateThroughRuns()
|
D | ParagraphImpl.cpp | 326 , fAdvance(SkVector::Make(0, 0)) {} in shapeTextIntoEndlessLine() 328 SkVector advance() const { return fAdvance; } in shapeTextIntoEndlessLine() 342 fAdvance.fX); in shapeTextIntoEndlessLine() 353 fAdvance.fX += run.advance().fX; in shapeTextIntoEndlessLine() 354 fAdvance.fY = SkMaxScalar(fAdvance.fY, run.advance().fY); in shapeTextIntoEndlessLine() 361 SkVector fAdvance; in shapeTextIntoEndlessLine() member in skia::textlayout::ParagraphImpl::shapeTextIntoEndlessLine::ShapeHandler
|
/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/flutter/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()
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.h | 69 SkScalar height() const { return fAdvance.fY; } in height() 71 return fAdvance.fX + (fEllipsis != nullptr ? fEllipsis->fAdvance.fX : 0); in width() 145 SkVector fAdvance; // Text size variable
|
D | Run.cpp | 35 fAdvance = info.fAdvance; in Run() 50 fPositions[info.glyphCount] = fOffset + fAdvance; in Run() 155 fAdvance.fX += space; in addSpacesAtTheEnd() 175 fAdvance.fX += shift; in addSpacesEvenly()
|
D | OneLineShaper.h | 23 , fAdvance(SkPoint::Make(0.0f, 0.0f)) in OneLineShaper() 89 fAdvance.fX); in runBuffer() 110 SkVector fAdvance; variable
|
D | TextLine.cpp | 100 , fAdvance(advance) in TextLine() 310 fAdvance.fY += delta; in metricsWithoutMultiplier() 451 auto ghostShift = maxWidth - this->fAdvance.fX; in justify() 481 this->fAdvance.fX = maxWidth; in justify() 509 SkScalar width = fAdvance.fX; in createEllipsis() 526 fAdvance.fX = width; in createEllipsis() 564 fRun->fAdvance.fX = info.fAdvance.fX; in shapeEllipsis() 565 fRun->fAdvance.fY = fRun->advance().fY; in shapeEllipsis() 700 if (compareRound(result.clip.fRight, fAdvance.fX) > 0 && !includeGhostSpaces) { in measureTextInsideOneRun() 706 result.fExcludedTrailingSpaces = std::max(result.clip.fRight - fAdvance.fX, 0.0f); in measureTextInsideOneRun() [all …]
|
D | Run.h | 79 void setWidth(SkScalar width) { fAdvance.fX = width; } in setWidth() 80 void setHeight(SkScalar height) { fAdvance.fY = height; } in setHeight() 86 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance() 120 return SkRect::MakeXYWH(fOffset.fX, fOffset.fY, fAdvance.fX, fAdvance.fY); in clip() 183 SkVector fAdvance; variable
|
D | OneLineShaper.cpp | 199 …uto runAdvance = SkVector::Make(run->posX(glyphs.end) - run->posX(glyphs.start), run->fAdvance.fY); in finish() 234 fAdvance.fX += runAdvance.fX; in finish() 235 fAdvance.fY = std::max(fAdvance.fY, runAdvance.fY); in finish() 238 advanceX = fAdvance.fX; in finish() 649 fAdvance = SkVector::Make(advanceX, 0); in shape()
|
/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
|
/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()
|
/third_party/flutter/skia/tools/fonts/ |
D | TestSVGTypeface.h | 46 SkScalar fAdvance; member 132 SkScalar fAdvance; member
|
/third_party/skia/tools/fonts/ |
D | TestSVGTypeface.h | 48 SkScalar fAdvance; member 137 SkScalar fAdvance; member
|