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

Unified Diff: Source/platform/geometry/FloatPoint.cpp

Issue 132233016: [SVG] SVGAnimatedPointList migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: set NeedsRebaseline Created 6 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 | « Source/platform/geometry/FloatPoint.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/geometry/FloatPoint.cpp
diff --git a/Source/platform/geometry/FloatPoint.cpp b/Source/platform/geometry/FloatPoint.cpp
index f8bcd63b4d0b4cd82e038e5dacd520f1e6677266..264d45872ba651ff2e6dcbf433a95e901ec49470 100644
--- a/Source/platform/geometry/FloatPoint.cpp
+++ b/Source/platform/geometry/FloatPoint.cpp
@@ -31,8 +31,6 @@
#include "platform/FloatConversion.h"
#include "platform/geometry/LayoutPoint.h"
#include "platform/geometry/LayoutSize.h"
-#include "platform/transforms/AffineTransform.h"
-#include "platform/transforms/TransformationMatrix.h"
#include <limits>
#include <math.h>
@@ -90,20 +88,6 @@ FloatPoint::operator SkPoint() const
return p;
}
-FloatPoint FloatPoint::matrixTransform(const AffineTransform& transform) const
-{
- double newX, newY;
- transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY);
- return narrowPrecision(newX, newY);
-}
-
-FloatPoint FloatPoint::matrixTransform(const TransformationMatrix& transform) const
-{
- double newX, newY;
- transform.map(static_cast<double>(m_x), static_cast<double>(m_y), newX, newY);
- return narrowPrecision(newX, newY);
-}
-
FloatPoint FloatPoint::narrowPrecision(double x, double y)
{
return FloatPoint(narrowPrecisionToFloat(x), narrowPrecisionToFloat(y));
« no previous file with comments | « Source/platform/geometry/FloatPoint.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698