| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #include "SVGNames.h" | 26 #include "SVGNames.h" |
| 27 #include "core/platform/graphics/transforms/AffineTransform.h" | 27 #include "core/platform/graphics/transforms/AffineTransform.h" |
| 28 #include "core/rendering/RenderObject.h" | 28 #include "core/rendering/RenderObject.h" |
| 29 #include "core/rendering/svg/RenderSVGResource.h" | 29 #include "core/rendering/svg/RenderSVGResource.h" |
| 30 #include "core/rendering/svg/SVGPathData.h" | 30 #include "core/rendering/svg/SVGPathData.h" |
| 31 #include "core/svg/SVGElementInstance.h" | 31 #include "core/svg/SVGElementInstance.h" |
| 32 #include "core/svg/SVGMPathElement.h" | 32 #include "core/svg/SVGMPathElement.h" |
| 33 #include "core/svg/SVGParserUtilities.h" | 33 #include "core/svg/SVGParserUtilities.h" |
| 34 #include "core/svg/SVGPathElement.h" | 34 #include "core/svg/SVGPathElement.h" |
| 35 #include "core/svg/SVGPathUtilities.h" | 35 #include "core/svg/SVGPathUtilities.h" |
| 36 #include <wtf/MathExtras.h> | 36 #include "wtf/MathExtras.h" |
| 37 #include <wtf/StdLibExtras.h> | 37 #include "wtf/StdLibExtras.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 using namespace SVGNames; | 41 using namespace SVGNames; |
| 42 | 42 |
| 43 inline SVGAnimateMotionElement::SVGAnimateMotionElement(const QualifiedName& tag
Name, Document* document) | 43 inline SVGAnimateMotionElement::SVGAnimateMotionElement(const QualifiedName& tag
Name, Document* document) |
| 44 : SVGAnimationElement(tagName, document) | 44 : SVGAnimationElement(tagName, document) |
| 45 , m_hasToPointAtEndOfDuration(false) | 45 , m_hasToPointAtEndOfDuration(false) |
| 46 { | 46 { |
| 47 setCalcMode(CalcModePaced); | 47 setCalcMode(CalcModePaced); |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 | 332 |
| 333 void SVGAnimateMotionElement::updateAnimationMode() | 333 void SVGAnimateMotionElement::updateAnimationMode() |
| 334 { | 334 { |
| 335 if (!m_animationPath.isEmpty()) | 335 if (!m_animationPath.isEmpty()) |
| 336 setAnimationMode(PathAnimation); | 336 setAnimationMode(PathAnimation); |
| 337 else | 337 else |
| 338 SVGAnimationElement::updateAnimationMode(); | 338 SVGAnimationElement::updateAnimationMode(); |
| 339 } | 339 } |
| 340 | 340 |
| 341 } | 341 } |
| OLD | NEW |