Lines Matching defs:startIndex
793 SkPath& SkPath::addRect(const SkRect &rect, SkPathDirection dir, unsigned startIndex) {
805 SkPath_RectPointIterator iter(rect, dir, startIndex);
934 SkPath& SkPath::addRRect(const SkRRect &rrect, SkPathDirection dir, unsigned startIndex) {
942 this->addRect(bounds, dir, (startIndex + 1) / 2);
945 this->addOval(bounds, dir, startIndex / 2);
954 const bool startsWithConic = ((startIndex & 1) == (dir == SkPathDirection::kCW));
963 SkPath_RRectPointIterator rrectIter(rrect, dir, startIndex);
966 const unsigned rectStartIndex = startIndex / 2 + (dir == SkPathDirection::kCW ? 0 : 1);
986 ed.setIsRRect(isRRect, dir == SkPathDirection::kCCW, startIndex % 8);
1318 SkScalar startIndex = std::fmod(startOver90I + 1.f, 4.f);
1319 startIndex = startIndex < 0 ? startIndex + 4.f : startIndex;
1321 (unsigned) startIndex);
3463 SkPath SkPath::Rect(const SkRect& r, SkPathDirection dir, unsigned startIndex) {
3464 return SkPathBuilder().addRect(r, dir, startIndex).detach();
3471 SkPath SkPath::Oval(const SkRect& r, SkPathDirection dir, unsigned startIndex) {
3472 return SkPathBuilder().addOval(r, dir, startIndex).detach();
3483 SkPath SkPath::RRect(const SkRRect& rr, SkPathDirection dir, unsigned startIndex) {
3484 return SkPathBuilder().addRRect(rr, dir, startIndex).detach();