Home | History | Annotate | Download | only in gpu

Lines Matching refs:Direction

189     enum class Direction { kVertical, kHorizontal };
190 Comparator(Direction direction) : fDirection(direction) {}
192 return fDirection == Direction::kHorizontal ? sweep_lt_horiz(a, b) : sweep_lt_vert(a, b);
194 Direction fDirection;
1206 float primaryDiff = c.fDirection == Comparator::Direction::kHorizontal ? diff.fX : diff.fY;
1374 if (c.fDirection == Comparator::Direction::kHorizontal) {
1387 // Stage 3: sort the vertices by increasing sweep direction.
2098 if (c.fDirection == Comparator::Direction::kHorizontal) {
2114 Comparator c(pathBounds.width() > pathBounds.height() ? Comparator::Direction::kHorizontal
2115 : Comparator::Direction::kVertical);