Home
last modified time | relevance | path

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

/third_party/skia/src/pathops/
H A DSkOpCubicHull.cpp9 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[i].fX = cubic[i].fX * dx + cubic[i].fY * dy; in rotate()
33 rotPath[i].fY = cubic[i].fY * dx - cubic[i].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[side in convexHull()
[all...]

Completed in 1 milliseconds