Lines Matching refs:fx
53 SkScalar pinFx<SkShader::kClamp_TileMode>(SkScalar fx) { in pinFx() argument
54 return fx; in pinFx()
58 SkScalar pinFx<SkShader::kRepeat_TileMode>(SkScalar fx) { in pinFx() argument
59 SkScalar f = SkScalarIsFinite(fx) ? SkScalarFraction(fx) : 0; in pinFx()
69 SkScalar pinFx<SkShader::kMirror_TileMode>(SkScalar fx) { in pinFx() argument
70 SkScalar f = SkScalarIsFinite(fx) ? SkScalarMod(fx, 2.0f) : 0; in pinFx()
105 SkLinearGradient::LinearGradient4fContext::findInterval(SkScalar fx) const { in findInterval()
106 SkASSERT(in_range(fx, fIntervals->front().fT0, fIntervals->back().fT1)); in findInterval()
113 while (!in_range(fx, fCachedInterval->fT0, fCachedInterval->fT1)) { in findInterval()
129 SkASSERT(in_range(fx, i0->fT0, i1->fT1)); in findInterval()
133 if (in_range(fx, i0->fT0, i->fT1)) { in findInterval()
136 SkASSERT(in_range(fx, i->fT1, i1->fT1)); in findInterval()
141 SkASSERT(in_range(fx, i0->fT0, i0->fT1)); in findInterval()
216 const SkScalar fx = pinFx<tileMode>(pt.x()); in shadeSpanInternal() local
220 this->findInterval(fx), in shadeSpanInternal()
221 fx, in shadeSpanInternal()
264 SkScalar fx, in LinearIntervalProcessor() argument
267 : fAdvX(is_vertical ? SK_ScalarInfinity : (i->fT1 - fx) / dx) in LinearIntervalProcessor()
292 this->compute_interval_props(fx); in LinearIntervalProcessor()