| Index: Source/platform/graphics/Path.cpp
|
| diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp
|
| index 89875f5d836a73bd56e9c3fa0a5086af87b81c8b..896f424fc822f3e54045513b06a84d6a45fdbe38 100644
|
| --- a/Source/platform/graphics/Path.cpp
|
| +++ b/Source/platform/graphics/Path.cpp
|
| @@ -168,14 +168,6 @@ FloatPoint Path::pointAtLength(float length, bool& ok) const
|
| return point;
|
| }
|
|
|
| -float Path::normalAngleAtLength(float length, bool& ok) const
|
| -{
|
| - FloatPoint point;
|
| - float normal;
|
| - ok = pointAndNormalAtLength(length, point, normal);
|
| - return normal;
|
| -}
|
| -
|
| static bool calculatePointAndNormalOnPath(SkPathMeasure& measure, SkScalar length, FloatPoint& point, float& normalAngle, SkScalar* accumulatedLength = 0)
|
| {
|
| do {
|
| @@ -273,13 +265,6 @@ FloatPoint Path::currentPoint() const
|
| return FloatPoint(quietNaN, quietNaN);
|
| }
|
|
|
| -WindRule Path::windRule() const
|
| -{
|
| - return m_path.getFillType() == SkPath::kEvenOdd_FillType
|
| - ? RULE_EVENODD
|
| - : RULE_NONZERO;
|
| -}
|
| -
|
| void Path::setWindRule(const WindRule rule)
|
| {
|
| m_path.setFillType(WebCoreWindRuleToSkFillType(rule));
|
| @@ -494,11 +479,6 @@ bool Path::subtractPath(const Path& other)
|
| return Op(m_path, other.m_path, kDifference_SkPathOp, &m_path);
|
| }
|
|
|
| -bool Path::intersectPath(const Path& other)
|
| -{
|
| - return Op(m_path, other.m_path, kIntersect_SkPathOp, &m_path);
|
| -}
|
| -
|
| bool Path::unionPath(const Path& other)
|
| {
|
| return Op(m_path, other.m_path, kUnion_SkPathOp, &m_path);
|
|
|