| 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 16 matching lines...) Expand all Loading... |
| 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 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 RenderSVGPath::RenderSVGPath(SVGStyledTransformableElement* node) | 37 RenderSVGPath::RenderSVGPath(SVGGraphicsElement* node) |
| 38 : RenderSVGShape(node) | 38 : RenderSVGShape(node) |
| 39 { | 39 { |
| 40 } | 40 } |
| 41 | 41 |
| 42 RenderSVGPath::~RenderSVGPath() | 42 RenderSVGPath::~RenderSVGPath() |
| 43 { | 43 { |
| 44 } | 44 } |
| 45 | 45 |
| 46 void RenderSVGPath::updateShapeFromElement() | 46 void RenderSVGPath::updateShapeFromElement() |
| 47 { | 47 { |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 | 154 |
| 155 if (!strokeWidth() || !shouldStrokeZeroLengthSubpath()) | 155 if (!strokeWidth() || !shouldStrokeZeroLengthSubpath()) |
| 156 return; | 156 return; |
| 157 | 157 |
| 158 SVGSubpathData subpathData(m_zeroLengthLinecapLocations); | 158 SVGSubpathData subpathData(m_zeroLengthLinecapLocations); |
| 159 path().apply(&subpathData, SVGSubpathData::updateFromPathElement); | 159 path().apply(&subpathData, SVGSubpathData::updateFromPathElement); |
| 160 subpathData.pathIsDone(); | 160 subpathData.pathIsDone(); |
| 161 } | 161 } |
| 162 | 162 |
| 163 } | 163 } |
| OLD | NEW |