Lines Matching refs:start
51 key |= (fCW ? 1 : 0) << 8; // start was 3 bits, total 8 bits so far
63 unsigned start;
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);
111 SkPoint start = {center.fX + 0.5f * fArc.fOval.width() * SkScalarCos(startRad),
113 // Either just the starting point, or a line from the center to the start
115 this->simplifyLine(center, start, flags);
117 this->simplifyPoint(start, flags);
136 // Map start to 0 to 360, sweep is always positive
151 void GrShape::simplifyRRect(const SkRRect& rrect, SkPathDirection dir, unsigned start,
155 start = ((start + 1) / 2) % 4;
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,
178 if (start >= 2 && !(flags & kIgnoreWinding_Flag)) {
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);
245 // we only need to start in the right place.