Index: gm/rrects.cpp |
diff --git a/gm/rrects.cpp b/gm/rrects.cpp |
index 6c63af9b30992f086fa8af0a652b28c8c95cb3e3..b89c79ff6b5a936e957bf5e8d9f2b66aad142df0 100644 |
--- a/gm/rrects.cpp |
+++ b/gm/rrects.cpp |
@@ -185,7 +185,7 @@ private: |
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 @@ const SkVector RRectGM::gRadii[kNumComplexCases][4] = { |
{ { 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 } }, |
}; |
/////////////////////////////////////////////////////////////////////////////// |