Index: gm/rrects.cpp |
diff --git a/gm/rrects.cpp b/gm/rrects.cpp |
index cc76718b0a5f114c98a2b2a7bbc18f1910ffe74b..a79ff5462f67d71fe817c864c7eb2d1bae333a6a 100644 |
--- a/gm/rrects.cpp |
+++ b/gm/rrects.cpp |
@@ -189,7 +189,7 @@ private: |
static const int kTileY = 40; |
static const int kNumSimpleCases = 7; |
- static const int kNumComplexCases = 23; |
+ static const int kNumComplexCases = 27; |
static const SkVector gRadii[kNumComplexCases][4]; |
static const int kNumRRects = kNumSimpleCases + kNumComplexCases; |
@@ -238,6 +238,12 @@ const SkVector RRectGM::gRadii[kNumComplexCases][4] = { |
{ { 20, 20 }, { 20, 20 }, { 0, 0 }, { 0, 0 } }, |
{ { 0, 0 }, { 0, 0 }, { 20, 20 }, { 20, 20 } }, |
{ { 20, 20 }, { 0, 0 }, { 0, 0 }, { 20, 20 } }, |
+ |
+ // single circular corner cases |
+ { { 0, 0 }, { 0, 0 }, { 0, 0 }, { 15, 15 } }, |
+ { { 0, 0 }, { 0, 0 }, { 15, 15 }, { 0, 0 } }, |
+ { { 0, 0 }, { 15, 15 }, { 0, 0 }, { 0, 0 } }, |
+ { { 15, 15 }, { 0, 0 }, { 0, 0 }, { 0, 0 } }, |
}; |
/////////////////////////////////////////////////////////////////////////////// |