Lines Matching defs:intervals
19 SkDashImpl::SkDashImpl(const SkScalar intervals[], int count, SkScalar phase)
24 SkASSERT(intervals);
30 fIntervals[i] = intervals[i];
174 // intervals as long as all the ons match and all the offs match.
176 // We cannot allow arbitrary intervals since we want the returned points
384 SkAutoSTArray<32, SkScalar> intervals(count);
385 if (buffer.readScalarArray(intervals.get(), count)) {
386 return SkDashPathEffect::Make(intervals.get(), SkToInt(count), phase);
393 sk_sp<SkPathEffect> SkDashPathEffect::Make(const SkScalar intervals[], int count, SkScalar phase) {
394 if (!SkDashPath::ValidDashPath(phase, intervals, count)) {
397 return sk_sp<SkPathEffect>(new SkDashImpl(intervals, count, phase));