Searched refs:lastDirection (Results 1 – 1 of 1) sorted by relevance
436 int lastDirection = 0; in isRectContour() local478 if (lastDirection != nextDirection) { in isRectContour()484 if (lastDirection == nextDirection) { in isRectContour()515 lastDirection = nextDirection; in isRectContour()535 if (3 == corners || (4 == corners && closeDirection == lastDirection)) { in isRectContour()547 *direction = firstDirection == ((lastDirection + 1) & 3) ? kCCW_Direction : kCW_Direction; in isRectContour()