computeFastStrokeBounds needs to pass kStroke_Style instead of kFill_Style (ya think?)
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 May 2012 19:21:12 +0000 (19:21 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 16 May 2012 19:21:12 +0000 (19:21 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3981 2bbb7eff-a529-9590-31e7-b0007b416f81

include/core/SkPaint.h

index 134d4bf..1930db1 100644 (file)
@@ -881,7 +881,7 @@ public:
     
     const SkRect& computeFastStrokeBounds(const SkRect& orig,
                                           SkRect* storage) const {
-        return this->doComputeFastBounds(orig, storage, kFill_Style);
+        return this->doComputeFastBounds(orig, storage, kStroke_Style);
     }
     
     // Take the style explicitly, so the caller can force us to be stroked