Lines Matching defs:dir
62 SkPathDirection dir;
71 } else if (SkPathPriv::IsRRect(fPath, &rrect, &dir, &start)) {
72 this->simplifyRRect(rrect, dir, start, flags);
74 } else if (SkPathPriv::IsOval(fPath, &rect, &dir, &start)) {
76 this->simplifyRRect(SkRRect::MakeOval(rect), dir, start * 2, flags);
78 } else if (SkPathPriv::IsSimpleRect(fPath, (flags & kSimpleFill_Flag), &rect, &dir, &start)) {
82 this->simplifyRect(rect, dir, start, flags);
151 void GrShape::simplifyRRect(const SkRRect& rrect, SkPathDirection dir, unsigned start,
156 this->simplifyRect(rrect.rect(), dir, start, flags);
160 this->setPathWindingParams(dir, start);
164 SkASSERT(fRRect == rrect && this->dir() == dir && this->startIndex() == start);
168 void GrShape::simplifyRect(const SkRect& rect, SkPathDirection dir, unsigned start,
184 // A point (all edges are equal, so start+dir doesn't affect choice)
191 this->setPathWindingParams(dir, start);
194 SkASSERT(fRect == rect && this->dir() == dir && this->startIndex() == start);
242 (this->dir() == kDefaultDir && this->startIndex() == kDefaultStart));
258 this->simplifyRect(fRect, this->dir(), this->startIndex(), flags);
262 this->simplifyRRect(fRRect, this->dir(), this->startIndex(), flags);
440 out->addRect(fRect, this->dir(), this->startIndex());
443 out->addRRect(fRRect, this->dir(), this->startIndex());