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

Unified Diff: src/core/SkPath.cpp

Issue 1639143002: Add quad to cubic bezier conversion utility to SkPath. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Modified comment style. Created 4 years, 10 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 | « include/core/SkPath.h ('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 ab8d7359d2271b5a15b531859f44379522a4b378..0928dfe7a7d5528898df8fed1d3d2c8645158115 100644
--- a/src/core/SkPath.cpp
+++ b/src/core/SkPath.cpp
@@ -3094,3 +3094,7 @@ int SkPath::ConvertConicToQuads(const SkPoint& p0, const SkPoint& p1, const SkPo
const SkConic conic(p0, p1, p2, w);
return conic.chopIntoQuadsPOW2(pts, pow2);
}
+
+void SkPath::ConvertQuadToCubic(const SkPoint src[3], SkPoint dst[4]) {
+ SkConvertQuadToCubic(src, dst);
+}
« no previous file with comments | « include/core/SkPath.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698