Lines Matching refs:fIntervals
19 fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * count);
23 fIntervals[i] = intervals[i];
27 SkDashPath::CalcDashParameters(phase, fIntervals, fCount, &fInitialDashLength,
32 sk_free(fIntervals);
37 return SkDashPath::FilterDashPath(dst, src, rec, cullRect, fIntervals, fCount,
61 !SkScalarNearlyEqual(fIntervals[0], fIntervals[1]) ||
62 !SkScalarIsInt(fIntervals[0]) ||
63 !SkScalarIsInt(fIntervals[1])) {
95 results->fSize.set(SkScalarHalf(fIntervals[0]), SkScalarHalf(rec.getWidth()));
97 results->fSize.set(SkScalarHalf(rec.getWidth()), SkScalarHalf(fIntervals[0]));
118 if (clampedInitialDashLength >= fIntervals[0]) {
123 len2 -= fIntervals[1]; // also skip first space
136 if (len2 < fIntervals[0]) {
166 if (clampedInitialDashLength < fIntervals[0]) {
179 distance += fIntervals[1]; // skip over the next blank block too
186 distance += SkScalarHalf(fIntervals[0]);
199 distance -= SkScalarHalf(fIntervals[0]);
206 SkASSERT(temp < fIntervals[0]);
229 if (info->fCount >= fCount && NULL != info->fIntervals) {
230 memcpy(info->fIntervals, fIntervals, fCount * sizeof(SkScalar));
245 buffer.writeScalarArray(fIntervals, fCount);
266 fIntervals = (SkScalar*)sk_malloc_throw(allocSize);
267 buffer.readScalarArray(fIntervals, fCount);
269 fIntervals = NULL;
276 fPhase += fIntervals[i];
278 fPhase += fIntervals[fInitialDashIndex] - fInitialDashLength;
283 SkDashPath::CalcDashParameters(fPhase, fIntervals, fCount, &fInitialDashLength,