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

Unified Diff: src/pathops/SkDQuadImplicit.h

Issue 1037573004: cumulative pathops patch (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix pathopsinverse gm Created 5 years, 9 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 | « src/pathops/SkDLineIntersection.cpp ('k') | src/pathops/SkDQuadImplicit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkDQuadImplicit.h
diff --git a/src/pathops/SkDQuadImplicit.h b/src/pathops/SkDQuadImplicit.h
deleted file mode 100644
index 24f1aac2ef880fdf1984d38d2f6916b728fabefe..0000000000000000000000000000000000000000
--- a/src/pathops/SkDQuadImplicit.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#ifndef SkDQuadImplicit_DEFINED
-#define SkDQuadImplicit_DEFINED
-
-#include "SkPathOpsQuad.h"
-
-class SkDQuadImplicit {
-public:
- explicit SkDQuadImplicit(const SkDQuad& q);
-
- bool match(const SkDQuadImplicit& two) const;
- static bool Match(const SkDQuad& quad1, const SkDQuad& quad2);
-
- double x2() const { return fP[kXx_Coeff]; }
- double xy() const { return fP[kXy_Coeff]; }
- double y2() const { return fP[kYy_Coeff]; }
- double x() const { return fP[kX_Coeff]; }
- double y() const { return fP[kY_Coeff]; }
- double c() const { return fP[kC_Coeff]; }
-
-private:
- enum Coeffs {
- kXx_Coeff,
- kXy_Coeff,
- kYy_Coeff,
- kX_Coeff,
- kY_Coeff,
- kC_Coeff,
- };
-
- double fP[kC_Coeff + 1];
-};
-
-#endif
« no previous file with comments | « src/pathops/SkDLineIntersection.cpp ('k') | src/pathops/SkDQuadImplicit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698