Home
last modified time | relevance | path

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

/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/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/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 __anone3d9ae9a0111::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 __anona6018f510111::IntervalIterator
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp657 SkVector fAdvance; member
676 SkVector fAdvance = { 0, 0 }; member
680 SkVector fAdvance = { 0, 0 }; member
704 p->fX += glyph.fAdvance.fX; in append()
705 p->fY += glyph.fAdvance.fY; in append()
740 run.fAdvance, in emit()
992 advance += model.fGlyphs[i].fAdvance; in shapeCorrect()
996 modelText[utf8runLength].advance = model.fAdvance; in shapeCorrect()
1022 best.fAdvance = { SK_ScalarNegativeInfinity, SK_ScalarNegativeInfinity }; in shapeCorrect()
1023 SkScalar widthLeft = width - line.fAdvance.fX; in shapeCorrect()
[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.cpp63 fAdvance = advance; in SkPath1DPathEffect()
166 buffer.writeScalar(fAdvance); in flatten()
176 return fAdvance; in next()
199 return fAdvance; in next()
/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
DSkTestSVGTypeface.cpp67 fGlyphs[i].fAdvance = datum.fAdvance; in SkTestSVGTypeface()
88 SkTestSVGTypeface::Glyph::Glyph() : fOrigin{0,0}, fAdvance(0) {} in Glyph()
95 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance()
538 out->writeDecAsText(fGlyphs[i].fAdvance); in exportTtxCommon()
555 out->writeDecAsText(fGlyphs[i].fAdvance); in exportTtxCommon()
/external/skia/tools/fonts/
DSkTestSVGTypeface.h43 SkScalar fAdvance; member
135 SkScalar fAdvance; member
DSkTestSVGTypeface.cpp67 fGlyphs[i].fAdvance = datum.fAdvance; in SkTestSVGTypeface()
88 SkTestSVGTypeface::Glyph::Glyph() : fOrigin{0,0}, fAdvance(0) {} in Glyph()
95 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance()
536 out->writeDecAsText(fGlyphs[i].fAdvance); in exportTtxCommon()
553 out->writeDecAsText(fGlyphs[i].fAdvance); in exportTtxCommon()
/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.h70 SkScalar fAdvance; // copied from constructor
/external/skia/modules/skshaper/include/
DSkShaper.h43 SkVector fAdvance; member
/external/skia/modules/skottie/src/
DSkottieAdapter.cpp369 fPendingLineAdvance += info.fAdvance; in makeBlob()
/external/skqp/src/core/
DSkPath.cpp954 , fAdvance(dir == SkPath::kCW_Direction ? 1 : N - 1) { } in PointIterator()
962 fCurrent = (fCurrent + fAdvance) % N; in next()
971 unsigned fAdvance; member in __anon3027beea0111::PointIterator
/external/skia/src/core/
DSkPath.cpp954 , fAdvance(dir == SkPath::kCW_Direction ? 1 : N - 1) { } in PointIterator()
962 fCurrent = (fCurrent + fAdvance) % N; in next()
971 unsigned fAdvance; member in __anondb02bc530111::PointIterator