commit | 6f5abddf898dc2c2497394fe9a0b82e1f872b0d5 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 29 17:44:45 2013 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 29 17:44:45 2013 +0000 |
tree | 19baa75d0680b1c18476f19dcb4609e8c17a2410 | |
parent | a0d91388bb6d3d18b7409dbc1654a4335b051ae5 [diff] [blame] |
add 90 degree test case to rects GM https://codereview.chromium.org/13844017/ git-svn-id: http://skia.googlecode.com/svn/trunk@8911 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/rects.cpp b/gm/rects.cpp index 2c972fb..3816f9e 100644 --- a/gm/rects.cpp +++ b/gm/rects.cpp
@@ -159,6 +159,13 @@ m.setRotate(SkIntToScalar(30)); fMatrices.push_back(m); } + + { + // 90 degree rotation + SkMatrix m; + m.setRotate(SkIntToScalar(90)); + fMatrices.push_back(m); + } } void makeRects() {