Home
last modified time | relevance | path

Searched refs:fRadius2 (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp100 , fRadius2(endRadius) in SkTwoPointConicalGradient()
104 SkASSERT(fCenter1 != fCenter2 || fRadius1 != fRadius2); in SkTwoPointConicalGradient()
124 info->fRadius[1] = fRadius2; in asAGradient()
153 buffer.writeScalar(fRadius2); in flatten()
158 const auto dRadius = fRadius2 - fRadius1; in appendGradientStages()
164 auto scale = std::max(fRadius1, fRadius2) / dRadius; in appendGradientStages()
223 float denom = 1.0f / (fRadius2 - fRadius1), in transformT()
224 scale = std::max(fRadius1, fRadius2) * denom, in transformT()
DSkTwoPointConicalGradient.h58 SkScalar getDiffRadius() const { return fRadius2 - fRadius1; } in getDiffRadius()
61 SkScalar getEndRadius() const { return fRadius2; } in getEndRadius()
85 SkScalar fRadius2; variable
/third_party/flutter/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp100 , fRadius2(endRadius) in SkTwoPointConicalGradient()
104 SkASSERT(fCenter1 != fCenter2 || fRadius1 != fRadius2); in SkTwoPointConicalGradient()
124 info->fRadius[1] = fRadius2; in asAGradient()
177 buffer.writeScalar(fRadius2); in flatten()
182 const auto dRadius = fRadius2 - fRadius1; in appendGradientStages()
188 auto scale = SkTMax(fRadius1, fRadius2) / dRadius; in appendGradientStages()
DSkTwoPointConicalGradient.h58 SkScalar getDiffRadius() const { return fRadius2 - fRadius1; } in getDiffRadius()
61 SkScalar getEndRadius() const { return fRadius2; } in getEndRadius()
82 SkScalar fRadius2; variable