Home
last modified time | relevance | path

Searched refs:lineTo (Results 1 – 25 of 132) sorted by relevance

123456

/external/skia/gm/
Dcomplexclip.cpp47 path.lineTo(SkIntToScalar(175), SkIntToScalar(0)); in onDraw()
49 path.lineTo(SkIntToScalar(200), SkIntToScalar(150)); in onDraw()
51 path.lineTo(SkIntToScalar(0), SkIntToScalar(200)); in onDraw()
54 path.lineTo(SkIntToScalar(150), SkIntToScalar(50)); in onDraw()
55 path.lineTo(SkIntToScalar(150), SkIntToScalar(125)); in onDraw()
57 path.lineTo(SkIntToScalar(50), SkIntToScalar(150)); in onDraw()
66 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(22)); in onDraw()
67 clipA.lineTo(SkIntToScalar(70), SkIntToScalar(105)); in onDraw()
68 clipA.lineTo(SkIntToScalar(165), SkIntToScalar(177)); in onDraw()
69 clipA.lineTo(SkIntToScalar(-5), SkIntToScalar(180)); in onDraw()
[all …]
Dconvexpaths.cpp55 fPaths.back().lineTo(0, 0); in makePaths()
59 fPaths.back().lineTo(0, 100 * SK_Scalar1); in makePaths()
124 fPaths.push_back().lineTo(100 * SK_Scalar1, SK_Scalar1); in makePaths()
125 fPaths.back().lineTo(98 * SK_Scalar1, 100 * SK_Scalar1); in makePaths()
126 fPaths.back().lineTo(3 * SK_Scalar1, 96 * SK_Scalar1); in makePaths()
150 fPaths.back().lineTo(40 * SK_Scalar1, 0); in makePaths()
160 fPaths.back().lineTo(40 * SK_Scalar1, 0); in makePaths()
193 fPaths.back().lineTo(100 * SK_Scalar1, 100 * SK_Scalar1); in makePaths()
194 fPaths.back().lineTo(SkFloatToScalar(8.59375f), 45 * SK_Scalar1); in makePaths()
198 fPaths.back().lineTo(50 * SK_Scalar1, 50 * SK_Scalar1); in makePaths()
[all …]
Dpathfill.cpp29 path->lineTo(SkIntToScalar(gCoord[2]), SkIntToScalar(gCoord[3])); in make_triangle()
30 path->lineTo(SkIntToScalar(gCoord[4]), SkIntToScalar(gCoord[5])); in make_triangle()
62 path->lineTo(x, y - dy); in make_sawtooth()
64 path->lineTo(x, y + dy); in make_sawtooth()
66 path->lineTo(x, y + (2 * dy)); in make_sawtooth()
67 path->lineTo(x0, y + (2 * dy)); in make_sawtooth()
83 path->lineTo(c + SkScalarMul(cosV, r), c + SkScalarMul(sinV, r)); in make_star()
95 path->lineTo(SkIntToScalar(120), SkIntToScalar(40)); in make_line()
98 path->lineTo(SkIntToScalar(150), SkIntToScalar(30)); in make_line()
99 path->lineTo(SkIntToScalar(300), SkIntToScalar(40)); in make_line()
Dpatheffects.cpp67 path.lineTo(SkIntToScalar(gXY[i]), SkIntToScalar(gXY[i+1])); in one_d_pe()
123 path.lineTo(70, 120); in onDraw()
124 path.lineTo(120, 30); in onDraw()
125 path.lineTo(170, 80); in onDraw()
126 path.lineTo(240, 50); in onDraw()
/external/skia/tests/
DPathTest.cpp36 path.lineTo(139.545f, -47.8105f); in build_path_170666()
37 path.lineTo(139.545f, -47.8105f); in build_path_170666()
38 path.lineTo(131.07f, -47.3888f); in build_path_170666()
39 path.lineTo(131.07f, -47.3888f); in build_path_170666()
40 path.lineTo(122.586f, -46.9532f); in build_path_170666()
41 path.lineTo(122.586f, -46.9532f); in build_path_170666()
42 path.lineTo(18076.6f, 31390.9f); in build_path_170666()
43 path.lineTo(18076.6f, 31390.9f); in build_path_170666()
44 path.lineTo(18085.1f, 31390.5f); in build_path_170666()
45 path.lineTo(18085.1f, 31390.5f); in build_path_170666()
[all …]
DPathMeasureTest.cpp61 path.lineTo(pts[i]); in test_small_segment()
86 path.lineTo(SK_Scalar1, 0); in TestPathMeasure()
87 path.lineTo(SK_Scalar1, SK_Scalar1); in TestPathMeasure()
88 path.lineTo(0, SK_Scalar1); in TestPathMeasure()
96 path.lineTo(SK_Scalar1*3, SK_Scalar1*4); in TestPathMeasure()
109 path.lineTo(SK_Scalar1, 0); in TestPathMeasure()
110 path.lineTo(SK_Scalar1, SK_Scalar1); in TestPathMeasure()
111 path.lineTo(0, SK_Scalar1); in TestPathMeasure()
113 path.lineTo(-SK_Scalar1, 0); in TestPathMeasure()
134 path.lineTo(0, 0); in TestPathMeasure()
[all …]
/external/chromium/chrome/browser/resources/shared/css/
Dtree.css.js15 ctx.lineTo(0, 1);
16 ctx.lineTo(a2, 1 + a2);
17 ctx.lineTo(a, 1);
18 ctx.lineTo(a, 0);
/external/skia/src/core/
DSkStrokerPriv.cpp18 path->lineTo(stop.fX, stop.fY); in ButtCapper()
50 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
54 path->lineTo(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); in SquareCapper()
55 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
56 path->lineTo(stop.fX, stop.fY); in SquareCapper()
94 inner->lineTo(pivot.fX, pivot.fY); in HandleInnerJoin()
97 inner->lineTo(pivot.fX - after.fX, pivot.fY - after.fY); in HandleInnerJoin()
113 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in BluntJoiner()
235 outer->lineTo(pivot.fX + mid.fX, pivot.fY + mid.fY); in MiterJoiner()
240 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in MiterJoiner()
DSkStroke.cpp69 void lineTo(const SkPoint&);
222 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY); in line_to()
223 fInner.lineTo(currPt.fX - normal.fX, currPt.fY - normal.fY); in line_to()
226 void SkPathStroker::lineTo(const SkPoint& currPt) { in lineTo() function in SkPathStroker
373 this->lineTo(pt2); in quadTo()
395 fOuter.lineTo(tmp[2].fX + normalAB.fX, tmp[2].fY + normalAB.fY); in quadTo()
396 fOuter.lineTo(tmp[2].fX + normalBC.fX, tmp[2].fY + normalBC.fY); in quadTo()
397 fOuter.lineTo(tmp[4].fX + normalBC.fX, tmp[4].fY + normalBC.fY); in quadTo()
399 fInner.lineTo(tmp[2].fX - normalAB.fX, tmp[2].fY - normalAB.fY); in quadTo()
400 fInner.lineTo(tmp[2].fX - normalBC.fX, tmp[2].fY - normalBC.fY); in quadTo()
[all …]
/external/skia/legacy/src/core/
DSkStrokerPriv.cpp18 path->lineTo(stop.fX, stop.fY); in ButtCapper()
50 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
54 path->lineTo(pivot.fX + normal.fX + parallel.fX, pivot.fY + normal.fY + parallel.fY); in SquareCapper()
55 path->lineTo(pivot.fX - normal.fX + parallel.fX, pivot.fY - normal.fY + parallel.fY); in SquareCapper()
56 path->lineTo(stop.fX, stop.fY); in SquareCapper()
94 inner->lineTo(pivot.fX, pivot.fY); in HandleInnerJoin()
97 inner->lineTo(pivot.fX - after.fX, pivot.fY - after.fY); in HandleInnerJoin()
113 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in BluntJoiner()
235 outer->lineTo(pivot.fX + mid.fX, pivot.fY + mid.fY); in MiterJoiner()
240 outer->lineTo(pivot.fX + after.fX, pivot.fY + after.fY); in MiterJoiner()
DSkStroke.cpp70 void lineTo(const SkPoint&);
211 fOuter.lineTo(currPt.fX + normal.fX, currPt.fY + normal.fY); in line_to()
212 fInner.lineTo(currPt.fX - normal.fX, currPt.fY - normal.fY); in line_to()
215 void SkPathStroker::lineTo(const SkPoint& currPt) { in lineTo() function in SkPathStroker
352 this->lineTo(pt2); in quadTo()
374 fOuter.lineTo(tmp[2].fX + normalAB.fX, tmp[2].fY + normalAB.fY); in quadTo()
375 fOuter.lineTo(tmp[2].fX + normalBC.fX, tmp[2].fY + normalBC.fY); in quadTo()
376 fOuter.lineTo(tmp[4].fX + normalBC.fX, tmp[4].fY + normalBC.fY); in quadTo()
378 fInner.lineTo(tmp[2].fX - normalAB.fX, tmp[2].fY - normalAB.fY); in quadTo()
379 fInner.lineTo(tmp[2].fX - normalBC.fX, tmp[2].fY - normalBC.fY); in quadTo()
[all …]
/external/chromium-trace/trace-viewer/src/tracks/
Dcounter_track.js131 ctx.lineTo(xLast, yLastView);
132 ctx.lineTo(xLast + 8 * pixWidth, yLastView);
133 ctx.lineTo(xLast + 8 * pixWidth, canvasH);
143 ctx.lineTo(x, yLastView);
144 ctx.lineTo(x, canvasH);
167 ctx.lineTo(x, yLastView);
168 ctx.lineTo(x, yView);
Druler_track.js82 ctx.lineTo(x2, y2);
106 ctx.lineTo(x2, y2);
107 ctx.lineTo(bx - ax, by - ay);
108 ctx.lineTo(bx + ax, by + ay);
212 ctx.lineTo(curXView, rulerHeight);
218 ctx.lineTo(xView, rulerHeight);
229 ctx.lineTo(canvasW, rulerHeight);
/external/chromium/chrome/browser/ui/views/frame/
Dapp_panel_browser_frame_view.cc188 window_mask->lineTo(1, 2); in GetWindowMask()
189 window_mask->lineTo(1, 1); in GetWindowMask()
190 window_mask->lineTo(2, 1); in GetWindowMask()
191 window_mask->lineTo(3, 0); in GetWindowMask()
193 window_mask->lineTo(SkIntToScalar(size.width() - 3), 0); in GetWindowMask()
194 window_mask->lineTo(SkIntToScalar(size.width() - 2), 1); in GetWindowMask()
195 window_mask->lineTo(SkIntToScalar(size.width() - 1), 1); in GetWindowMask()
196 window_mask->lineTo(SkIntToScalar(size.width() - 1), 2); in GetWindowMask()
197 window_mask->lineTo(SkIntToScalar(size.width()), 3); in GetWindowMask()
199 window_mask->lineTo(SkIntToScalar(size.width()), in GetWindowMask()
[all …]
/external/chromium-trace/trace-viewer/src/
Dtimeline_viewport.js64 ctx.lineTo(vx, canvasH);
341 ctx.lineTo(viewX - 3, rulerHeight / 2);
342 ctx.lineTo(viewX + 3, rulerHeight / 2);
343 ctx.lineTo(viewX, rulerHeight);
350 ctx.lineTo(viewX, canvasH);
364 ctx.lineTo(viewX, canvasH);
/external/webkit/Source/WebCore/inspector/front-end/
DSummaryBar.js195 ctx.lineTo(x + w - 4, y + h - 3 - 0.5);
232 ctx.lineTo(x, y + h - r);
234 ctx.lineTo(x + w - r, y + h);
236 ctx.lineTo(x + w, y + r);
238 ctx.lineTo(x + r, y);
260 ctx.lineTo(x + (i * Math.round(w / 20)) + 0.5, y + h);
268 ctx.lineTo(x + (i * Math.round(w / 20)) + 1.5, y + h);
/external/chromium/chrome/browser/resources/bookmark_manager/css/
Dbmm.css.js12 ctx.lineTo(6, 0);
13 ctx.lineTo(3, 3);
/external/skia/legacy/src/utils/
DSkCullPoints.cpp86 SkCullPoints::LineToResult SkCullPoints::lineTo(int x, int y, SkIPoint line[]) { in lineTo() function in SkCullPoints
134 void SkCullPointsPath::lineTo(int x, int y) { in lineTo() function in SkCullPointsPath
137 switch (fCP.lineTo(x, y, pts)) { in lineTo()
142 fPath->lineTo(SkIntToScalar(pts[1].fX), SkIntToScalar(pts[1].fY)); in lineTo()
DSkParsePath.cpp108 path.lineTo(points[0]); in FromSVGString()
114 path.lineTo(x, c.fY); in FromSVGString()
120 path.lineTo(c.fX, y); in FromSVGString()
159 fPath.lineTo(f); in FromSVGString()
170 path.lineTo(args[1].fX, args[1].fY); in FromSVGString()
/external/skia/src/utils/
DSkParsePath.cpp108 path.lineTo(points[0]); in FromSVGString()
114 path.lineTo(x, c.fY); in FromSVGString()
120 path.lineTo(c.fX, y); in FromSVGString()
159 fPath.lineTo(f); in FromSVGString()
170 path.lineTo(args[1].fX, args[1].fY); in FromSVGString()
/external/skia/legacy/src/animator/
DSkParseSVGPath.cpp151 fPath.lineTo(points[0]); in parseSVG()
157 fPath.lineTo(x, c.fY); in parseSVG()
164 fPath.lineTo(c.fX, y); in parseSVG()
212 fPath.lineTo(f); in parseSVG()
223 fPath.lineTo(args[1].fX, args[1].fY); in parseSVG()
/external/skia/src/animator/
DSkParseSVGPath.cpp151 fPath.lineTo(points[0]); in parseSVG()
157 fPath.lineTo(x, c.fY); in parseSVG()
164 fPath.lineTo(c.fX, y); in parseSVG()
212 fPath.lineTo(f); in parseSVG()
223 fPath.lineTo(args[1].fX, args[1].fY); in parseSVG()
/external/chromium/chrome/browser/ui/views/notifications/
Dballoon_view.cc391 path->lineTo(right, top); in GetContentsMask()
392 path->lineTo(right, bottom - radius); in GetContentsMask()
396 path->lineTo(left + radius, bottom); in GetContentsMask()
400 path->lineTo(left, top); in GetContentsMask()
415 path->lineTo(left, top + radius); in GetFrameMask()
419 path->lineTo(right - radius, top); in GetFrameMask()
423 path->lineTo(right, bottom); in GetFrameMask()
424 path->lineTo(left, bottom); in GetFrameMask()
/external/skia/legacy/include/utils/
DSkCullPoints.h33 LineToResult lineTo(int x, int y, SkIPoint pts[2]);
61 void lineTo(int x, int y);
/external/skia/include/utils/
DSkCullPoints.h33 LineToResult lineTo(int x, int y, SkIPoint pts[2]);
61 void lineTo(int x, int y);

123456