Home
last modified time | relevance | path

Searched refs:cubicTo (Results 1 – 25 of 66) sorted by relevance

123

/external/skia/tests/
DPathOpsIssue3651.cpp16 path.cubicTo(SkBits2Float(0x431e3333), SkBits2Float(0x42823333), SkBits2Float(0x431ee666), SkBits2F… in path1()
17 path.cubicTo(SkBits2Float(0x43204ccd), SkBits2Float(0x42822fd9), SkBits2Float(0x43210000), SkBits2F… in path1()
18 path.cubicTo(SkBits2Float(0x43226666), SkBits2Float(0x428215ce), SkBits2Float(0x4323199a), SkBits2F… in path1()
19 path.cubicTo(SkBits2Float(0x43248000), SkBits2Float(0x4281efd8), SkBits2Float(0x43253333), SkBits2F… in path1()
20 path.cubicTo(SkBits2Float(0x4326999a), SkBits2Float(0x4281ce2c), SkBits2Float(0x43274ccd), SkBits2F… in path1()
21 path.cubicTo(SkBits2Float(0x4328b333), SkBits2Float(0x4281b039), SkBits2Float(0x43296666), SkBits2F… in path1()
22 path.cubicTo(SkBits2Float(0x432acccd), SkBits2Float(0x4281a54c), SkBits2Float(0x432b8000), SkBits2F… in path1()
23 path.cubicTo(SkBits2Float(0x432ce666), SkBits2Float(0x4281bbfe), SkBits2Float(0x432d999a), SkBits2F… in path1()
24 path.cubicTo(SkBits2Float(0x432f0000), SkBits2Float(0x4281d4c4), SkBits2Float(0x432fb333), SkBits2F… in path1()
25 path.cubicTo(SkBits2Float(0x4331199a), SkBits2Float(0x4281e688), SkBits2Float(0x4331cccd), SkBits2F… in path1()
[all …]
DPathOpsSkpTest.cpp23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f); in skpcheeseandburger_com225()
24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f); in skpcheeseandburger_com225()
25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f); in skpcheeseandburger_com225()
26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f); in skpcheeseandburger_com225()
27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f); in skpcheeseandburger_com225()
28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f); in skpcheeseandburger_com225()
29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f); in skpcheeseandburger_com225()
30 pathB.cubicTo(858.345276f, 421.770355f, 857.317017f, 419.733856f, 857.317017f, 417.98587f); in skpcheeseandburger_com225()
31 pathB.cubicTo(857.317017f, 417.198212f, 857.942993f, 415.930389f, 857.942993f, 415.930389f); in skpcheeseandburger_com225()
32 pathB.cubicTo(857.942993f, 415.930389f, 852.106018f, 421.296173f, 852.279663f, 422.549042f); in skpcheeseandburger_com225()
[all …]
DPathOpsBattles.cpp18 path1.cubicTo(32.8673f, -83, 62.6386f, -63.6055f, 75.9208f, -33.5416f); in issue414409()
19 path1.cubicTo(89.2029f, -3.47759f, 83.4937f, 31.5921f, 61.3615f, 55.8907f); in issue414409()
22 path1.cubicTo(37.7451f, 46.8689f, 41.2438f, 43.8216f, 44.3577f, 40.4029f); in issue414409()
24 path1.cubicTo(60.3569f, 22.8376f, 64.4841f, -2.51392f, 54.8825f, -24.2469f); in issue414409()
25 path1.cubicTo(45.2809f, -45.9799f, 23.7595f, -60, 9.53595e-07f, -60); in issue414409()
30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f); in issue414409()
31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f); in issue414409()
32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83); in issue414409()
34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f); in issue414409()
35 path2.cubicTo(-65.0855f, 5.39842f, -56.7312f, 32.355f, -36.1432f, 47.8923f); in issue414409()
[all …]
DPathOpsOpTest.cpp36 path.cubicTo(0,2, 1,0, 1,0); in cubicOp1d()
40 pathB.cubicTo(0,1, 1,0, 2,0); in cubicOp1d()
49 path.cubicTo(0,1, 1,0, 1,0); in cubicOp2d()
53 pathB.cubicTo(0,1, 2,0, 1,0); in cubicOp2d()
62 path.cubicTo(2,3, 1,0, 1,0); in cubicOp3d()
66 pathB.cubicTo(0,1, 1,0, 3,2); in cubicOp3d()
75 path.cubicTo(0,2, 1,0, 2,0); in cubicOp5d()
79 pathB.cubicTo(0,2, 1,0, 2,0); in cubicOp5d()
88 path.cubicTo(0,6, 1,0, 3,0); in cubicOp6d()
92 pathB.cubicTo(0,3, 1,0, 6,0); in cubicOp6d()
[all …]
DPathOpsSimplifyFailTest.cpp50 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break; in failOne()
51 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break; in failOne()
52 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break; in failOne()
53 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break; in failOne()
54 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break; in failOne()
55 case 9: path.cubicTo(finitePts[f], nonFinitePts[i], nonFinitePts[i]); break; in failOne()
56 case 10: path.cubicTo(nonFinitePts[i], nonFinitePts[i], nonFinitePts[i]); break; in failOne()
57 case 11: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[g]); break; in failOne()
78 case 4: path.cubicTo(finitePts[f], finitePts[f], finitePts[f]); break; in dontFailOne()
79 case 5: path.cubicTo(finitePts[f], finitePts[f], finitePts[g]); break; in dontFailOne()
[all …]
DPathTest.cpp71 path->cubicTo(3.747501373f, 3.88774991f, 3.635501385f, 4.0f, 3.497501373f, 4.0f); in make_path_crbug364224()
73 path->cubicTo(0.6095013618f, 4.0f, 0.4975013733f, 3.88774991f, 0.4975013733f, 3.75f); in make_path_crbug364224()
75 path->cubicTo(0.4975013733f, 0.8622499704f, 0.6095013618f, 0.75f, 0.7475013733f,0.75f); in make_path_crbug364224()
77 path->cubicTo(3.50275135f, 0.75f, 3.5070014f, 0.7527500391f, 3.513001442f, 0.753000021f); in make_path_crbug364224()
79 …path->cubicTo(3.648251295f, 0.5194999576f, 3.575501442f, 0.4999999702f, 3.497501373f, 0.4999999702… in make_path_crbug364224()
81 path->cubicTo(0.4715013802f, 0.4999999702f, 0.2475013733f, 0.7239999771f, 0.2475013733f, 1.0f); in make_path_crbug364224()
83 path->cubicTo(0.2475013733f, 4.026000023f, 0.4715013504f, 4.25f, 0.7475013733f, 4.25f); in make_path_crbug364224()
85 path->cubicTo(3.773501396f, 4.25f, 3.997501373f, 4.026000023f, 3.997501373f, 3.75f); in make_path_crbug364224()
93 …path->cubicTo(3.648251295f, 0.5194999576f, 3.575501442f, 0.4999999702f, 3.497501373f, 0.4999999702… in make_path_crbug364224_simplified()
123 path->cubicTo(p1, p2, p3); in make_path_crbugskia2820()
[all …]
DPathMeasureTest.cpp21 path.cubicTo(pts[i], pts[i + 1], pts[i + 2]); in test_small_segment3()
132 path.cubicTo(SK_Scalar1, SK_Scalar1 * 2, in DEF_TEST()
135 path.cubicTo(SK_Scalar1*2, SK_Scalar1 * 2, in DEF_TEST()
DPathOpsOpCubicThreadedTest.cpp32 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b), in testOpCubicsMain()
37 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), in testOpCubicsMain()
DStrokerTest.cpp34 path.cubicTo(c[1].fX, c[1].fY, c[2].fX, c[2].fY, c[3].fX, c[3].fY); in cubicTest()
180 path.cubicTo(unbounded(r), unbounded(r), unbounded(r), unbounded(r), in DEF_TEST()
291 path.cubicTo(cubic[1].fX, cubic[1].fY, cubic[2].fX, cubic[2].fY, cubic[3].fX, cubic[3].fY); in DEF_TEST()
375 path.cubicTo(r.nextRangeF(0, 500), r.nextRangeF(0, 500), r.nextRangeF(0, 500), in DEF_TEST()
439 path.cubicTo(SkBits2Float(0x4331cb76), SkBits2Float(0x43ea3340), SkBits2Float(0x4388f498), SkBits2F… in DEF_TEST()
DPathOpsOpLoopThreadedTest.cpp79 pathA.cubicTo(SkIntToScalar(c), SkIntToScalar(d), endC.fX, endC.fY, endD.fX, endD.fY); in testOpLoopsMain()
82 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b)); in testOpLoopsMain()
DDrawPathTest.cpp60 path->cubicTo(fptr[0], fptr[1], fptr[2], fptr[3], fptr[4], fptr[5]); in cubicToH()
210 path.cubicTo(-329936, -100000000, -329936, 100000000, 1153, 330003); in test_bigcubic()
DStrokeTest.cpp41 path.cubicTo(cubicVals[1], cubicVals[2], cubicVals[3]); in test_strokecubic()
45 path.cubicTo(SkBits2Float(hexCubicVals[2]), SkBits2Float(hexCubicVals[3]), in test_strokecubic()
/external/skia/gm/
Dskbug1719.cpp50 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); in onDraw()
52 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); in onDraw()
54 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); in onDraw()
56 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f); in onDraw()
69 drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f); in onDraw()
71 drawPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f); in onDraw()
73 drawPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f); in onDraw()
75 drawPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f); in onDraw()
Dconvexpaths.cpp127 fPaths.push_back().cubicTo( 1 * SK_Scalar1, 1 * SK_Scalar1, in makePaths()
130 fPaths.push_back().cubicTo(100 * SK_Scalar1, 50 * SK_Scalar1, in makePaths()
137 fPaths.back().cubicTo(10 * SK_Scalar1, 10 * SK_Scalar1, in makePaths()
141 fPaths.back().cubicTo(40 * SK_Scalar1, 0, in makePaths()
147 fPaths.back().cubicTo(10 * SK_Scalar1, 0, in makePaths()
151 fPaths.back().cubicTo(50 * SK_Scalar1, 0, in makePaths()
157 fPaths.back().cubicTo(628 * SK_Scalar1 / 8, 82 * SK_Scalar1 / 8, in makePaths()
163 fPaths.back().cubicTo(0, SK_Scalar1, in makePaths()
169 fPaths.back().cubicTo(10 * SK_Scalar1, SK_Scalar1, in makePaths()
175 fPaths.back().cubicTo(0, SK_Scalar1, in makePaths()
[all …]
Dstlouisarch.cpp41 bigCubic->cubicTo(0, kHeight, in onOnceBeforeDraw()
50 degenBigCubic->cubicTo(0, yPos, in onOnceBeforeDraw()
Ddegeneratesegments.cpp90 path.cubicTo(startPt, startPt, startPt); in AddDegenCubic()
97 path.cubicTo(moveToPt, moveToPt, moveToPt); in AddMoveDegenCubic()
104 path.cubicTo(moveToPt, moveToPt, moveToPt); in AddMoveDegenCubicClose()
167 path.cubicTo(t1Pt, t2Pt, endPt); in AddCubic()
177 path.cubicTo(t1Pt, t2Pt, endPt); in AddMoveCubic()
187 path.cubicTo(t1Pt, t2Pt, endPt); in AddMoveCubicClose()
Dhairlines.cpp90 problem1->cubicTo(SkIntToScalar(5), SkIntToScalar(6), in onOnceBeforeDraw()
100 problem2->cubicTo(2.75223875f, 3.24776125f, in onOnceBeforeDraw()
103 problem2->cubicTo(4.66472578f, 3.888381f, in onOnceBeforeDraw()
Dsmallarc.cpp39 path.cubicTo(33.5, 0, 0, 33.5, 0, 75); in onDraw()
Dcubicpaths.cpp29 path.cubicTo(140, 150, 40, 10, 170, 150); in onDraw()
119 path.fPath.cubicTo(40*SK_Scalar1, 20*SK_Scalar1, in onDraw()
265 path.fPath.cubicTo(40*SK_Scalar1, 20*SK_Scalar1, in onDraw()
/external/skia/samplecode/
DSampleStrokePath.cpp192 p.cubicTo(x-75*r, y+75*r, x-40*r, y+125*r, x, y+85*r); in onDrawContent()
193 p.cubicTo(x+40*r, y+125*r, x+75*r, y+75*r, x, y); in onDrawContent()
195 p.cubicTo(x+75*r, y+75*r, x+40*r, y+125*r, x, y+85*r); in onDrawContent()
196 p.cubicTo(x-40*r, y+125*r, x-75*r, y+75*r, x, y); in onDrawContent()
/external/skia/bench/
DBezierBench.cpp72 fRec.fCubic.cubicTo(40, 20, 60, 40, 60, 60); in BezierBench()
73 fRec.fCubic.cubicTo(40, 60, 20, 80, 20, 100); in BezierBench()
/external/skia/src/pathops/
DSkPathWriter.cpp56 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) { in cubicTo() function in SkPathWriter
71 fPathPtr->cubicTo(pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY); in cubicTo()
DSkPathWriter.h17 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
/external/skia/src/core/
DSkPathMeasure.cpp375 dst->cubicTo(pts[1], pts[2], pts[3]); in seg_to()
378 dst->cubicTo(tmp0[1], tmp0[2], tmp0[3]); in seg_to()
383 dst->cubicTo(tmp0[4], tmp0[5], tmp0[6]); in seg_to()
386 dst->cubicTo(tmp1[1], tmp1[2], tmp1[3]); in seg_to()
/external/skia/src/gpu/
DGrTestUtils.cpp160 gPath[3].cubicTo(10.f, 10.f, 20.f, 20.f, 30.f, 30.f); in TestPath()
166 gPath[4].cubicTo(10.f, 10.f, 20.f, 20.f, 30.f, 30.f); in TestPath()

123