Lines Matching refs:reverse
31 IntervalIterator(const SkGradientShaderBase& shader, bool reverse) in IntervalIterator() argument
33 , fFirstPos(reverse ? SK_Scalar1 : 0) in IntervalIterator()
34 , fBegin(reverse ? shader.fColorCount - 1 : 0) in IntervalIterator()
35 , fAdvance(reverse ? -1 : 1) { in IntervalIterator()
101 bool premulColors, bool reverse, in addMirrorIntervals() argument
103 const IntervalIterator iter(shader, reverse); in addMirrorIntervals()
142 SkScalar alpha, bool reverse) { in init() argument
193 const int first_index = reverse ? count - 1 : 0; in init()
195 const SkScalar first_pos = reverse ? SK_Scalar1 : 0; in init()
205 const SkScalar clamp_pos = reverse ? SK_ScalarInfinity : SK_ScalarNegativeInfinity; in init()
208 } else if (tileMode == SkShader::kMirror_TileMode && reverse) { in init()
214 const IntervalIterator iter(shader, reverse); in init()
227 const SkScalar clamp_pos = reverse ? SK_ScalarNegativeInfinity : SK_ScalarInfinity; in init()
230 } else if (tileMode == SkShader::kMirror_TileMode && !reverse) { in init()