| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 #include "SVGPathSegClosePath.h" | 30 #include "SVGPathSegClosePath.h" |
| 31 #include "SVGPathSegCurvetoCubic.h" | 31 #include "SVGPathSegCurvetoCubic.h" |
| 32 #include "SVGPathSegCurvetoCubicSmooth.h" | 32 #include "SVGPathSegCurvetoCubicSmooth.h" |
| 33 #include "SVGPathSegCurvetoQuadratic.h" | 33 #include "SVGPathSegCurvetoQuadratic.h" |
| 34 #include "SVGPathSegCurvetoQuadraticSmooth.h" | 34 #include "SVGPathSegCurvetoQuadraticSmooth.h" |
| 35 #include "SVGPathSegLineto.h" | 35 #include "SVGPathSegLineto.h" |
| 36 #include "SVGPathSegLinetoHorizontal.h" | 36 #include "SVGPathSegLinetoHorizontal.h" |
| 37 #include "SVGPathSegLinetoVertical.h" | 37 #include "SVGPathSegLinetoVertical.h" |
| 38 #include "SVGPathSegList.h" | 38 #include "SVGPathSegList.h" |
| 39 #include "SVGPathSegListBuilder.h" | 39 #include "SVGPathSegListBuilder.h" |
| 40 #include "SVGPathSegListPropertyTearOff.h" | |
| 41 #include "SVGPathSegMoveto.h" | 40 #include "SVGPathSegMoveto.h" |
| 42 #include "SVGPathUtilities.h" | 41 #include "SVGPathUtilities.h" |
| 43 #include "SVGSVGElement.h" | 42 #include "SVGSVGElement.h" |
| 44 #include "core/dom/Attribute.h" | 43 #include "core/dom/Attribute.h" |
| 45 #include "core/rendering/svg/RenderSVGPath.h" | 44 #include "core/rendering/svg/RenderSVGPath.h" |
| 46 #include "core/rendering/svg/RenderSVGResource.h" | 45 #include "core/rendering/svg/RenderSVGResource.h" |
| 46 #include "core/svg/properties/SVGPathSegListPropertyTearOff.h" |
| 47 | 47 |
| 48 namespace WebCore { | 48 namespace WebCore { |
| 49 | 49 |
| 50 // Define custom animated property 'd'. | 50 // Define custom animated property 'd'. |
| 51 const SVGPropertyInfo* SVGPathElement::dPropertyInfo() | 51 const SVGPropertyInfo* SVGPathElement::dPropertyInfo() |
| 52 { | 52 { |
| 53 static const SVGPropertyInfo* s_propertyInfo = 0; | 53 static const SVGPropertyInfo* s_propertyInfo = 0; |
| 54 if (!s_propertyInfo) { | 54 if (!s_propertyInfo) { |
| 55 s_propertyInfo = new SVGPropertyInfo(AnimatedPath, | 55 s_propertyInfo = new SVGPropertyInfo(AnimatedPath, |
| 56 PropertyIsReadWrite, | 56 PropertyIsReadWrite, |
| (...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 | 407 |
| 408 RenderObject* SVGPathElement::createRenderer(RenderArena* arena, RenderStyle*) | 408 RenderObject* SVGPathElement::createRenderer(RenderArena* arena, RenderStyle*) |
| 409 { | 409 { |
| 410 // By default, any subclass is expected to do path-based drawing | 410 // By default, any subclass is expected to do path-based drawing |
| 411 return new (arena) RenderSVGPath(this); | 411 return new (arena) RenderSVGPath(this); |
| 412 } | 412 } |
| 413 | 413 |
| 414 } | 414 } |
| 415 | 415 |
| 416 #endif // ENABLE(SVG) | 416 #endif // ENABLE(SVG) |
| OLD | NEW |