Lines Matching refs:intervalLength
40 SkScalar* intervalLength, SkScalar* adjustedPhase) { in CalcDashParameters() argument
45 *intervalLength = len; in CalcDashParameters()
98 static bool clip_line(SkPoint pts[2], const SkRect& bounds, SkScalar intervalLength, in clip_line() argument
128 minXY = leftTop - SkScalarMod(leftTop - minXY, intervalLength); in clip_line()
134 maxXY = rightBottom + SkScalarMod(maxXY - rightBottom, intervalLength); in clip_line()
174 const SkRect* cullRect, SkScalar intervalLength, in cull_path() argument
203 if (clip_line(pts, bounds, intervalLength, in cull_path()
204 SkScalarMod(priorLength, intervalLength))) { in cull_path()
217 if (!clip_line(pts, bounds, intervalLength, 0)) { in cull_path()
229 int intervalCount, SkScalar intervalLength) { in init() argument
255 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; in init()
297 SkScalar intervalLength, in InternalFilter() argument
314 if (cull_path(src, *rec, cullRect, intervalLength, &cullPathStorage)) { in InternalFilter()
319 SkScalar endPhase = SkScalarMod(pathLength + initialDashLength, intervalLength); in InternalFilter()
365 lineRec.init(*srcPtr, dst, rec, count >> 1, intervalLength); in InternalFilter()
383 dashCount += length * (count >> 1) / intervalLength; in InternalFilter()
449 SkScalar intervalLength = 0; in FilterDashPath() local
451 &initialDashLength, &initialDashIndex, &intervalLength); in FilterDashPath()
453 initialDashIndex, intervalLength); in FilterDashPath()