Searched refs:rotPath (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
H A DConvexHull.cpp46 Cubic rotPath; local
47 if (!rotate(cubic, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx]
52 int sides = side(rotPath[side1].y - rotPath[yMin].y);
53 sides ^= side(rotPath[side2].y - rotPath[yMin].y);
H A DConvexHull_Test.cpp106 static void transform(const Cubic& cubic, const Matrix3x2& matrix, Cubic& rotPath) { argument
108 rotPath[index].x = cubic[index].x * matrix[0][0]
110 rotPath[index].y = cubic[index].x * matrix[0][1]
143 Cubic rotPath; local
144 transform(cubic, matrix, rotPath);
153 if (debug_rotate_to_hull) SkDebugf("(%g,%g) ", rotPath[index].x, rotPath[index].y);
154 sides[side(rotPath[index].y - rotPath[inner].y)]++;
156 && side(rotPath[inde
[all...]
H A DCubicUtilities.h36 bool rotate(const Cubic& cubic, int zero, int index, Cubic& rotPath);
H A DCubicUtilities.cpp353 bool rotate(const Cubic& cubic, int zero, int index, Cubic& rotPath) { argument
360 memcpy(rotPath, cubic, sizeof(Cubic));
364 rotPath[index].x = cubic[index].x * dx + cubic[index].y * dy;
365 rotPath[index].y = cubic[index].y * dx - cubic[index].x * dy;
H A DSkAntiEdge.cpp884 SkPath rotPath;
888 refPath.transform(matrix, &rotPath);
890 SkPath::Iter iter(rotPath, false);
943 SkPath rotPath;
946 refPath.transform(matrix, &rotPath);
947 SkPath::Iter iter(rotPath, false);
/external/skia/experimental/Intersection/
H A DConvexHull.cpp46 Cubic rotPath; local
47 if (!rotate(cubic, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx]
52 int sides = side(rotPath[side1].y - rotPath[yMin].y);
53 sides ^= side(rotPath[side2].y - rotPath[yMin].y);
H A DConvexHull_Test.cpp106 static void transform(const Cubic& cubic, const Matrix3x2& matrix, Cubic& rotPath) { argument
108 rotPath[index].x = cubic[index].x * matrix[0][0]
110 rotPath[index].y = cubic[index].x * matrix[0][1]
143 Cubic rotPath; local
144 transform(cubic, matrix, rotPath);
153 if (debug_rotate_to_hull) SkDebugf("(%g,%g) ", rotPath[index].x, rotPath[index].y);
154 sides[side(rotPath[index].y - rotPath[inner].y)]++;
156 && side(rotPath[inde
[all...]
H A DCubicUtilities.h36 bool rotate(const Cubic& cubic, int zero, int index, Cubic& rotPath);
H A DCubicUtilities.cpp353 bool rotate(const Cubic& cubic, int zero, int index, Cubic& rotPath) { argument
360 memcpy(rotPath, cubic, sizeof(Cubic));
364 rotPath[index].x = cubic[index].x * dx + cubic[index].y * dy;
365 rotPath[index].y = cubic[index].y * dx - cubic[index].x * dy;
H A DSkAntiEdge.cpp884 SkPath rotPath;
888 refPath.transform(matrix, &rotPath);
890 SkPath::Iter iter(rotPath, false);
943 SkPath rotPath;
946 refPath.transform(matrix, &rotPath);
947 SkPath::Iter iter(rotPath, false);

Completed in 240 milliseconds