Lines Matching refs:circle

1262         for (const auto& circle : fCircles) {  in onPrepareDraws()  local
1263 SkScalar innerRadius = circle.fInnerRadius; in onPrepareDraws()
1264 SkScalar outerRadius = circle.fOuterRadius; in onPrepareDraws()
1265 GrVertexColor color(circle.fColor, fWideColor); in onPrepareDraws()
1266 const SkRect& bounds = circle.fDevBounds; in onPrepareDraws()
1277 if (!circle.fStroked && fClipPlane && fClipPlaneIsect && in onPrepareDraws()
1278 (circle.fClipPlane[0] * circle.fIsectPlane[0] + in onPrepareDraws()
1279 circle.fClipPlane[1] * circle.fIsectPlane[1]) < 0.0f) { in onPrepareDraws()
1284 geoClipPlane.set(circle.fClipPlane[1] - circle.fIsectPlane[1], in onPrepareDraws()
1285 circle.fIsectPlane[0] - circle.fClipPlane[0]); in onPrepareDraws()
1300 vertices.write(circle.fClipPlane); in onPrepareDraws()
1303 vertices.write(circle.fIsectPlane); in onPrepareDraws()
1306 vertices.write(circle.fUnionPlane); in onPrepareDraws()
1309 vertices.write(circle.fRoundCapCenters); in onPrepareDraws()
1313 if (circle.fStroked) { in onPrepareDraws()
1317 vertices.write(center + kOctagonInner[i] * circle.fInnerRadius, in onPrepareDraws()
1322 vertices.write(circle.fClipPlane); in onPrepareDraws()
1325 vertices.write(circle.fIsectPlane); in onPrepareDraws()
1328 vertices.write(circle.fUnionPlane); in onPrepareDraws()
1331 vertices.write(circle.fRoundCapCenters); in onPrepareDraws()
1338 vertices.write(circle.fClipPlane); in onPrepareDraws()
1341 vertices.write(circle.fIsectPlane); in onPrepareDraws()
1344 vertices.write(circle.fUnionPlane); in onPrepareDraws()
1347 vertices.write(circle.fRoundCapCenters); in onPrepareDraws()
1351 const uint16_t* primIndices = circle_type_to_indices(circle.fStroked); in onPrepareDraws()
1352 const int primIndexCount = circle_type_to_index_count(circle.fStroked); in onPrepareDraws()
1357 currStartVertex += circle_type_to_vert_count(circle.fStroked); in onPrepareDraws()
1591 for (const auto& circle : fCircles) { in onPrepareDraws() local
1595 auto normInnerRadius = circle.fInnerRadius / circle.fOuterRadius; in onPrepareDraws()
1596 const SkRect& bounds = circle.fDevBounds; in onPrepareDraws()
1599 circle.fOnAngle, circle.fTotalAngle, circle.fStartAngle, circle.fPhaseAngle in onPrepareDraws()
1607 GrVertexColor color(circle.fColor, fWideColor); in onPrepareDraws()
1624 circle.fOuterRadius, in onPrepareDraws()
1631 vertices.write(center + kOctagonInner[i] * circle.fInnerRadius, in onPrepareDraws()
1634 circle.fOuterRadius, in onPrepareDraws()
3101 SkRect circle = GrTest::TestSquare(random); in GR_DRAW_OP_TEST_DEFINE() local
3102 SkPoint center = {circle.centerX(), circle.centerY()}; in GR_DRAW_OP_TEST_DEFINE()
3103 SkScalar radius = circle.width() / 2.f; in GR_DRAW_OP_TEST_DEFINE()
3135 SkRect circle = GrTest::TestSquare(random); in GR_DRAW_OP_TEST_DEFINE() local
3136 SkPoint center = {circle.centerX(), circle.centerY()}; in GR_DRAW_OP_TEST_DEFINE()
3137 SkScalar radius = circle.width() / 2.f; in GR_DRAW_OP_TEST_DEFINE()