| Index: src/gpu/GrShape.h
|
| diff --git a/src/gpu/GrShape.h b/src/gpu/GrShape.h
|
| index 81684e8e2f5cf0c9e3eebff2be3d42be8e0d79c9..12093f41436e492dbb9af9d0de61abdb5548f032 100644
|
| --- a/src/gpu/GrShape.h
|
| +++ b/src/gpu/GrShape.h
|
| @@ -148,6 +148,12 @@ public:
|
| */
|
| bool isEmpty() const { return Type::kEmpty == fType; }
|
|
|
| + /** Gets the bounds of the geometry without reflecting the shape's styling. */
|
| + const SkRect& bounds() const;
|
| +
|
| + /** Gets the bounds of the geometry reflecting the shape's styling. */
|
| + void styledBounds(SkRect* bounds) const;
|
| +
|
| /**
|
| * Is it known that the unstyled geometry has no unclosed contours. This means that it will
|
| * not have any caps if stroked (modulo the effect of any path effect).
|
|
|