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

Unified Diff: src/utils/SkCurveMeasure.h

Issue 2243313002: Implement Conics in SkCurveMeasure (Closed) Base URL: https://skia.googlesource.com/skia.git@cubic_fix
Patch Set: Created 4 years, 4 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/utils/SkCurveMeasure.cpp » ('j') | src/utils/SkCurveMeasure.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkCurveMeasure.h
diff --git a/src/utils/SkCurveMeasure.h b/src/utils/SkCurveMeasure.h
index 5807211236efbe96d146eff421f096e5697e7957..93fd5caadec8c888cab600ffe2a84f1ed990d410 100644
--- a/src/utils/SkCurveMeasure.h
+++ b/src/utils/SkCurveMeasure.h
@@ -39,6 +39,8 @@ private:
// precomputed coefficients for derivatives in Horner form
Sk8f xCoeff[3];
caryclark 2016/08/15 19:13:04 Preceed with 'f'
Harry Stern 2016/08/15 20:55:17 Done.
Sk8f yCoeff[3];
+
+ SkScalar fConicW = 0;
caryclark 2016/08/15 19:13:04 Why zero? That's a valid weight; do you mean for i
Harry Stern 2016/08/15 20:55:17 This variable only gets read when we are a conic,
};
class SkCurveMeasure {
« no previous file with comments | « no previous file | src/utils/SkCurveMeasure.cpp » ('j') | src/utils/SkCurveMeasure.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698