Home
last modified time | relevance | path

Searched refs:topPt (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
DQuadraticUtilities.cpp52 _Point topPt = sub[0]; in top() local
53 if (topPt.y > sub[2].y || (topPt.y == sub[2].y && topPt.x > sub[2].x)) { in top()
54 topPt = sub[2]; in top()
62 if (topPt.y > test.y || (topPt.y == test.y && topPt.x > test.x)) { in top()
63 topPt = test; in top()
67 return topPt; in top()
DCubicUtilities.cpp383 _Point topPt = sub[0]; in top() local
384 if (topPt.y > sub[3].y || (topPt.y == sub[3].y && topPt.x > sub[3].x)) { in top()
385 topPt = sub[3]; in top()
394 if (topPt.y > mid.y || (topPt.y == mid.y && topPt.x > mid.x)) { in top()
395 topPt = mid; in top()
399 return topPt; in top()
DSimplify.cpp491 _Point topPt = top(quad, startT, endT); in QuadTop() local
492 return topPt.asSkPoint(); in QuadTop()
497 _Point topPt = top(cubic, startT, endT); in CubicTop() local
498 return topPt.asSkPoint(); in CubicTop()
1351 SkPoint topPt = {SK_ScalarMax, SK_ScalarMax}; in activeLeftTop() local
1370 if (topPt.fY > xy.fY || (topPt.fY == xy.fY && topPt.fX > xy.fX)) { in activeLeftTop()
1371 topPt = xy; in activeLeftTop()
1378 if (topPt.fY > curveTop.fY || (topPt.fY == curveTop.fY in activeLeftTop()
1379 && topPt.fX > curveTop.fX)) { in activeLeftTop()
1380 topPt = curveTop; in activeLeftTop()
[all …]
/external/skia/experimental/Intersection/
DQuadraticUtilities.cpp52 _Point topPt = sub[0]; in top() local
53 if (topPt.y > sub[2].y || (topPt.y == sub[2].y && topPt.x > sub[2].x)) { in top()
54 topPt = sub[2]; in top()
62 if (topPt.y > test.y || (topPt.y == test.y && topPt.x > test.x)) { in top()
63 topPt = test; in top()
67 return topPt; in top()
DCubicUtilities.cpp383 _Point topPt = sub[0]; in top() local
384 if (topPt.y > sub[3].y || (topPt.y == sub[3].y && topPt.x > sub[3].x)) { in top()
385 topPt = sub[3]; in top()
394 if (topPt.y > mid.y || (topPt.y == mid.y && topPt.x > mid.x)) { in top()
395 topPt = mid; in top()
399 return topPt; in top()
DSimplify.cpp491 _Point topPt = top(quad, startT, endT); in QuadTop() local
492 return topPt.asSkPoint(); in QuadTop()
497 _Point topPt = top(cubic, startT, endT); in CubicTop() local
498 return topPt.asSkPoint(); in CubicTop()
1351 SkPoint topPt = {SK_ScalarMax, SK_ScalarMax}; in activeLeftTop() local
1370 if (topPt.fY > xy.fY || (topPt.fY == xy.fY && topPt.fX > xy.fX)) { in activeLeftTop()
1371 topPt = xy; in activeLeftTop()
1378 if (topPt.fY > curveTop.fY || (topPt.fY == curveTop.fY in activeLeftTop()
1379 && topPt.fX > curveTop.fX)) { in activeLeftTop()
1380 topPt = curveTop; in activeLeftTop()
[all …]
/external/skia/src/pathops/
DSkPathOpsQuad.cpp52 SkDPoint topPt = sub[0]; in top() local
53 if (topPt.fY > sub[2].fY || (topPt.fY == sub[2].fY && topPt.fX > sub[2].fX)) { in top()
54 topPt = sub[2]; in top()
61 if (topPt.fY > test.fY || (topPt.fY == test.fY && topPt.fX > test.fX)) { in top()
62 topPt = test; in top()
66 return topPt; in top()
DSkPathOpsCurve.h106 SkDPoint topPt = quad.top(startT, endT); in quad_top() local
107 return topPt.asSkPoint(); in quad_top()
113 SkDPoint topPt = cubic.top(startT, endT); in cubic_top() local
114 return topPt.asSkPoint(); in cubic_top()
DSkPathOpsCubic.cpp373 SkDPoint topPt = sub[0]; in top() local
374 if (topPt.fY > sub[3].fY || (topPt.fY == sub[3].fY && topPt.fX > sub[3].fX)) { in top()
375 topPt = sub[3]; in top()
383 if (topPt.fY > mid.fY || (topPt.fY == mid.fY && topPt.fX > mid.fX)) { in top()
384 topPt = mid; in top()
388 return topPt; in top()
DSkDLineIntersection.cpp335 SkDPoint topPt = { x, top }; in vertical() local
336 if ((t = line.exactPoint(topPt)) >= 0) { in vertical()
337 insert(t, (double) flipped, topPt); in vertical()
368 if ((t = line.nearPoint(topPt, NULL)) >= 0) { in vertical()
369 insert(t, (double) flipped, topPt); in vertical()
DSkOpSegment.cpp121 SkPoint topPt = {SK_ScalarMax, SK_ScalarMax}; in activeLeftTop() local
136 if (topPt.fY > xy.fY || (topPt.fY == xy.fY && topPt.fX > xy.fX)) { in activeLeftTop()
137 topPt = xy; in activeLeftTop()
144 if (topPt.fY > curveTop.fY || (topPt.fY == curveTop.fY in activeLeftTop()
145 && topPt.fX > curveTop.fX)) { in activeLeftTop()
146 topPt = curveTop; in activeLeftTop()
157 return topPt; in activeLeftTop()
3668 SkPoint topPt = cubic_top(fPts, fTs[tStart].fT, fTs[tEnd].fT); in clockwise() local
3669 sum += (topPt.fX - edge[0].fX) * (topPt.fY + edge[0].fY); in clockwise()
3670 sum += (edge[3].fX - topPt.fX) * (edge[3].fY + topPt.fY); in clockwise()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsQuad.cpp52 SkDPoint topPt = sub[0]; in top() local
53 if (topPt.fY > sub[2].fY || (topPt.fY == sub[2].fY && topPt.fX > sub[2].fX)) { in top()
54 topPt = sub[2]; in top()
61 if (topPt.fY > test.fY || (topPt.fY == test.fY && topPt.fX > test.fX)) { in top()
62 topPt = test; in top()
66 return topPt; in top()
DSkPathOpsCurve.h106 SkDPoint topPt = quad.top(startT, endT); in quad_top() local
107 return topPt.asSkPoint(); in quad_top()
113 SkDPoint topPt = cubic.top(startT, endT); in cubic_top() local
114 return topPt.asSkPoint(); in cubic_top()
DSkPathOpsCubic.cpp373 SkDPoint topPt = sub[0]; in top() local
374 if (topPt.fY > sub[3].fY || (topPt.fY == sub[3].fY && topPt.fX > sub[3].fX)) { in top()
375 topPt = sub[3]; in top()
383 if (topPt.fY > mid.fY || (topPt.fY == mid.fY && topPt.fX > mid.fX)) { in top()
384 topPt = mid; in top()
388 return topPt; in top()
DSkDLineIntersection.cpp338 SkDPoint topPt = { x, top }; in vertical() local
339 if ((t = line.exactPoint(topPt)) >= 0) { in vertical()
340 insert(t, (double) flipped, topPt); in vertical()
371 if ((t = line.nearPoint(topPt, NULL)) >= 0) { in vertical()
372 insert(t, (double) flipped, topPt); in vertical()
DSkOpSegment.cpp121 SkPoint topPt = {SK_ScalarMax, SK_ScalarMax}; in activeLeftTop() local
136 if (topPt.fY > xy.fY || (topPt.fY == xy.fY && topPt.fX > xy.fX)) { in activeLeftTop()
137 topPt = xy; in activeLeftTop()
144 if (topPt.fY > curveTop.fY || (topPt.fY == curveTop.fY in activeLeftTop()
145 && topPt.fX > curveTop.fX)) { in activeLeftTop()
146 topPt = curveTop; in activeLeftTop()
157 return topPt; in activeLeftTop()
3753 SkPoint topPt = cubic_top(fPts, fTs[tStart].fT, fTs[tEnd].fT); in clockwise() local
3754 sum += (topPt.fX - edge[0].fX) * (topPt.fY + edge[0].fY); in clockwise()
3755 sum += (edge[3].fX - topPt.fX) * (edge[3].fY + topPt.fY); in clockwise()