Home | History | Annotate | Download | only in gradients

Lines Matching refs:fx

36 void SkClampRange::initFor1(SkFixed fx) {
38 if (fx <= 0) {
40 } else if (fx < 0xFFFF) {
42 fFx1 = fx;
62 int64_t fx = fx0;
65 int64_t ex = fx + (count - 1) * dx;
68 if ((uint64_t)(fx | ex) <= 0xFFFF) {
74 if (fx <= 0 && ex <= 0) {
79 if (fx >= 0xFFFF && ex >= 0xFFFF) {
97 fx = -fx;
99 ccount = (SK_FixedMax - fx + dx - 1) / dx;
102 fx = -fx;
117 ex = fx + dx * count;
124 fx -= dx;
125 SkTSwap(fx, ex);
130 fCount0 = chop(fx, 0, ex, dx, count);
132 fx += fCount0 * dx;
133 SkASSERT(fx >= 0);
134 SkASSERT(fCount0 == 0 || (fx - dx) < 0);
135 fCount1 = chop(fx, 0xFFFF, ex, dx, count);
140 fx += fCount1 * dx;
141 SkASSERT(fx <= ex);
143 SkASSERT(fx >= 0xFFFF);
145 SkASSERT(fx - dx < 0xFFFF);