Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPath.cpp3476 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in IsRectContour() local
3478 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()
/external/skqp/src/core/
DSkPath.cpp513 int nextDirection = rect_make_dir(lineDelta.fX, lineDelta.fY); // 0 to 3 in isRectContour() local
515 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()