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

Unified Diff: src/core/SkPath.cpp

Issue 2409983004: Correct a small mistake in SkPath::build_arc_conics (Closed)
Patch Set: undo changes to canvas->translate Created 4 years, 2 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 | « gm/addarc.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPath.cpp
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
index 4c49e6bc126e6871cf102dc64b75120173951368..752be8b064a9998bc7f6a3c6f665ed40c11bfc3e 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -1089,7 +1089,7 @@ static int build_arc_conics(const SkRect& oval, const SkVector& start, const SkV
int count = SkConic::BuildUnitArc(start, stop, dir, &matrix, conics);
if (0 == count) {
- matrix.mapXY(start.x(), start.y(), singlePt);
+ matrix.mapXY(stop.x(), stop.y(), singlePt);
}
return count;
}
« no previous file with comments | « gm/addarc.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698