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

/external/chromium_org/third_party/skia/src/core/
H A DSkPath.cpp402 int nextDirection = 0; local
424 nextDirection = rect_make_dir(right - left, bottom - top);
426 firstDirection = nextDirection;
436 if (autoClose && nextDirection == firstDirection) {
440 if (lastDirection != nextDirection) {
446 if (lastDirection == nextDirection) {
450 // When corners == 3, nextDirection opposes firstDirection.
451 // Otherwise, nextDirection at corner 2 opposes corner 4.
453 int directionCycle = 3 == corners ? 0 : nextDirection ^ turn;
454 if ((directionCycle ^ turn) != nextDirection) {
[all...]
/external/skia/src/core/
H A DSkPath.cpp402 int nextDirection = 0; local
424 nextDirection = rect_make_dir(right - left, bottom - top);
426 firstDirection = nextDirection;
436 if (autoClose && nextDirection == firstDirection) {
440 if (lastDirection != nextDirection) {
446 if (lastDirection == nextDirection) {
450 // When corners == 3, nextDirection opposes firstDirection.
451 // Otherwise, nextDirection at corner 2 opposes corner 4.
453 int directionCycle = 3 == corners ? 0 : nextDirection ^ turn;
454 if ((directionCycle ^ turn) != nextDirection) {
[all...]

Completed in 78 milliseconds