aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/aaa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/aaa.cpp')
-rw-r--r--gm/aaa.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/gm/aaa.cpp b/gm/aaa.cpp
index 910ce19988..b2fc6337d9 100644
--- a/gm/aaa.cpp
+++ b/gm/aaa.cpp
@@ -44,6 +44,7 @@ protected:
y += 200;
+ canvas->save();
canvas->translate(0, y);
canvas->rotate(1);
canvas->drawRect({ 20, 20, 20.2f, 200 }, p);
@@ -78,6 +79,7 @@ protected:
// skbug.com/7573
y += 200;
+ canvas->save();
canvas->translate(0, y);
p.setAntiAlias(true);
path.reset();
@@ -87,6 +89,15 @@ protected:
path.lineTo(1.93990216f, 10.5837256f);
canvas->drawPath(path, p);
canvas->restore();
+
+ // skbug.com/7813
+ // t8888 splits the 800-high canvas into 3 pieces; the boundary is close to 266 and 534
+ path.reset();
+ path.moveTo(700, 266);
+ path.lineTo(710, 266);
+ path.lineTo(710, 534);
+ path.lineTo(700, 534);
+ canvas->drawPath(path, p);
}
private: