Lines Matching defs:const

49     explicit GrStyledShape(const SkPath& path, DoSimplify doSimplify = DoSimplify::kYes)
52 explicit GrStyledShape(const SkRRect& rrect, DoSimplify doSimplify = DoSimplify::kYes)
55 explicit GrStyledShape(const SkRect& rect, DoSimplify doSimplify = DoSimplify::kYes)
58 GrStyledShape(const SkPath& path, const SkPaint& paint,
62 GrStyledShape(const SkRRect& rrect, const SkPaint& paint,
66 GrStyledShape(const SkRect& rect, const SkPaint& paint,
70 GrStyledShape(const SkPath& path, const GrStyle& style,
78 GrStyledShape(const SkRRect& rrect, const GrStyle& style,
86 GrStyledShape(const SkRRect& rrect, SkPathDirection dir, unsigned start, bool inverted,
87 const GrStyle& style, DoSimplify doSimplify = DoSimplify::kYes)
97 GrStyledShape(const SkRect& rect, const GrStyle& style,
105 GrStyledShape(const GrStyledShape&);
107 static GrStyledShape MakeArc(const SkRect& oval, SkScalar startAngleDegrees,
108 SkScalar sweepAngleDegrees, bool useCenter, const GrStyle& style,
111 GrStyledShape& operator=(const GrStyledShape& that);
130 static GrStyledShape MakeFilled(const GrStyledShape& original,
133 const GrStyle& style() const { return fStyle; }
136 bool simplified() const { return fSimplified; }
143 GrStyledShape applyStyle(GrStyle::Apply apply, SkScalar scale) const {
147 bool isRect() const {
154 bool asRRect(SkRRect* rrect, SkPathDirection* dir, unsigned* start, bool* inverted) const;
160 bool asLine(SkPoint pts[2], bool* inverted) const;
163 bool asNestedRects(SkRect rects[2]) const;
166 void asPath(SkPath* out) const {
174 bool isEmpty() const { return fShape.isEmpty(); }
180 SkRect bounds() const { return fShape.bounds(); }
186 SkRect styledBounds() const;
193 bool knownToBeConvex() const {
202 bool knownDirection() const {
210 bool inverseFilled() const {
223 bool mayBeInverseFilledAfterStyling() const {
236 bool knownToBeClosed() const {
241 uint32_t segmentMask() const {
250 int unstyledKeySize() const;
252 bool hasUnstyledKey() const { return this->unstyledKeySize() >= 0; }
259 void writeUnstyledKey(uint32_t* key) const;
266 void addGenIDChangeListener(sk_sp<SkIDChangeListener>) const;
273 uint32_t testingOnly_getOriginalGenerationID() const;
274 bool testingOnly_isPath() const;
275 bool testingOnly_isNonVolatilePath() const;
286 GrStyledShape(const GrStyledShape& parentShape, GrStyle::Apply, SkScalar scale);
292 void setInheritedKey(const GrStyledShape& parentShape, GrStyle::Apply, SkScalar scale);
301 const SkPath* originalPathForListeners() const;