Home
last modified time | relevance | path

Searched refs:startTan (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
DCubicUtilities.cpp50 _Vector startTan = c[1] - c[0]; in controls_contained_by_ends() local
51 if (startTan.x == 0 && startTan.y == 0) { in controls_contained_by_ends()
52 startTan = c[2] - c[0]; in controls_contained_by_ends()
58 if (startTan.dot(endTan) >= 0) { in controls_contained_by_ends()
62 startEdge[1].x -= startTan.y; in controls_contained_by_ends()
63 startEdge[1].y += startTan.x; in controls_contained_by_ends()
/external/skia/experimental/Intersection/
DCubicUtilities.cpp50 _Vector startTan = c[1] - c[0]; in controls_contained_by_ends() local
51 if (startTan.x == 0 && startTan.y == 0) { in controls_contained_by_ends()
52 startTan = c[2] - c[0]; in controls_contained_by_ends()
58 if (startTan.dot(endTan) >= 0) { in controls_contained_by_ends()
62 startEdge[1].x -= startTan.y; in controls_contained_by_ends()
63 startEdge[1].y += startTan.x; in controls_contained_by_ends()
/external/skia/src/pathops/
DSkPathOpsCubic.cpp92 SkDVector startTan = fPts[1] - fPts[0]; in controlsContainedByEnds() local
93 if (startTan.fX == 0 && startTan.fY == 0) { in controlsContainedByEnds()
94 startTan = fPts[2] - fPts[0]; in controlsContainedByEnds()
100 if (startTan.dot(endTan) >= 0) { in controlsContainedByEnds()
104 startEdge[1].fX -= startTan.fY; in controlsContainedByEnds()
105 startEdge[1].fY += startTan.fX; in controlsContainedByEnds()
/external/chromium_org/third_party/skia/src/pathops/
DSkPathOpsCubic.cpp92 SkDVector startTan = fPts[1] - fPts[0]; in controlsContainedByEnds() local
93 if (startTan.fX == 0 && startTan.fY == 0) { in controlsContainedByEnds()
94 startTan = fPts[2] - fPts[0]; in controlsContainedByEnds()
100 if (startTan.dot(endTan) >= 0) { in controlsContainedByEnds()
104 startEdge[1].fX -= startTan.fY; in controlsContainedByEnds()
105 startEdge[1].fY += startTan.fX; in controlsContainedByEnds()