Home | History | Annotate | Download | only in gradients

Lines Matching full:curr

95                 SkFixed curr;
97 curr = SK_Fixed1;
99 curr = SkScalarToFixed(desc.fPos[i]);
101 // pin curr withing range
102 if (curr < 0) {
103 curr = 0;
104 } else if (curr > SK_Fixed1) {
105 curr = SK_Fixed1;
107 recs->fPos = curr;
108 if (curr > prev) {
109 recs->fScale = (1 << 24) / (curr - prev);
114 prev = curr;