Lines Matching refs:rrect
23 * Represents a geometric shape (rrect or path) and the GrStyle that it should be rendered with.
35 * Currently this can only be constructed from a path, rect, or rrect though it can become a path
52 explicit GrStyledShape(const SkRRect& rrect, DoSimplify doSimplify = DoSimplify::kYes)
53 : GrStyledShape(rrect, GrStyle::SimpleFill(), doSimplify) {}
62 GrStyledShape(const SkRRect& rrect, const SkPaint& paint,
64 : GrStyledShape(rrect, GrStyle(paint), doSimplify) {}
78 GrStyledShape(const SkRRect& rrect, const GrStyle& style,
80 : fShape(rrect), fStyle(style) {
86 GrStyledShape(const SkRRect& rrect, SkPathDirection dir, unsigned start, bool inverted,
88 : fShape(rrect)
148 // Should have simplified a rrect to a rect if possible already.
149 SkASSERT(!fShape.isRRect() || !fShape.rrect().isRect());
153 /** Returns the unstyled geometry as a rrect if possible. */
154 bool asRRect(SkRRect* rrect, SkPathDirection* dir, unsigned* start, bool* inverted) const;