Add effect-based clip for nine-patch SkRRects.

BUG=skia:2181
R=jvanverth@google.com, robertphillips@google.com, rmistry@google.com

Author: bsalomon@google.com

Review URL: https://codereview.chromium.org/194703011

git-svn-id: http://skia.googlecode.com/svn/trunk@13794 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/rrects.cpp b/gm/rrects.cpp
index 6c63af9..b89c79f 100644
--- a/gm/rrects.cpp
+++ b/gm/rrects.cpp
@@ -185,7 +185,7 @@
     static const int kTileY = 40;
 
     static const int kNumSimpleCases = 7;
-    static const int kNumComplexCases = 27;
+    static const int kNumComplexCases = 29;
     static const SkVector gRadii[kNumComplexCases][4];
 
     static const int kNumRRects = kNumSimpleCases + kNumComplexCases;
@@ -240,6 +240,10 @@
     { { 0, 0 }, { 0, 0 }, { 15, 15 }, { 0, 0 } },
     { { 0, 0 }, { 15, 15 }, { 0, 0 }, { 0, 0 } },
     { { 15, 15 }, { 0, 0 }, { 0, 0 }, { 0, 0 } },
+
+    // nine patch elliptical
+    { { 5, 7 }, { 8, 7 }, { 8, 12 }, { 5, 12 } },
+    { { 0, 7 }, { 8, 7 }, { 8, 12 }, { 0, 12 } },
 };
 
 ///////////////////////////////////////////////////////////////////////////////