Home
last modified time | relevance | path

Searched refs:nextDirection (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkPath.cpp394 int nextDirection = 0; in isRectContour() local
419 nextDirection = rect_make_dir(right - left, bottom - top); in isRectContour()
421 firstDirection = nextDirection; in isRectContour()
431 if (autoClose && nextDirection == firstDirection) { in isRectContour()
435 if (lastDirection != nextDirection) { in isRectContour()
441 if (lastDirection == nextDirection) { in isRectContour()
448 int directionCycle = 3 == corners ? 0 : nextDirection ^ turn; in isRectContour()
449 if ((directionCycle ^ turn) != nextDirection) { in isRectContour()
472 lastDirection = nextDirection; in isRectContour()