aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkPath.h
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-12 20:48:18 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-12 20:48:18 +0000
commit4ed0fb768409bf97b79899c3990d8c15f5e9d784 (patch)
tree18006613a412171f7b15931e71b2624169396d7a /include/core/SkPath.h
parent1558d68b5c2d0d1734d5fe30ce90cbf0bc68d056 (diff)
revert 6766, thereby re-landing 6762-6763 now that the bots are ready
git-svn-id: http://skia.googlecode.com/svn/trunk@6770 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkPath.h')
-rw-r--r--include/core/SkPath.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index b85e827331..98d775222b 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -28,6 +28,7 @@ class SkWriter32;
class SkAutoPathBoundsUpdate;
class SkString;
class SkPathRef;
+class SkRRect;
#ifndef SK_DEBUG_PATH_REF
#define SK_DEBUG_PATH_REF 0
@@ -656,6 +657,11 @@ public:
Direction dir = kCW_Direction);
/**
+ * Add a SkRRect contour to the path
+ */
+ void addRRect(const SkRRect&, Direction dir = kCW_Direction);
+
+ /**
* Add a new contour made of just lines. This is just a fast version of
* the following:
* this->moveTo(pts[0]);