aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-29 17:44:45 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-29 17:44:45 +0000
commit6f5abddf898dc2c2497394fe9a0b82e1f872b0d5 (patch)
tree19baa75d0680b1c18476f19dcb4609e8c17a2410 /gm
parenta0d91388bb6d3d18b7409dbc1654a4335b051ae5 (diff)
add 90 degree test case to rects GM
Diffstat (limited to 'gm')
-rw-r--r--gm/rects.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gm/rects.cpp b/gm/rects.cpp
index 2c972fb0cc..3816f9e700 100644
--- a/gm/rects.cpp
+++ b/gm/rects.cpp
@@ -159,6 +159,13 @@ protected:
m.setRotate(SkIntToScalar(30));
fMatrices.push_back(m);
}
+
+ {
+ // 90 degree rotation
+ SkMatrix m;
+ m.setRotate(SkIntToScalar(90));
+ fMatrices.push_back(m);
+ }
}
void makeRects() {