Home | History | Annotate | Download | only in effects

Lines Matching refs:advance

40 SkPath1DPathEffect::SkPath1DPathEffect(const SkPath& path, SkScalar advance, 
43 if (advance <= 0 || path.isEmpty())
45 SkDEBUGF(("SkPath1DPathEffect can't use advance <= 0\n"));
55 if (phase > advance)
56 phase = SkScalarMod(phase, advance);
60 if (phase > advance)
61 phase = SkScalarMod(phase, advance);
62 phase = advance - phase;
64 // now catch the edge case where phase == advance (within epsilon)
65 if (phase >= advance)
69 fAdvance = advance;