/external/skia/bench/ |
BigPathBench.inc | 2 path.lineTo(-1113, 83); 3 path.lineTo(-1113, 82); 4 path.lineTo(-1112, 82); 5 path.lineTo(-1112, 83); 6 path.lineTo(-1111, 82); 7 path.lineTo(-1111, 82); 8 path.lineTo(-1110, 81); 9 path.lineTo(-1110, 81); 10 path.lineTo(-1109, 80); 11 path.lineTo(-1109, 80) [all...] |
/external/skia/tests/ |
TessellatingPathRendererTests.cpp | 26 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); 27 path.lineTo(171.411407470703125f, 50.94266510009765625f); 28 path.lineTo(245.5253753662109375f, 9.6253643035888671875f); 30 path.lineTo(171.411407470703125f, 50.94266510009765625f); 31 path.lineTo(187.8097381591796875f, -6.7729740142822265625f); 40 path.lineTo(385.41949462890625f, 532.8087158203125f); 41 path.lineTo(373.232879638671875f, 474.05938720703125f); 42 path.lineTo(326.670166015625f, 544.995361328125f); 44 path.lineTo(373.232879638671875f, 474.05938720703125f); 45 path.lineTo(385.41949462890625f, 532.8087158203125f) [all...] |
PathOpsSkpTest.cpp | 15 path.lineTo(555, 362); 16 path.lineTo(872, 362); 17 path.lineTo(872, 468); 18 path.lineTo(555, 468); 51 pathB.lineTo(836.863159f, 419.740845f); 60 pathB.lineTo(842.907837f, 399.445709f); 77 pathB.lineTo(818.860107f, 392.707275f); 81 pathB.lineTo(812.786499f, 415.743713f); 90 pathB.lineTo(818.861023f, 403.096436f); 98 pathB.lineTo(624.254211f, 390.498077f) [all...] |
PathOpsSimplifyTest.cpp | 14 path.lineTo(1,1); 15 path.lineTo(0,0); 24 path.lineTo(1,1); 25 path.lineTo(0,0); 32 path.lineTo(4,1); 33 path.lineTo(2,1); 39 path.lineTo(2,1); 40 path.lineTo(4,1); 46 path.lineTo(6,2); 47 path.lineTo(0,2) [all...] |
PathOpsSimplifyQuadralateralsThreadedTest.cpp | 42 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); 43 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); 44 path.lineTo(SkIntToScalar(dx), SkIntToScalar(dy)); 47 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); 48 path.lineTo(SkIntToScalar(gx), SkIntToScalar(gy)); 49 path.lineTo(SkIntToScalar(hx), SkIntToScalar(hy)); 55 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by); 56 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); 57 str += sprintf(str, " path.lineTo(%d, %d);\n", dx, dy); 60 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy) [all...] |
PathOpsBattles.cpp | 17 path1.lineTo(5.08228e-15f, -83); 20 path1.lineTo(46.9383f, 68.4529f); 21 path1.lineTo(33.9313f, 49.484f); 23 path1.lineTo(44.3577f, 40.4029f); 33 path2.lineTo(4.22689e-14f, -60); 37 path2.lineTo(46.9383f, 68.4529f); 49 path1.lineTo(SkBits2Float(0x424bbb16), SkBits2Float(0x41fdb8ed)); 52 path1.lineTo(SkBits2Float(0x27b71bcd), SkBits2Float(0xc2a60000)); 58 path2.lineTo(SkBits2Float(0x422c58d6), SkBits2Float(0x422705c1)); 60 path2.lineTo(SkBits2Float(0x428ce9ef), SkBits2Float(0x422f7dc6)) [all...] |
PathOpsBuilderTest.cpp | 85 path.lineTo(220, 170); 86 path.lineTo(220, 230); 87 path.lineTo(240, 230); 88 path.lineTo(240, 210); 89 path.lineTo(180, 210); 90 path.lineTo(180, 190); 91 path.lineTo(260, 190); 92 path.lineTo(260, 250); 93 path.lineTo(200, 250); 94 path.lineTo(200, 170) [all...] |
PathOpsOpTest.cpp | 155 path.lineTo(1,6); 156 path.lineTo(1.5f,1); 157 path.lineTo(1.8f,0.8f); 158 path.lineTo(2,1); 162 pathB.lineTo(1,2); 163 pathB.lineTo(1.4f,1); 164 pathB.lineTo(3,0.4f); 165 pathB.lineTo(6,1); [all...] |
PathMeasureTest.cpp | 56 path.lineTo(pts[i]); 80 path.lineTo(SK_Scalar1, 0); 81 path.lineTo(SK_Scalar1, SK_Scalar1); 82 path.lineTo(0, SK_Scalar1); 90 path.lineTo(SK_Scalar1*3, SK_Scalar1*4); 103 path.lineTo(SK_Scalar1, 0); 104 path.lineTo(SK_Scalar1, SK_Scalar1); 105 path.lineTo(0, SK_Scalar1); 107 path.lineTo(-SK_Scalar1, 0); 128 path.lineTo(0, 0) [all...] |
PathOpsSimplifyDegenerateThreadedTest.cpp | 40 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); 41 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); 44 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); 45 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); 50 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by); 51 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); 54 str += sprintf(str, " path.lineTo(%d, %d);\n", ex, ey); 55 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
|
PathOpsSimplifyTrianglesThreadedTest.cpp | 43 path.lineTo(SkIntToScalar(bx), SkIntToScalar(by)); 44 path.lineTo(SkIntToScalar(cx), SkIntToScalar(cy)); 47 path.lineTo(SkIntToScalar(ex), SkIntToScalar(ey)); 48 path.lineTo(SkIntToScalar(fx), SkIntToScalar(fy)); 53 str += sprintf(str, " path.lineTo(%d, %d);\n", bx, by); 54 str += sprintf(str, " path.lineTo(%d, %d);\n", cx, cy); 57 str += sprintf(str, " path.lineTo(%d, %d);\n", ex, ey); 58 str += sprintf(str, " path.lineTo(%d, %d);\n", fx, fy);
|
PathTest.cpp | 70 path->lineTo(3.747501373f, 3.75f); 72 path->lineTo(0.7475013733f, 4.0f); 74 path->lineTo(0.4975013733f, 1.0f); 76 path->lineTo(3.497501373f, 0.75f); 78 path->lineTo(3.715001345f, 0.5512499809f); 80 path->lineTo(0.7475013733f, 0.4999999702f); 82 path->lineTo(0.2475013733f, 3.75f); 84 path->lineTo(3.497501373f, 4.25f); 86 path->lineTo(3.997501373f, 2.474750042f); 87 path->lineTo(3.747501373f, 2.724499941f) [all...] |
/external/skia/gm/ |
concavepaths.cpp | 20 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 21 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); 22 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 32 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 33 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); 34 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 45 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); 46 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 47 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 58 path.lineTo(SkIntToScalar(50), SkIntToScalar(40)) [all...] |
skbug1719.cpp | 49 clipPath.lineTo(1034.f, 654.f); 51 clipPath.lineTo(1042.f, 724.f); 53 clipPath.lineTo(832.f, 732.f); 55 clipPath.lineTo(824.f, 662.f); 62 drawPath.lineTo(1043.f, 653.f); 63 drawPath.lineTo(1043.f, 733.f); 64 drawPath.lineTo(823.f, 733.f); 65 drawPath.lineTo(823.f, 653.f); 68 drawPath.lineTo(1034.f, 654.f); 70 drawPath.lineTo(1042.f, 724.f) [all...] |
complexclip.cpp | 47 path.lineTo(SkIntToScalar(175), SkIntToScalar(0)); 49 path.lineTo(SkIntToScalar(200), SkIntToScalar(150)); 51 path.lineTo(SkIntToScalar(0), SkIntToScalar(200)); 54 path.lineTo(SkIntToScalar(150), SkIntToScalar(50)); 55 path.lineTo(SkIntToScalar(150), SkIntToScalar(125)); 57 path.lineTo(SkIntToScalar(50), SkIntToScalar(150)); 70 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); 71 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); 72 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); 73 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)) [all...] |
picture.cpp | 24 path.moveTo(0, 0); path.lineTo(100, 0); path.lineTo(100, 100); 28 path.reset(); path.moveTo(0, 0); path.lineTo(100, 0); path.lineTo(0, 100);
|
convexpaths.cpp | 56 fPaths.back().lineTo(0, 0); 104 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, 0); 107 fPaths.back().lineTo(kLength, kLength * SkIntToScalar(i) / kPtsPerSide); 110 fPaths.back().lineTo(kLength * SkIntToScalar(i) / kPtsPerSide, kLength); 113 fPaths.back().lineTo(0, kLength * SkIntToScalar(i) / kPtsPerSide); 117 fPaths.push_back().lineTo(100 * SK_Scalar1, SK_Scalar1); 118 fPaths.back().lineTo(98 * SK_Scalar1, 100 * SK_Scalar1); 119 fPaths.back().lineTo(3 * SK_Scalar1, 96 * SK_Scalar1); 140 fPaths.back().lineTo(40 * SK_Scalar1, 0); 150 fPaths.back().lineTo(40 * SK_Scalar1, 0) [all...] |
poly2poly.cpp | 23 void lineTo(double x, double y); 56 void SkJSCanvas::lineTo(double x, double y) { 57 fPath.lineTo(SkDoubleToScalar(x), SkDoubleToScalar(y)); 94 path.reset(); path.moveTo(0, 0); path.lineTo(100, 100); 96 path.reset(); path.moveTo(0, 0); path.lineTo(100, 100); path.moveTo(200, 200); 113 ctx.lineTo(150, 100); 114 ctx.lineTo(150, 15); 115 ctx.lineTo(10, 15); 139 ctx.lineTo(150, 100); 140 ctx.lineTo(150, 15) [all...] |
/external/skia/samplecode/ |
SampleConcavePaths.cpp | 53 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 54 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); 55 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 64 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 65 path.lineTo(SkIntToScalar(30), SkIntToScalar(30)); 66 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 76 path.lineTo(SkIntToScalar(80), SkIntToScalar(80)); 77 path.lineTo(SkIntToScalar(80), SkIntToScalar(20)); 78 path.lineTo(SkIntToScalar(20), SkIntToScalar(80)); 88 path.lineTo(SkIntToScalar(50), SkIntToScalar(40)) [all...] |
SampleComplexClip.cpp | 33 path.lineTo(SkIntToScalar(175), SkIntToScalar(0)); 35 path.lineTo(SkIntToScalar(200), SkIntToScalar(150)); 37 path.lineTo(SkIntToScalar(0), SkIntToScalar(200)); 40 path.lineTo(SkIntToScalar(150), SkIntToScalar(50)); 41 path.lineTo(SkIntToScalar(150), SkIntToScalar(125)); 43 path.lineTo(SkIntToScalar(50), SkIntToScalar(150)); 53 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); 54 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); 55 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); 56 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)) [all...] |
SampleHairCurves.cpp | 55 hulls.lineTo(pts[2], pts[3]); 56 hulls.lineTo(pts[4], pts[5]); 57 hulls.lineTo(pts[6], pts[7]); 75 hulls.lineTo(pts[2], pts[3]); 76 hulls.lineTo(pts[4], pts[5]); 96 hulls.lineTo(pts[2], pts[3]); 97 hulls.lineTo(pts[4], pts[5]); 109 curves.lineTo(pts[2], pts[3]);
|
SamplePathFill.cpp | 34 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); 35 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); 65 path->lineTo(x, y - dy); 67 path->lineTo(x, y + dy); 69 path->lineTo(x, y + 2 * dy); 70 path->lineTo(x0, y + 2 * dy); 86 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r));
|
/external/skia/include/utils/ |
SkCullPoints.h | 22 /** Start a contour at (x,y). Follow this with call(s) to lineTo(...) 28 kLineTo_Result, //!< path.lineTo(pts[1]); 29 kMoveToLineTo_Result //!< path.moveTo(pts[0]); path.lineTo(pts[1]); 31 /** Connect a line to the previous call to lineTo (or moveTo). 33 LineToResult lineTo(int x, int y, SkIPoint pts[2]); 51 from lineTo, and automatically builds a SkPath with the result(s). 61 void lineTo(int x, int y);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
StateView.java | 172 mPath.lineTo(0, 0); 173 mPath.lineTo(0, h); 175 mPath.lineTo(d, 0); 176 mPath.lineTo(d, r); 177 mPath.lineTo(0, r + d); 178 mPath.lineTo(d, r + d + r); 179 mPath.lineTo(d, h); 181 mPath.lineTo(w, h); 183 mPath.lineTo(w, r + d + r); 184 mPath.lineTo(w - d, r + d) [all...] |
/external/skia/src/gpu/ |
GrTestUtils.cpp | 151 gPath[0].lineTo(10.f, 10.f); 163 gPath[4].lineTo(10.f, 10.f); 169 gPath[5].lineTo(10.0f, 0.0f); 170 gPath[5].lineTo(10.0f, 10.0f); 171 gPath[5].lineTo(0.0f, 10.0f); 175 gPath[6].lineTo(5.0f, 5.0f); 176 gPath[6].lineTo(10.0f, 0.0f); 177 gPath[6].lineTo(10.0f, 10.0f); 178 gPath[6].lineTo(0.0f, 10.0f); 192 gPath[0].lineTo(-1.5f, -50.0f) [all...] |