Searched refs:nextDirection (Results 1 – 2 of 2) sorted by relevance
3476 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in IsRectContour() local3478 directions[0] = nextDirection; in IsRectContour()3487 if (autoClose && nextDirection == directions[0]) { in IsRectContour()3491 if (directions[corners - 1] == nextDirection) { in IsRectContour()3498 directions[corners++] = nextDirection; in IsRectContour()
513 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in isRectContour() local515 directions[0] = nextDirection; in isRectContour()524 if (autoClose && nextDirection == directions[0]) { in isRectContour()528 if (directions[corners - 1] == nextDirection) { in isRectContour()535 directions[corners++] = nextDirection; in isRectContour()