| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2008 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005, 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
| 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 6 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 8 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> | 8 * Copyright (C) 2009 Jeff Schiller <codedread@gmail.com> |
| 9 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> | 9 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> |
| 10 * Copyright (C) 2011 University of Szeged | 10 * Copyright (C) 2011 University of Szeged |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 25 * Boston, MA 02110-1301, USA. | 25 * Boston, MA 02110-1301, USA. |
| 26 */ | 26 */ |
| 27 | 27 |
| 28 #include "config.h" | 28 #include "config.h" |
| 29 | 29 |
| 30 #include "core/rendering/svg/RenderSVGPath.h" | 30 #include "core/rendering/svg/RenderSVGPath.h" |
| 31 | 31 |
| 32 #include "core/platform/graphics/GraphicsContextStateSaver.h" | 32 #include "core/platform/graphics/GraphicsContextStateSaver.h" |
| 33 #include "core/rendering/svg/SVGSubpathData.h" | 33 #include "core/rendering/svg/SVGSubpathData.h" |
| 34 #include "core/svg/SVGPathElement.h" | |
| 35 #include "core/svg/SVGStyledTransformableElement.h" | |
| 36 | 34 |
| 37 namespace WebCore { | 35 namespace WebCore { |
| 38 | 36 |
| 39 RenderSVGPath::RenderSVGPath(SVGStyledTransformableElement* node) | 37 RenderSVGPath::RenderSVGPath(SVGStyledTransformableElement* node) |
| 40 : RenderSVGShape(node) | 38 : RenderSVGShape(node) |
| 41 { | 39 { |
| 42 } | 40 } |
| 43 | 41 |
| 44 RenderSVGPath::~RenderSVGPath() | 42 RenderSVGPath::~RenderSVGPath() |
| 45 { | 43 { |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 | 154 |
| 157 if (!strokeWidth() || !shouldStrokeZeroLengthSubpath()) | 155 if (!strokeWidth() || !shouldStrokeZeroLengthSubpath()) |
| 158 return; | 156 return; |
| 159 | 157 |
| 160 SVGSubpathData subpathData(m_zeroLengthLinecapLocations); | 158 SVGSubpathData subpathData(m_zeroLengthLinecapLocations); |
| 161 path().apply(&subpathData, SVGSubpathData::updateFromPathElement); | 159 path().apply(&subpathData, SVGSubpathData::updateFromPathElement); |
| 162 subpathData.pathIsDone(); | 160 subpathData.pathIsDone(); |
| 163 } | 161 } |
| 164 | 162 |
| 165 } | 163 } |
| OLD | NEW |