Lines Matching refs:fx
48 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
49 matrix->postTranslate(-pts[0].fX, -pts[0].fY);
95 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
97 fx += dx; \
104 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
111 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx,
118 unsigned fullIndex = proc(fx);
134 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
139 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
150 fx = range.fFx1;
171 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx,
176 unsigned fi = mirror_8bits(fx >> 8);
178 fx += dx;
184 void shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx,
189 unsigned fi = repeat_8bits(fx >> 8);
191 fx += dx;
212 SkFixed dx, fx = SkScalarToFixed(srcPt.fX);
233 (*shadeProc)(proc, dx, fx, dstC, cache, toggle, count);
239 unsigned fi = proc(SkScalarToFixed(srcPt.fX));
290 unsigned fi = fx >> SkGradientShaderBase::kCache16Shift; \
292 fx += dx; \
299 typedef void (*LinearShade16Proc)(TileProc proc, SkFixed dx, SkFixed fx,
303 void shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx,
308 unsigned fi = proc(fx) >> SkGradientShaderBase::kCache16Shift;
314 void shadeSpan16_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
319 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
330 fx = range.fFx1;
351 void shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx,
356 unsigned fi = mirror_bits(fx >> SkGradientShaderBase::kCache16Shift,
359 fx += dx;
365 void shadeSpan16_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx,
370 unsigned fi = repeat_bits(fx >> SkGradientShaderBase::kCache16Shift,
373 fx += dx;
393 SkFixed dx, fx = SkScalarToFixed(srcPt.fX);
414 (*shadeProc)(proc, dx, fx, dstC, cache, toggle, count);
420 unsigned fi = proc(SkScalarToFixed(srcPt.fX));
559 str->appendf("start: (%f, %f)", fStart.fX, fStart.fY);
560 str->appendf(" end: (%f, %f) ", fEnd.fX, fEnd.fY);