Lines Matching refs:ellipse
1642 const SkRect& ellipse, in Make() argument
1646 params.fCenter = SkPoint::Make(ellipse.centerX(), ellipse.centerY()); in Make()
1648 SkScalar ellipseXRadius = SkScalarHalf(ellipse.width()); in Make()
1649 SkScalar ellipseYRadius = SkScalarHalf(ellipse.height()); in Make()
1778 for (const auto& ellipse : fEllipses) { in onPrepareDraws() local
1779 GrVertexColor color(ellipse.fColor, fWideColor); in onPrepareDraws()
1780 SkScalar xRadius = ellipse.fXRadius; in onPrepareDraws()
1781 SkScalar yRadius = ellipse.fYRadius; in onPrepareDraws()
1787 SkScalarInvert(ellipse.fInnerXRadius), in onPrepareDraws()
1788 SkScalarInvert(ellipse.fInnerYRadius) in onPrepareDraws()
1801 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fDevBounds), in onPrepareDraws()
1870 const SkRect& ellipse, in Make() argument
1873 params.fCenter = SkPoint::Make(ellipse.centerX(), ellipse.centerY()); in Make()
1874 params.fXRadius = SkScalarHalf(ellipse.width()); in Make()
1875 params.fYRadius = SkScalarHalf(ellipse.height()); in Make()
1995 for (const auto& ellipse : fEllipses) { in onPrepareDraws() local
1996 GrVertexColor color(ellipse.fColor, fWideColor); in onPrepareDraws()
1997 SkScalar xRadius = ellipse.fXRadius; in onPrepareDraws()
1998 SkScalar yRadius = ellipse.fYRadius; in onPrepareDraws()
2001 SkScalar offsetDx = ellipse.fGeoDx / xRadius; in onPrepareDraws()
2002 SkScalar offsetDy = ellipse.fGeoDy / yRadius; in onPrepareDraws()
2010 innerRatioX = xRadius / ellipse.fInnerXRadius; in onPrepareDraws()
2011 innerRatioY = yRadius / ellipse.fInnerYRadius; in onPrepareDraws()
2014 verts.writeQuad(GrVertexWriter::TriStripFromRect(ellipse.fBounds), in onPrepareDraws()
3008 SkRect ellipse = GrTest::TestSquare(random); in GR_DRAW_OP_TEST_DEFINE() local
3009 return EllipseOp::Make(context, std::move(paint), viewMatrix, ellipse, in GR_DRAW_OP_TEST_DEFINE()
3015 SkRect ellipse = GrTest::TestSquare(random); in GR_DRAW_OP_TEST_DEFINE() local
3016 return DIEllipseOp::Make(context, std::move(paint), viewMatrix, ellipse, in GR_DRAW_OP_TEST_DEFINE()