Home | History | Annotate | Download | only in gradients

Lines Matching defs:prevPos

49         SkScalar prevPos = fFirstPos;
56 if (currPos != prevPos) {
57 SkASSERT((currPos - prevPos > 0) == (fAdvance > 0));
58 func(colors[prev], colors[curr], prevPos, currPos);
62 prevPos = currPos;
76 SkScalar prevPos = fFirstPos;
82 const SkScalar currPos = prevPos + dt;
83 func(colors[prev], colors[curr], prevPos, currPos);
85 prevPos = currPos;
89 func(colors[prev], colors[prev + fAdvance], prevPos, 1 - fFirstPos);