Add bounds to GrShape
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1970003003

Review-Url: https://codereview.chromium.org/1970003003
diff --git a/src/gpu/GrShape.h b/src/gpu/GrShape.h
index 81684e8..12093f4 100644
--- a/src/gpu/GrShape.h
+++ b/src/gpu/GrShape.h
@@ -148,6 +148,12 @@
      */
     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).