Searched refs:cubicTo (Results 1 - 25 of 85) sorted by relevance

1234

/external/skia/tests/
H A DPathOpsIssue3651.cpp16 path.cubicTo(SkBits2Float(0x431e3333), SkBits2Float(0x42823333), SkBits2Float(0x431ee666), SkBits2Float(0x4282368d), SkBits2Float(0x431f999a), SkBits2Float(0x42823333)); // 158.2f, 65.1f, 158.9f, 65.1065f, 159.6f, 65.1f
17 path.cubicTo(SkBits2Float(0x43204ccd), SkBits2Float(0x42822fd9), SkBits2Float(0x43210000), SkBits2Float(0x42822861), SkBits2Float(0x4321b333), SkBits2Float(0x42821f17)); // 160.3f, 65.0935f, 161, 65.0789f, 161.7f, 65.0607f
18 path.cubicTo(SkBits2Float(0x43226666), SkBits2Float(0x428215ce), SkBits2Float(0x4323199a), SkBits2Float(0x4282071d), SkBits2Float(0x4323cccd), SkBits2Float(0x4281fb7b)); // 162.4f, 65.0426f, 163.1f, 65.0139f, 163.8f, 64.9912f
19 path.cubicTo(SkBits2Float(0x43248000), SkBits2Float(0x4281efd8), SkBits2Float(0x43253333), SkBits2Float(0x4281e467), SkBits2Float(0x4325e666), SkBits2Float(0x4281d94a)); // 164.5f, 64.9684f, 165.2f, 64.9461f, 165.9f, 64.9244f
20 path.cubicTo(SkBits2Float(0x4326999a), SkBits2Float(0x4281ce2c), SkBits2Float(0x43274ccd), SkBits2Float(0x4281c15d), SkBits2Float(0x43280000), SkBits2Float(0x4281b8cb)); // 166.6f, 64.9027f, 167.3f, 64.8777f, 168, 64.8609f
21 path.cubicTo(SkBits2Float(0x4328b333), SkBits2Float(0x4281b039), SkBits2Float(0x43296666), SkBits2Float(0x4281a66d), SkBits2Float(0x432a199a), SkBits2Float(0x4281a5dd)); // 168.7f, 64.8442f, 169.4f, 64.8251f, 170.1f, 64.824f
22 path.cubicTo(SkBits2Float(0x432acccd), SkBits2Float(0x4281a54c), SkBits2Float(0x432b8000), SkBits2Float(0x4281aecf), SkBits2Float(0x432c3333), SkBits2Float(0x4281b566)); // 170.8f, 64.8228f, 171.5f, 64.8414f, 172.2f, 64.8543f
23 path.cubicTo(SkBits2Float(0x432ce666), SkBits2Float(0x4281bbfe), SkBits2Float(0x432d999a), SkBits2Float(0x4281c612), SkBits2Float(0x432e4ccd), SkBits2Float(0x4281cd6b)); // 172.9f, 64.8672f, 173.6f, 64.8869f, 174.3f, 64.9012f
24 path.cubicTo(SkBits2Float(0x432f0000), SkBits2Float(0x4281d4c4), SkBits2Float(0x432fb333), SkBits2Float(0x4281dc73), SkBits2Float(0x43306666), SkBits2Float(0x4281e17e)); // 175, 64.9156f, 175.7f, 64.9306f, 176.4f, 64.9404f
25 path.cubicTo(SkBits2Floa
[all...]
H A DPathOpsSkpTest.cpp23 pathB.cubicTo(855.523071f, 399.691284f, 853.721191f, 402.40863f, 853.721191f, 405.552216f);
24 pathB.cubicTo(853.721191f, 407.911163f, 854.727478f, 410.115387f, 857.043518f, 412.252716f);
25 pathB.cubicTo(859.920532f, 414.916138f, 862.704773f, 417.086426f, 864.679382f, 418.852386f);
26 pathB.cubicTo(866.382446f, 420.371765f, 867.19104f, 422.108795f, 867.19104f, 423.506378f);
27 pathB.cubicTo(867.19104f, 424.551605f, 866.741821f, 425.539886f, 865.935242f, 426.281616f);
28 pathB.cubicTo(865.250366f, 426.910553f, 864.662415f, 427.339813f, 864.139282f, 427.4646f);
29 pathB.cubicTo(863.536377f, 427.605347f, 862.259521f, 426.491272f, 860.366821f, 424.208191f);
30 pathB.cubicTo(858.345276f, 421.770355f, 857.317017f, 419.733856f, 857.317017f, 417.98587f);
31 pathB.cubicTo(857.317017f, 417.198212f, 857.942993f, 415.930389f, 857.942993f, 415.930389f);
32 pathB.cubicTo(857.94299
[all...]
H A DPathOpsSimplifyFailTest.cpp50 case 4: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[f]); break;
51 case 5: path.cubicTo(finitePts[f], nonFinitePts[i], finitePts[f]); break;
52 case 6: path.cubicTo(finitePts[f], finitePts[f], nonFinitePts[i]); break;
53 case 7: path.cubicTo(nonFinitePts[i], nonFinitePts[i], finitePts[f]); break;
54 case 8: path.cubicTo(nonFinitePts[i], finitePts[f], nonFinitePts[i]); break;
55 case 9: path.cubicTo(finitePts[f], nonFinitePts[i], nonFinitePts[i]); break;
56 case 10: path.cubicTo(nonFinitePts[i], nonFinitePts[i], nonFinitePts[i]); break;
57 case 11: path.cubicTo(nonFinitePts[i], finitePts[f], finitePts[g]); break;
78 case 4: path.cubicTo(finitePts[f], finitePts[f], finitePts[f]); break;
79 case 5: path.cubicTo(finitePt
[all...]
H A DPathOpsOpTest.cpp36 path.cubicTo(0,2, 1,0, 1,0);
40 pathB.cubicTo(0,1, 1,0, 2,0);
49 path.cubicTo(0,1, 1,0, 1,0);
53 pathB.cubicTo(0,1, 2,0, 1,0);
62 path.cubicTo(2,3, 1,0, 1,0);
66 pathB.cubicTo(0,1, 1,0, 3,2);
75 path.cubicTo(0,2, 1,0, 2,0);
79 pathB.cubicTo(0,2, 1,0, 2,0);
88 path.cubicTo(0,6, 1,0, 3,0);
92 pathB.cubicTo(
[all...]
H A DPathOpsBattles.cpp18 path1.cubicTo(32.8673f, -83, 62.6386f, -63.6055f, 75.9208f, -33.5416f);
19 path1.cubicTo(89.2029f, -3.47759f, 83.4937f, 31.5921f, 61.3615f, 55.8907f);
22 path1.cubicTo(37.7451f, 46.8689f, 41.2438f, 43.8216f, 44.3577f, 40.4029f);
24 path1.cubicTo(60.3569f, 22.8376f, 64.4841f, -2.51392f, 54.8825f, -24.2469f);
25 path1.cubicTo(45.2809f, -45.9799f, 23.7595f, -60, 9.53595e-07f, -60);
30 path2.cubicTo(17.5117f, 88.6307f, -21.518f, 87.7442f, -49.9981f, 66.251f);
31 path2.cubicTo(-78.4781f, 44.7578f, -90.035f, 7.46781f, -78.7014f, -26.3644f);
32 path2.cubicTo(-67.3679f, -60.1967f, -35.6801f, -83, -1.48383e-06f, -83);
34 path2.cubicTo(-25.7929f, -60, -48.6997f, -43.5157f, -56.8926f, -19.0586f);
35 path2.cubicTo(
[all...]
H A DIsClosedSingleContourTest.cpp33 p.cubicTo(50, 50, 60, 60, 70, 70);
H A DPathOpsOpCubicThreadedTest.cpp32 pathA.cubicTo(SkIntToScalar(state.fC), SkIntToScalar(state.fD), SkIntToScalar(b),
37 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB),
53 str += sprintf(str, " path.cubicTo(%d,%d, %d,%d, %d,%d);\n", state.fC, state.fD,
60 str += sprintf(str, " pathB.cubicTo(%d,%d, %d,%d, %d,%d);\n", c, d,
H A DPathOpsOpLoopThreadedTest.cpp61 str += sprintf(str, " path.cubicTo(%d,%d, ", c, d);
68 str += sprintf(str, " pathB.cubicTo(");
79 pathA.cubicTo(SkIntToScalar(c), SkIntToScalar(d), endC.fX, endC.fY, endD.fX, endD.fY);
82 pathB.cubicTo(endC.fX, endC.fY, endD.fX, endD.fY, SkIntToScalar(a), SkIntToScalar(b));
H A DPathMeasureTest.cpp21 path.cubicTo(pts[i], pts[i + 1], pts[i + 2]);
132 path.cubicTo(SK_Scalar1, SK_Scalar1 * 2,
135 path.cubicTo(SK_Scalar1*2, SK_Scalar1 * 2,
H A DPathTest.cpp73 path->cubicTo(3.747501373f, 3.88774991f, 3.635501385f, 4.0f, 3.497501373f, 4.0f);
75 path->cubicTo(0.6095013618f, 4.0f, 0.4975013733f, 3.88774991f, 0.4975013733f, 3.75f);
77 path->cubicTo(0.4975013733f, 0.8622499704f, 0.6095013618f, 0.75f, 0.7475013733f,0.75f);
79 path->cubicTo(3.50275135f, 0.75f, 3.5070014f, 0.7527500391f, 3.513001442f, 0.753000021f);
81 path->cubicTo(3.648251295f, 0.5194999576f, 3.575501442f, 0.4999999702f, 3.497501373f, 0.4999999702f);
83 path->cubicTo(0.4715013802f, 0.4999999702f, 0.2475013733f, 0.7239999771f, 0.2475013733f, 1.0f);
85 path->cubicTo(0.2475013733f, 4.026000023f, 0.4715013504f, 4.25f, 0.7475013733f, 4.25f);
87 path->cubicTo(3.773501396f, 4.25f, 3.997501373f, 4.026000023f, 3.997501373f, 3.75f);
95 path->cubicTo(3.648251295f, 0.5194999576f, 3.575501442f, 0.4999999702f, 3.497501373f, 0.4999999702f);
125 path->cubicTo(p
[all...]
/external/skia/gm/
H A Dpathreverse.cpp26 path.cubicTo(101.7f, 24.7f, 103.6f, 22.8f, 103.6f, 19.2f);
27 path.cubicTo(103.6f, 18.9f, 103.6f, 18.7f, 103.6f, 18.4f);
28 path.cubicTo(102.6f, 5.3f, 94.4f, -6.1f, 79.8f, -6.1f);
29 path.cubicTo(63.5f, -6.1f, 54.5f, 6, 54.5f, 23.3f);
30 path.cubicTo(54.5f, 40.6f, 64, 52.2f, 80.4f, 52.2f);
31 path.cubicTo(93.4f, 52.2f, 99.2f, 45.6f, 102.4f, 39);
32 path.cubicTo(102.8f, 38.4f, 102.9f, 37.8f, 102.9f, 37.2f);
33 path.cubicTo(102.9f, 35.4f, 101.5f, 34.2f, 99.8f, 33.7f);
34 path.cubicTo(99.1f, 33.5f, 98.4f, 33.3f, 97.7f, 33.3f);
35 path.cubicTo(96.
[all...]
H A Dskbug1719.cpp31 clipPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
33 clipPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
35 clipPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
37 clipPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
50 drawPath.cubicTo(1038.4183f, 654.f, 1042.f, 657.58173f, 1042.f, 662.f);
52 drawPath.cubicTo(1042.f, 728.41827f, 1038.4183f, 732.f, 1034.f, 732.f);
54 drawPath.cubicTo(827.58173f, 732.f, 824.f, 728.41827f, 824.f, 724.f);
56 drawPath.cubicTo(824.f, 657.58173f, 827.58173f, 654.f, 832.f, 654.f);
H A Dsmallarc.cpp23 path.cubicTo(33.5, 0, 0, 33.5, 0, 75);
H A Dconvexpaths.cpp128 fPaths.push_back().cubicTo( 1 * SK_Scalar1, 1 * SK_Scalar1,
131 fPaths.push_back().cubicTo(100 * SK_Scalar1, 50 * SK_Scalar1,
138 fPaths.back().cubicTo(10 * SK_Scalar1, 10 * SK_Scalar1,
142 fPaths.back().cubicTo(40 * SK_Scalar1, 0,
148 fPaths.back().cubicTo(10 * SK_Scalar1, 0,
152 fPaths.back().cubicTo(50 * SK_Scalar1, 0,
158 fPaths.back().cubicTo(628 * SK_Scalar1 / 8, 82 * SK_Scalar1 / 8,
164 fPaths.back().cubicTo(0, SK_Scalar1,
170 fPaths.back().cubicTo(10 * SK_Scalar1, SK_Scalar1,
176 fPaths.back().cubicTo(
[all...]
H A Dscaledstrokes.cpp31 path.cubicTo(c, size, size, c, size, 0.0f);
32 path.cubicTo(size, -c, c, -size, 0.0f, -size);
33 path.cubicTo(-c, -size, -size, -c, -size, 0.0f);
34 path.cubicTo(-size, c, -c, size, 0.0f, size);
H A Dstlouisarch.cpp42 bigCubic->cubicTo(0, kHeight,
51 degenBigCubic->cubicTo(0, yPos,
H A Dhairlines.cpp91 problem1->cubicTo(SkIntToScalar(5), SkIntToScalar(6),
101 problem2->cubicTo(2.75223875f, 3.24776125f,
104 problem2->cubicTo(4.66472578f, 3.888381f,
237 path.cubicTo(90, 20, 100, 20, 100, 10);
H A Dhittestpath.cpp46 path.cubicTo(randoms[6] * scale, randoms[7] * scale,
H A Dcubicpaths.cpp31 path.cubicTo(140, 150, 40, 10, 170, 150);
105 fPath.cubicTo( 69.7030518991886f, 21.831149999999997f,
107 fPath.cubicTo( 11.608591683531916f, 87.33115f, -0.010765133872116195f, 109.16448333333332f,
192 path.fPath.cubicTo(40*SK_Scalar1, 20*SK_Scalar1,
336 path.fPath.cubicTo(40*SK_Scalar1, 20*SK_Scalar1,
/external/skia/src/pathops/
H A DSkPathWriter.h17 void cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3);
H A DSkPathWriter.cpp56 void SkPathWriter::cubicTo(const SkPoint& pt1, const SkPoint& pt2, const SkPoint& pt3) { function in class:SkPathWriter
68 SkDebugf("path.cubicTo(%1.9g,%1.9g, %1.9g,%1.9g, %1.9g,%1.9g);\n",
71 fPathPtr->cubicTo(pt1.fX, pt1.fY, pt2.fX, pt2.fY, fDefer[1].fX, fDefer[1].fY);
/external/skia/bench/
H A DBezierBench.cpp73 fRec.fCubic.cubicTo(40, 20, 60, 40, 60, 60);
74 fRec.fCubic.cubicTo(40, 60, 20, 80, 20, 100);
H A DPathIterBench.cpp54 fPath.cubicTo(pts[1], pts[2], pts[3]);
/external/skia/samplecode/
H A DSampleStrokePath.cpp192 p.cubicTo(x-75*r, y+75*r, x-40*r, y+125*r, x, y+85*r);
193 p.cubicTo(x+40*r, y+125*r, x+75*r, y+75*r, x, y);
195 p.cubicTo(x+75*r, y+75*r, x+40*r, y+125*r, x, y+85*r);
196 p.cubicTo(x-40*r, y+125*r, x-75*r, y+75*r, x, y);
/external/skia/src/effects/
H A DSkArcToPathEffect.cpp48 dst->cubicTo(pts[1], pts[2], pts[3]);

Completed in 633 milliseconds

1234