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

Unified Diff: src/core/SkEdgeBuilder.cpp

Issue 837023002: fixes for conics (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 months 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 | « no previous file | src/pathops/SkOpEdgeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkEdgeBuilder.cpp
diff --git a/src/core/SkEdgeBuilder.cpp b/src/core/SkEdgeBuilder.cpp
index 51da3a199af8f869ba71e64c2abd50bd3ea5ed48..8dcc47a6ce2ccf87a0ce34e5e969817e76c68dad 100644
--- a/src/core/SkEdgeBuilder.cpp
+++ b/src/core/SkEdgeBuilder.cpp
@@ -172,7 +172,7 @@ int SkEdgeBuilder::build(const SkPath& path, const SkIRect* iclip,
}
SkAutoConicToQuads quadder;
- const SkScalar conicTol = (SK_Scalar1 / 4) * (1 << shiftUp);
+ const SkScalar conicTol = SK_Scalar1 / 4;
SkPath::Iter iter(path, true);
SkPoint pts[4];
« no previous file with comments | « no previous file | src/pathops/SkOpEdgeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698