Lines Matching refs:ellipse

534  * ellipse, specified as a 2D offset from center, and the reciprocals of the outer and inner radii,
633 // For stroked ellipses, we use the full ellipse equation (x^2/a^2 + y^2/b^2 = 1)
638 // ellipse size.
734 * The output of this effect is a modulation of the input color and coverage for an ellipse,
1859 const SkRect& ellipse,
1863 params.fCenter = SkPoint::Make(ellipse.centerX(), ellipse.centerY());
1865 SkScalar ellipseXRadius = SkScalarHalf(ellipse.width());
1866 SkScalar ellipseYRadius = SkScalarHalf(ellipse.height());
1901 // we don't handle it if curvature of the stroke is less than curvature of the ellipse
2024 // On MSAA, bloat enough to guarantee any pixel that might be touched by the ellipse has
2028 for (const auto& ellipse : fEllipses) {
2029 GrVertexColor color(ellipse.fColor, fWideColor);
2030 SkScalar xRadius = ellipse.fXRadius;
2031 SkScalar yRadius = ellipse.fYRadius;
2037 SkScalarInvert(ellipse.fInnerXRadius),
2038 SkScalarInvert(ellipse.fInnerYRadius)
2045 // computing an ellipse and modifying that distance, so we normalize to 1
2052 ellipse.fDevBounds.makeOutset(aaBloat, aaBloat)),
2152 const SkRect& ellipse,
2155 params.fCenter = SkPoint::Make(ellipse.centerX(), ellipse.centerY());
2156 params.fXRadius = SkScalarHalf(ellipse.width());
2157 params.fYRadius = SkScalarHalf(ellipse.height());
2184 // we don't handle it if curvature of the stroke is less than curvature of the ellipse
2299 for (const auto& ellipse : fEllipses) {
2300 GrVertexColor color(ellipse.fColor, fWideColor);
2301 SkScalar xRadius = ellipse.fXRadius;
2302 SkScalar yRadius = ellipse.fYRadius;
2304 // On MSAA, bloat enough to guarantee any pixel that might be touched by the ellipse has
2307 SkRect drawBounds = ellipse.fBounds.makeOutset(ellipse.fGeoDx * aaBloat,
2308 ellipse.fGeoDy * aaBloat);
2322 innerCoordX = drawBounds.width() / (ellipse.fInnerXRadius * 2);
2323 innerCoordY = drawBounds.height() / (ellipse.fInnerYRadius * 2);
2932 // we don't handle it if curvature of the stroke is less than curvature of the ellipse
3078 // computing an ellipse and modifying that distance, so we normalize to 1.
3232 // The way the effect interpolates the offset-to-ellipse/circle-center attribute only works on
3299 // The way the effect interpolates the offset-to-ellipse/circle-center attribute only works on
3385 // prefer the device space ellipse op for batchability
3505 SkRect ellipse = GrTest::TestSquare(random);
3506 return EllipseOp::Make(context, std::move(paint), viewMatrix, ellipse,
3512 SkRect ellipse = GrTest::TestSquare(random);
3513 return DIEllipseOp::Make(context, std::move(paint), viewMatrix, ellipse,