Lines Matching refs:phase
36 SkScalar phase, Style style) : fPath(path) in SkPath1DPathEffect() argument
41 if (phase < 0) { in SkPath1DPathEffect()
42 phase = -phase; in SkPath1DPathEffect()
43 if (phase > advance) { in SkPath1DPathEffect()
44 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
47 if (phase > advance) { in SkPath1DPathEffect()
48 phase = SkScalarMod(phase, advance); in SkPath1DPathEffect()
50 phase = advance - phase; in SkPath1DPathEffect()
53 if (phase >= advance) { in SkPath1DPathEffect()
54 phase = 0; in SkPath1DPathEffect()
56 SkASSERT(phase >= 0); in SkPath1DPathEffect()
59 fInitialOffset = phase; in SkPath1DPathEffect()
154 SkScalar phase = buffer.readScalar(); in CreateProc() local
156 return SkPath1DPathEffect::Create(path, advance, phase, style); in CreateProc()
207 SkPathEffect* SkPath1DPathEffect::Create(const SkPath& path, SkScalar advance, SkScalar phase, in Create() argument
212 return new SkPath1DPathEffect(path, advance, phase, style); in Create()