Lines Matching refs:Make

621     static std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix,  in Make()  function in CircleOp
886 SkPoint center = SkPoint::Make(bounds.centerX(), bounds.centerY()); in onPrepareDraws()
890 v0->fPos = center + SkPoint::Make(-octOffset * halfWidth, -halfWidth); in onPrepareDraws()
892 v0->fOffset = SkPoint::Make(-octOffset, -1); in onPrepareDraws()
896 v1->fPos = center + SkPoint::Make(octOffset * halfWidth, -halfWidth); in onPrepareDraws()
898 v1->fOffset = SkPoint::Make(octOffset, -1); in onPrepareDraws()
902 v2->fPos = center + SkPoint::Make(halfWidth, -octOffset * halfWidth); in onPrepareDraws()
904 v2->fOffset = SkPoint::Make(1, -octOffset); in onPrepareDraws()
908 v3->fPos = center + SkPoint::Make(halfWidth, octOffset * halfWidth); in onPrepareDraws()
910 v3->fOffset = SkPoint::Make(1, octOffset); in onPrepareDraws()
914 v4->fPos = center + SkPoint::Make(octOffset * halfWidth, halfWidth); in onPrepareDraws()
916 v4->fOffset = SkPoint::Make(octOffset, 1); in onPrepareDraws()
920 v5->fPos = center + SkPoint::Make(-octOffset * halfWidth, halfWidth); in onPrepareDraws()
922 v5->fOffset = SkPoint::Make(-octOffset, 1); in onPrepareDraws()
926 v6->fPos = center + SkPoint::Make(-halfWidth, octOffset * halfWidth); in onPrepareDraws()
928 v6->fOffset = SkPoint::Make(-1, octOffset); in onPrepareDraws()
932 v7->fPos = center + SkPoint::Make(-halfWidth, -octOffset * halfWidth); in onPrepareDraws()
934 v7->fOffset = SkPoint::Make(-1, -octOffset); in onPrepareDraws()
987 v0->fPos = center + SkPoint::Make(-s * r, -c * r); in onPrepareDraws()
989 v0->fOffset = SkPoint::Make(-s * innerRadius, -c * innerRadius); in onPrepareDraws()
993 v1->fPos = center + SkPoint::Make(s * r, -c * r); in onPrepareDraws()
995 v1->fOffset = SkPoint::Make(s * innerRadius, -c * innerRadius); in onPrepareDraws()
999 v2->fPos = center + SkPoint::Make(c * r, -s * r); in onPrepareDraws()
1001 v2->fOffset = SkPoint::Make(c * innerRadius, -s * innerRadius); in onPrepareDraws()
1005 v3->fPos = center + SkPoint::Make(c * r, s * r); in onPrepareDraws()
1007 v3->fOffset = SkPoint::Make(c * innerRadius, s * innerRadius); in onPrepareDraws()
1011 v4->fPos = center + SkPoint::Make(s * r, c * r); in onPrepareDraws()
1013 v4->fOffset = SkPoint::Make(s * innerRadius, c * innerRadius); in onPrepareDraws()
1017 v5->fPos = center + SkPoint::Make(-s * r, c * r); in onPrepareDraws()
1019 v5->fOffset = SkPoint::Make(-s * innerRadius, c * innerRadius); in onPrepareDraws()
1023 v6->fPos = center + SkPoint::Make(-c * r, s * r); in onPrepareDraws()
1025 v6->fOffset = SkPoint::Make(-c * innerRadius, s * innerRadius); in onPrepareDraws()
1029 v7->fPos = center + SkPoint::Make(-c * r, -s * r); in onPrepareDraws()
1031 v7->fOffset = SkPoint::Make(-c * innerRadius, -s * innerRadius); in onPrepareDraws()
1072 v8->fOffset = SkPoint::Make(0, 0); in onPrepareDraws()
1163 static std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, in Make() function in EllipseOp
1168 SkPoint center = SkPoint::Make(ellipse.centerX(), ellipse.centerY()); in Make()
1311 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop); in onPrepareDraws()
1313 verts[0].fOffset = SkPoint::Make(-xMaxOffset, -yMaxOffset); in onPrepareDraws()
1314 verts[0].fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
1315 verts[0].fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
1317 verts[1].fPos = SkPoint::Make(bounds.fLeft, bounds.fBottom); in onPrepareDraws()
1319 verts[1].fOffset = SkPoint::Make(-xMaxOffset, yMaxOffset); in onPrepareDraws()
1320 verts[1].fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
1321 verts[1].fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
1323 verts[2].fPos = SkPoint::Make(bounds.fRight, bounds.fBottom); in onPrepareDraws()
1325 verts[2].fOffset = SkPoint::Make(xMaxOffset, yMaxOffset); in onPrepareDraws()
1326 verts[2].fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
1327 verts[2].fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
1329 verts[3].fPos = SkPoint::Make(bounds.fRight, bounds.fTop); in onPrepareDraws()
1331 verts[3].fOffset = SkPoint::Make(xMaxOffset, -yMaxOffset); in onPrepareDraws()
1332 verts[3].fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
1333 verts[3].fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
1383 static std::unique_ptr<GrMeshDrawOp> Make(GrColor color, in Make() function in DIEllipseOp
1387 SkPoint center = SkPoint::Make(ellipse.centerX(), ellipse.centerY()); in Make()
1517 verts[0].fPos = SkPoint::Make(bounds.fLeft, bounds.fTop); in onPrepareDraws()
1519 verts[0].fOuterOffset = SkPoint::Make(-1.0f - offsetDx, -1.0f - offsetDy); in onPrepareDraws()
1520 verts[0].fInnerOffset = SkPoint::Make(-innerRatioX - offsetDx, -innerRatioY - offsetDy); in onPrepareDraws()
1522 verts[1].fPos = SkPoint::Make(bounds.fLeft, bounds.fBottom); in onPrepareDraws()
1524 verts[1].fOuterOffset = SkPoint::Make(-1.0f - offsetDx, 1.0f + offsetDy); in onPrepareDraws()
1525 verts[1].fInnerOffset = SkPoint::Make(-innerRatioX - offsetDx, innerRatioY + offsetDy); in onPrepareDraws()
1527 verts[2].fPos = SkPoint::Make(bounds.fRight, bounds.fBottom); in onPrepareDraws()
1529 verts[2].fOuterOffset = SkPoint::Make(1.0f + offsetDx, 1.0f + offsetDy); in onPrepareDraws()
1530 verts[2].fInnerOffset = SkPoint::Make(innerRatioX + offsetDx, innerRatioY + offsetDy); in onPrepareDraws()
1532 verts[3].fPos = SkPoint::Make(bounds.fRight, bounds.fTop); in onPrepareDraws()
1534 verts[3].fOuterOffset = SkPoint::Make(1.0f + offsetDx, -1.0f - offsetDy); in onPrepareDraws()
1535 verts[3].fInnerOffset = SkPoint::Make(innerRatioX + offsetDx, -innerRatioY - offsetDy); in onPrepareDraws()
1819 (*verts)->fPos = SkPoint::Make(bounds.fLeft + smInset, bounds.fTop + smInset); in FillInOverstrokeVerts()
1821 (*verts)->fOffset = SkPoint::Make(xOffset, 0); in FillInOverstrokeVerts()
1827 (*verts)->fPos = SkPoint::Make(bounds.fRight - smInset, bounds.fTop + smInset); in FillInOverstrokeVerts()
1829 (*verts)->fOffset = SkPoint::Make(xOffset, 0); in FillInOverstrokeVerts()
1834 (*verts)->fPos = SkPoint::Make(bounds.fLeft + bigInset, bounds.fTop + bigInset); in FillInOverstrokeVerts()
1836 (*verts)->fOffset = SkPoint::Make(0, 0); in FillInOverstrokeVerts()
1841 (*verts)->fPos = SkPoint::Make(bounds.fRight - bigInset, bounds.fTop + bigInset); in FillInOverstrokeVerts()
1843 (*verts)->fOffset = SkPoint::Make(0, 0); in FillInOverstrokeVerts()
1848 (*verts)->fPos = SkPoint::Make(bounds.fLeft + bigInset, bounds.fBottom - bigInset); in FillInOverstrokeVerts()
1850 (*verts)->fOffset = SkPoint::Make(0, 0); in FillInOverstrokeVerts()
1855 (*verts)->fPos = SkPoint::Make(bounds.fRight - bigInset, bounds.fBottom - bigInset); in FillInOverstrokeVerts()
1857 (*verts)->fOffset = SkPoint::Make(0, 0); in FillInOverstrokeVerts()
1863 (*verts)->fPos = SkPoint::Make(bounds.fLeft + smInset, bounds.fBottom - smInset); in FillInOverstrokeVerts()
1865 (*verts)->fOffset = SkPoint::Make(xOffset, 0); in FillInOverstrokeVerts()
1871 (*verts)->fPos = SkPoint::Make(bounds.fRight - smInset, bounds.fBottom - smInset); in FillInOverstrokeVerts()
1873 (*verts)->fOffset = SkPoint::Make(xOffset, 0); in FillInOverstrokeVerts()
1932 verts->fPos = SkPoint::Make(bounds.fLeft, yCoords[i]); in onPrepareDraws()
1934 verts->fOffset = SkPoint::Make(-1, yOuterRadii[i]); in onPrepareDraws()
1939 verts->fPos = SkPoint::Make(bounds.fLeft + outerRadius, yCoords[i]); in onPrepareDraws()
1941 verts->fOffset = SkPoint::Make(0, yOuterRadii[i]); in onPrepareDraws()
1946 verts->fPos = SkPoint::Make(bounds.fRight - outerRadius, yCoords[i]); in onPrepareDraws()
1948 verts->fOffset = SkPoint::Make(0, yOuterRadii[i]); in onPrepareDraws()
1953 verts->fPos = SkPoint::Make(bounds.fRight, yCoords[i]); in onPrepareDraws()
1955 verts->fOffset = SkPoint::Make(1, yOuterRadii[i]); in onPrepareDraws()
2075 static std::unique_ptr<GrMeshDrawOp> Make(GrColor color, const SkMatrix& viewMatrix, in Make() function in EllipticalRRectOp
2220 verts->fPos = SkPoint::Make(bounds.fLeft, yCoords[i]); in onPrepareDraws()
2222 verts->fOffset = SkPoint::Make(xOuterRadius, yOuterOffsets[i]); in onPrepareDraws()
2223 verts->fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
2224 verts->fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
2227 verts->fPos = SkPoint::Make(bounds.fLeft + xOuterRadius, yCoords[i]); in onPrepareDraws()
2229 verts->fOffset = SkPoint::Make(SK_ScalarNearlyZero, yOuterOffsets[i]); in onPrepareDraws()
2230 verts->fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
2231 verts->fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
2234 verts->fPos = SkPoint::Make(bounds.fRight - xOuterRadius, yCoords[i]); in onPrepareDraws()
2236 verts->fOffset = SkPoint::Make(SK_ScalarNearlyZero, yOuterOffsets[i]); in onPrepareDraws()
2237 verts->fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
2238 verts->fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
2241 verts->fPos = SkPoint::Make(bounds.fRight, yCoords[i]); in onPrepareDraws()
2243 verts->fOffset = SkPoint::Make(xOuterRadius, yOuterOffsets[i]); in onPrepareDraws()
2244 verts->fOuterRadii = SkPoint::Make(xRadRecip, yRadRecip); in onPrepareDraws()
2245 verts->fInnerRadii = SkPoint::Make(xInnerRadRecip, yInnerRadRecip); in onPrepareDraws()
2355 return EllipticalRRectOp::Make(color, viewMatrix, bounds, xRadius, yRadius, scaledStroke, in make_rrect_op()
2388 return CircleOp::Make(color, viewMatrix, center, width / 2.f, GrStyle(stroke, nullptr)); in MakeOvalOp()
2393 return EllipseOp::Make(color, viewMatrix, oval, stroke); in MakeOvalOp()
2398 return DIEllipseOp::Make(color, viewMatrix, oval, stroke); in MakeOvalOp()
2423 return CircleOp::Make(color, viewMatrix, center, width / 2.f, style, &arcParams); in MakeArcOp()
2453 std::unique_ptr<GrMeshDrawOp> op = CircleOp::Make(color, viewMatrix, center, radius, in DRAW_OP_TEST_DEFINE()
2465 return EllipseOp::Make(color, viewMatrix, ellipse, GrTest::TestStrokeRec(random)); in DRAW_OP_TEST_DEFINE()
2472 return DIEllipseOp::Make(color, viewMatrix, ellipse, GrTest::TestStrokeRec(random)); in DRAW_OP_TEST_DEFINE()