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

/external/skia/src/core/
H A DSkPath.cpp394 int nextDirection = 0; local
419 nextDirection = rect_make_dir(right - left, bottom - top);
421 firstDirection = nextDirection;
431 if (autoClose && nextDirection == firstDirection) {
435 if (lastDirection != nextDirection) {
441 if (lastDirection == nextDirection) {
445 // When corners == 3, nextDirection opposes firstDirection.
446 // Otherwise, nextDirection at corner 2 opposes corner 4.
448 int directionCycle = 3 == corners ? 0 : nextDirection ^ turn;
449 if ((directionCycle ^ turn) != nextDirection) {
[all...]

Completed in 48 milliseconds