Home | History | Annotate | Download | only in core

Lines Matching defs:dir

562         SkPath::Direction dir;
563 if (src.isRect(&isClosed, &dir) && isClosed) {
564 this->strokeRect(src.getBounds(), dst, dir);
656 static SkPath::Direction reverse_direction(SkPath::Direction dir) {
657 SkASSERT(SkPath::kUnknown_Direction != dir);
658 return SkPath::kCW_Direction == dir ? SkPath::kCCW_Direction : SkPath::kCW_Direction;
661 static void addBevel(SkPath* path, const SkRect& r, const SkRect& outer, SkPath::Direction dir) {
664 if (SkPath::kCW_Direction == dir) {
687 SkPath::Direction dir) const {
699 dir = reverse_direction(dir);
717 dst->addRect(r, dir);
720 addBevel(dst, rect, r, dir);
723 dst->addRoundRect(r, radius, radius, dir);
732 dst->addRect(r, reverse_direction(dir));