Home
last modified time | relevance | path

Searched refs:fFlippedGrad (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp22 , fFlippedGrad(flippedGrad) in SkTwoPointConicalGradient()
39 commonAsAGradient(info, fFlippedGrad); in asAGradient()
44 if (fFlippedGrad) { in asAGradient()
97 buffer.writeBool(fFlippedGrad); in flatten()
131 SkPoint center1 = fFlippedGrad ? fCenter2 : fCenter1; in onMakeColorSpace()
132 SkPoint center2 = fFlippedGrad ? fCenter1 : fCenter2; in onMakeColorSpace()
133 SkScalar radius1 = fFlippedGrad ? fRadius2 : fRadius1; in onMakeColorSpace()
134 SkScalar radius2 = fFlippedGrad ? fRadius1 : fRadius2; in onMakeColorSpace()
136 origColors[i] = fFlippedGrad ? fOrigColors[fColorCount - i - 1] : fOrigColors[i]; in onMakeColorSpace()
138 origPos[i] = fFlippedGrad ? 1.0f - fOrigPos[fColorCount - i - 1] : fOrigPos[i]; in onMakeColorSpace()
[all …]
DSkTwoPointConicalGradient.h32 bool isFlippedGrad() const { return fFlippedGrad; } in isFlippedGrad()
54 bool fFlippedGrad; variable