Lines Matching defs:dir
467 SkPathDirection dir;
468 if (SkPathPriv::IsSimpleRect(fPath, false, &rect, &dir, &start)) {
1327 // is because once the PE is applied, GrStyledShape may canonicalize the dir and index since
1670 SkPathDirection dir,
1675 (int)dir * ( 8 * kStyleCnt * 2) +
1684 for (SkPathDirection dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) {
1689 shapes[index(inverted, dir, start, style, dash)] =
1690 GrStyledShape(rrect, dir, start, SkToBool(inverted),
1816 for (SkPathDirection dir : {SkPathDirection::kCW, SkPathDirection::kCCW}) {
1819 const GrStyledShape& fillCase = shapes[index(inverted, dir, start, kFill,
1824 const GrStyledShape& strokeAndFillCase = shapes[index(inverted, dir, start,
1841 const GrStyledShape& strokeCase = shapes[index(inverted, dir, start, kStroke,
1843 const GrStyledShape& hairlineCase = shapes[index(inverted, dir, start,
1861 REPORTER_ASSERT(r, queryDir == dir);
1867 REPORTER_ASSERT(r, queryDir == dir);
1872 // dir and start match (dir=cw, start=0).
1873 if (0 == expectedStart && SkPathDirection::kCW == dir) {