Home | History | Annotate | Download | only in gradients

Lines Matching refs:fx

49     matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY);
50 matrix->postTranslate(-pts[0].fX, -pts[0].fY);
96 unsigned fi = fx >> SkGradientShaderBase::kCache32Shift; \
98 fx += dx; \
105 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
112 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx,
119 unsigned fullIndex = proc(fx);
135 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
140 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
151 fx = range.fFx1;
172 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx,
177 unsigned fi = mirror_8bits(fx >> 8);
179 fx += dx;
185 void shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx,
190 unsigned fi = repeat_8bits(fx >> 8);
192 fx += dx;
213 SkFixed dx, fx = SkScalarToFixed(srcPt.fX);
234 (*shadeProc)(proc, dx, fx, dstC, cache, toggle, count);
240 unsigned fi = proc(SkScalarToFixed(srcPt.fX));
291 unsigned fi = fx >> SkGradientShaderBase::kCache16Shift; \
293 fx += dx; \
300 typedef void (*LinearShade16Proc)(TileProc proc, SkFixed dx, SkFixed fx,
304 void shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx,
309 unsigned fi = proc(fx) >> SkGradientShaderBase::kCache16Shift;
315 void shadeSpan16_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx,
320 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
331 fx = range.fFx1;
352 void shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx,
357 unsigned fi = mirror_bits(fx >> SkGradientShaderBase::kCache16Shift,
360 fx += dx;
366 void shadeSpan16_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx,
371 unsigned fi = repeat_bits(fx >> SkGradientShaderBase::kCache16Shift,
374 fx += dx;
394 SkFixed dx, fx = SkScalarToFixed(srcPt.fX);
415 (*shadeProc)(proc, dx, fx, dstC, cache, toggle, count);
421 unsigned fi = proc(SkScalarToFixed(srcPt.fX));
561 str->appendf("start: (%f, %f)", fStart.fX, fStart.fY);
562 str->appendf(" end: (%f, %f) ", fEnd.fX, fEnd.fY);