Home
last modified time | relevance | path

Searched refs:fSegments (Results 1 – 6 of 6) sorted by relevance

/external/skia/modules/particles/src/
DSkCurve.cpp83 SkASSERT(fSegments.count() == fXValues.count() + 1); in eval()
106 return fSegments[i].eval(segmentX, t, negate); in eval()
112 v->visit("Segments", fSegments); in visitFields()
115 if (fSegments.empty()) { in visitFields()
116 fSegments.push_back().setConstant(0.0f); in visitFields()
118 fXValues.resize_back(fSegments.count() - 1); in visitFields()
156 SkASSERT(fSegments.count() == fXValues.count() + 1); in eval()
174 return fSegments[i].eval(segmentX, ps.fRandom.nextF()); in eval()
180 v->visit("Segments", fSegments); in visitFields()
183 if (fSegments.empty()) { in visitFields()
[all …]
/external/skia/modules/particles/include/
DSkCurve.h72 fSegments.push_back().setConstant(c);
83 SkTArray<SkCurveSegment, true> fSegments; member
118 fSegments.push_back().setConstant(c);
126 SkTArray<SkColorCurveSegment, true> fSegments; member
/external/skqp/src/core/
DSkPathMeasure.cpp249 Segment* seg = fSegments.append(); in compute_quad_segs()
278 Segment* seg = fSegments.append(); in compute_conic_segs()
305 Segment* seg = fSegments.append(); in compute_cubic_segs()
330 fSegments.reset(); in buildSegments()
353 seg = fSegments.append(); in buildSegments()
369 Segment* seg = fSegments.append(); in buildSegments()
431 const Segment* seg = fSegments.begin(); in buildSegments()
432 const Segment* stop = fSegments.end(); in buildSegments()
529 fSegments.reset(); in setPath()
539 fSegments.reset(); // may contain inf or NaN, which will fail later in getLength()
[all …]
/external/skia/src/core/
DSkContourMeasure.cpp185 SkContourMeasure::Segment* seg = fSegments.append(); in compute_quad_segs()
213 SkContourMeasure::Segment* seg = fSegments.append(); in compute_conic_segs()
238 SkContourMeasure::Segment* seg = fSegments.append(); in compute_cubic_segs()
256 SkContourMeasure::Segment* seg = fSegments.append(); in compute_line_seg()
280 fSegments.reset(); in buildSegments()
356 if (fSegments.count() == 0) { in buildSegments()
372 const SkContourMeasure::Segment* seg = fSegments.begin(); in buildSegments()
373 const SkContourMeasure::Segment* stop = fSegments.end(); in buildSegments()
398 return new SkContourMeasure(std::move(fSegments), std::move(fPts), distance, haveSeenClose); in buildSegments()
467 fSegments.reset(); in reset()
[all …]
/external/skia/include/core/
DSkContourMeasure.h77 const SkTDArray<Segment> fSegments; variable
130 SkTDArray<SkContourMeasure::Segment> fSegments; variable
/external/skqp/include/core/
DSkPathMeasure.h106 SkTDArray<Segment> fSegments; variable