| 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));
|
|
|