Lines Matching refs:reverse
24 IntervalIterator(const SkGradientShaderBase& shader, SkColorSpace* dstCS, bool reverse) in IntervalIterator() argument
27 , fFirstPos(reverse ? SK_Scalar1 : 0) in IntervalIterator()
28 , fBegin(reverse ? shader.fColorCount - 1 : 0) in IntervalIterator()
29 , fAdvance(reverse ? -1 : 1) { in IntervalIterator()
104 bool premulColors, bool reverse, in addMirrorIntervals() argument
106 const IntervalIterator iter(shader, dstCS, reverse); in addMirrorIntervals()
145 SkScalar alpha, bool reverse) { in init() argument
196 const int first_index = reverse ? count - 1 : 0; in init()
198 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()
213 const IntervalIterator iter(shader, dstCS, reverse); in init()
225 const SkScalar clamp_pos = reverse ? SK_ScalarNegativeInfinity : SK_ScalarInfinity; in init()
228 } else if (tileMode == SkShader::kMirror_TileMode && !reverse) { in init()