Lines Matching refs:GrShape
138 int count = 1; // Every key has the state flags from the GrShape
140 case GrShape::Type::kPoint:
144 case GrShape::Type::kRect:
148 case GrShape::Type::kRRect:
152 case GrShape::Type::kArc:
156 case GrShape::Type::kLine:
160 case GrShape::Type::kPath: {
189 (fShape.dir() == GrShape::kDefaultDir &&
190 fShape.startIndex() == GrShape::kDefaultStart));
192 // Every key starts with the state from the GrShape (this includes path fill type,
197 case GrShape::Type::kPath: {
210 case GrShape::Type::kPoint:
214 case GrShape::Type::kRect:
218 case GrShape::Type::kRRect:
222 case GrShape::Type::kArc:
229 case GrShape::Type::kLine:
432 // appropriate flags to GrShape::simplify() to have reset these parameters.
433 SkASSERT(fStyle.hasPathEffect() || (fShape.dir() == GrShape::kDefaultDir &&
434 fShape.startIndex() == GrShape::kDefaultStart));
445 *dir = GrShape::kDefaultDir;
448 *start = GrShape::kDefaultStart;
492 // Canonicalize the index if the rrect is an oval, which GrShape doesn't treat special
568 AutoRestoreInverseness(GrShape* shape, const GrStyle& style)
579 GrShape* fShape;
588 simplifyFlags = GrShape::kAll_Flags;
592 simplifyFlags |= GrShape::kIgnoreWinding_Flag;
594 simplifyFlags |= GrShape::kMakeCanonical_Flag;
599 GrShape::Type oldType = fShape.type();
617 fShape.path().setFillType(GrShape::kDefaultFillType);