Home
last modified time | relevance | path

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

/external/pdfium/xfa/fxfa/parser/
Dcxfa_rectangle.cpp115 float fRadius1 = corner1->GetRadius(); in GetFillPath() local
170 fillPath->MoveTo(CFX_PointF(cp1.x, cp1.y + fRadius1)); in GetFillPath()
173 if (fRadius1 < 0) in GetFillPath()
178 CFX_RectF rtRadius(cp1.x, cp1.y, fRadius1 * 2 * vx, fRadius1 * 2 * vy); in GetFillPath()
181 rtRadius.Offset(-fRadius1 * vx, -fRadius1 * vy); in GetFillPath()
187 cp.x = cp1.x + fRadius1 * vx; in GetFillPath()
188 cp.y = cp1.y + fRadius1 * vy; in GetFillPath()
194 CFX_PointF(cp1.x + fRadius1 * sx, cp1.y + fRadius1 * sy)); in GetFillPath()
453 float fRadius1 = bCorner ? corner1->GetRadius() : 0.0f; in GetPath() local
502 cpStart.y = cp1.y + fRadius1, offsetY = -halfAfter; in GetPath()
[all …]
/external/skqp/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp99 , fRadius1(startRadius) in SkTwoPointConicalGradient()
104 SkASSERT(fCenter1 != fCenter2 || fRadius1 != fRadius2); in SkTwoPointConicalGradient()
123 info->fRadius[0] = fRadius1; in asAGradient()
176 buffer.writeScalar(fRadius1); 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()
196 auto bias = -fRadius1 / dRadius; in appendGradientStages()
205 SkScalar scaledR0 = fRadius1 / this->getCenterX1(); in appendGradientStages()
DSkTwoPointConicalGradient.h58 SkScalar getStartRadius() const { return fRadius1; } in getStartRadius()
59 SkScalar getDiffRadius() const { return fRadius2 - fRadius1; } in getDiffRadius()
83 SkScalar fRadius1; variable
/external/skia/src/shaders/gradients/
DSkTwoPointConicalGradient.cpp99 , fRadius1(startRadius) in SkTwoPointConicalGradient()
104 SkASSERT(fCenter1 != fCenter2 || fRadius1 != fRadius2); in SkTwoPointConicalGradient()
123 info->fRadius[0] = fRadius1; in asAGradient()
176 buffer.writeScalar(fRadius1); 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()
196 auto bias = -fRadius1 / dRadius; in appendGradientStages()
205 SkScalar scaledR0 = fRadius1 / this->getCenterX1(); in appendGradientStages()
DSkTwoPointConicalGradient.h58 SkScalar getStartRadius() const { return fRadius1; } in getStartRadius()
59 SkScalar getDiffRadius() const { return fRadius2 - fRadius1; } in getDiffRadius()
83 SkScalar fRadius1; variable