aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/pathfill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/pathfill.cpp')
-rw-r--r--gm/pathfill.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/gm/pathfill.cpp b/gm/pathfill.cpp
index cb878abe14..0fcffdc23f 100644
--- a/gm/pathfill.cpp
+++ b/gm/pathfill.cpp
@@ -547,4 +547,15 @@ DEF_SIMPLE_GM(bug7792, canvas, 600, 800) {
path.moveTo(75, 75);
path.close();
canvas->drawPath(path, p);
+ // from skbug.com/7792#c31
+ canvas->translate(200, 0);
+ path.reset();
+ path.moveTo(75, 75);
+ path.lineTo(150, 75);
+ path.lineTo(150, 150);
+ path.lineTo(75, 150);
+ path.lineTo(75, 10);
+ path.moveTo(75, 75);
+ path.close();
+ canvas->drawPath(path, p);
}