Searched refs:rotPath (Results 1 – 2 of 2) sorted by relevance
/external/skqp/src/pathops/ |
D | SkOpCubicHull.cpp | 9 static bool rotate(const SkDCubic& cubic, int zero, int index, SkDCubic& rotPath) { in rotate() argument 16 rotPath = cubic; in rotate() 18 rotPath[index].fY = cubic[zero].fY; in rotate() 23 rotPath[side1].fY = cubic[zero].fY; in rotate() 26 rotPath[side2].fY = cubic[zero].fY; in rotate() 32 rotPath[index].fX = cubic[index].fX * dx + cubic[index].fY * dy; in rotate() 33 rotPath[index].fY = cubic[index].fY * dx - cubic[index].fX * dy; in rotate() 79 SkDCubic rotPath; in convexHull() local 80 if (!rotate(*this, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convexHull() 85 int sides = side(rotPath[side1].fY - rotPath[yMin].fY); in convexHull() [all …]
|
/external/skia/src/pathops/ |
D | SkOpCubicHull.cpp | 9 static bool rotate(const SkDCubic& cubic, int zero, int index, SkDCubic& rotPath) { in rotate() argument 16 rotPath = cubic; in rotate() 18 rotPath[index].fY = cubic[zero].fY; in rotate() 23 rotPath[side1].fY = cubic[zero].fY; in rotate() 26 rotPath[side2].fY = cubic[zero].fY; in rotate() 32 rotPath[index].fX = cubic[index].fX * dx + cubic[index].fY * dy; in rotate() 33 rotPath[index].fY = cubic[index].fY * dx - cubic[index].fX * dy; in rotate() 79 SkDCubic rotPath; in convexHull() local 80 if (!rotate(*this, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convexHull() 85 int sides = side(rotPath[side1].fY - rotPath[yMin].fY); in convexHull() [all …]
|