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

/external/chromium_org/third_party/skia/src/core/
H A DSkPath.cpp388 int nextDirection = 0; local
410 nextDirection = (left != right) << 0 |
413 firstDirection = nextDirection;
423 if (autoClose && nextDirection == firstDirection) {
427 if (lastDirection != nextDirection) {
433 if (lastDirection == nextDirection) {
437 // When corners == 3, nextDirection opposes firstDirection.
438 // Otherwise, nextDirection at corner 2 opposes corner 4.
440 int directionCycle = 3 == corners ? 0 : nextDirection ^ turn;
441 if ((directionCycle ^ turn) != nextDirection) {
[all...]
/external/skia/src/core/
H A DSkPath.cpp388 int nextDirection = 0; local
410 nextDirection = (left != right) << 0 |
413 firstDirection = nextDirection;
423 if (autoClose && nextDirection == firstDirection) {
427 if (lastDirection != nextDirection) {
433 if (lastDirection == nextDirection) {
437 // When corners == 3, nextDirection opposes firstDirection.
438 // Otherwise, nextDirection at corner 2 opposes corner 4.
440 int directionCycle = 3 == corners ? 0 : nextDirection ^ turn;
441 if ((directionCycle ^ turn) != nextDirection) {
[all...]

Completed in 182 milliseconds