Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(917)

Unified Diff: gm/strokerect.cpp

Issue 1548643002: revised strokerect gm (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: handle halfway case in scan converter Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/pathfill.cpp ('k') | include/core/SkRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/strokerect.cpp
diff --git a/gm/strokerect.cpp b/gm/strokerect.cpp
index c1904953d69e60fca752342c7af3ad1ac5fab64a..f7e36057dff838a91a05f4c288d36d1267da0260 100644
--- a/gm/strokerect.cpp
+++ b/gm/strokerect.cpp
@@ -79,6 +79,9 @@ protected:
{ 0, 0, W, 0 },
{ 0, 0, 0, H },
{ 0, 0, 0, 0 },
+ { 0, 0, W, FLT_EPSILON },
+ { 0, 0, FLT_EPSILON, H },
+ { 0, 0, FLT_EPSILON, FLT_EPSILON },
};
for (int doFill = 0; doFill <= 1; ++doFill) {
« no previous file with comments | « gm/pathfill.cpp ('k') | include/core/SkRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698