Lines Matching defs:zero
9 static bool rotate(const SkDCubic& cubic, int zero, int index, SkDCubic& rotPath) {
10 double dy = cubic[index].fY - cubic[zero].fY;
11 double dx = cubic[index].fX - cubic[zero].fX;
18 rotPath[index].fY = cubic[zero].fY;
19 int mask = other_two(index, zero);
21 int side2 = zero ^ mask;
22 if (approximately_equal(cubic[side1].fY, cubic[zero].fY)) {
23 rotPath[side1].fY = cubic[zero].fY;
25 if (approximately_equal(cubic[side2].fY, cubic[zero].fY)) {
26 rotPath[side2].fY = cubic[zero].fY;
39 // Returns 0 if negative, 1 if zero, 2 if positive