Searched refs:nextDirection (Results 1 – 2 of 2) sorted by relevance
3542 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in IsRectContour() local3544 directions[0] = nextDirection; in IsRectContour()3553 if (autoClose && nextDirection == directions[0]) { in IsRectContour()3557 if (directions[corners - 1] == nextDirection) { in IsRectContour()3564 directions[corners++] = nextDirection; in IsRectContour()
519 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in isRectContour() local521 directions[0] = nextDirection; in isRectContour()530 if (autoClose && nextDirection == directions[0]) { in isRectContour()534 if (directions[corners - 1] == nextDirection) { in isRectContour()541 directions[corners++] = nextDirection; in isRectContour()