Home
last modified time | relevance | path

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

/external/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
/external/skqp/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 return SkGradientShader::MakeTwoPointConical(fCenter1, fRadius1, fCenter2, fRadius2, in onMakeColorSpace()
189 const auto dRadius = fRadius2 - fRadius1; in appendGradientStages()
195 auto scale = SkTMax(fRadius1, fRadius2) / dRadius; in appendGradientStages()
DSkTwoPointConicalGradient.h59 SkScalar getDiffRadius() const { return fRadius2 - fRadius1; } in getDiffRadius()
62 SkScalar getEndRadius() const { return fRadius2; } in getEndRadius()
84 SkScalar fRadius2; variable
/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp114 float fRadius2 = corner2->GetRadius(); in GetFillPath() local
194 fillPath->LineTo(CFX_PointF(cp2.x + fRadius2 * nx, cp2.y + fRadius2 * ny)); in GetFillPath()
453 float fRadius2 = bCorner ? corner2->GetRadius() : 0.0f; in GetPath() local
579 path.LineTo(CFX_PointF(cp2.x + fRadius2 * nx + offsetEX, in GetPath()
580 cp2.y + fRadius2 * ny + offsetEY)); in GetPath()