| 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 #include "core/layout/svg/LayoutSVGShape.h" | 29 #include "core/layout/svg/LayoutSVGShape.h" |
| 30 | 30 |
| 31 #include "core/layout/HitTestResult.h" | 31 #include "core/layout/HitTestResult.h" |
| 32 #include "core/layout/LayoutAnalyzer.h" | 32 #include "core/layout/LayoutAnalyzer.h" |
| 33 #include "core/layout/PointerEventsHitRules.h" | 33 #include "core/layout/PointerEventsHitRules.h" |
| 34 #include "core/layout/svg/LayoutSVGResourcePaintServer.h" |
| 34 #include "core/layout/svg/SVGLayoutSupport.h" | 35 #include "core/layout/svg/SVGLayoutSupport.h" |
| 35 #include "core/layout/svg/SVGPathData.h" | 36 #include "core/layout/svg/SVGPathData.h" |
| 36 #include "core/layout/svg/SVGResources.h" | 37 #include "core/layout/svg/SVGResources.h" |
| 37 #include "core/layout/svg/SVGResourcesCache.h" | 38 #include "core/layout/svg/SVGResourcesCache.h" |
| 38 #include "core/paint/SVGShapePainter.h" | 39 #include "core/paint/SVGShapePainter.h" |
| 39 #include "core/svg/SVGGraphicsElement.h" | 40 #include "core/svg/SVGGraphicsElement.h" |
| 40 #include "core/svg/SVGLengthContext.h" | 41 #include "core/svg/SVGLengthContext.h" |
| 41 #include "platform/geometry/FloatPoint.h" | 42 #include "platform/geometry/FloatPoint.h" |
| 42 #include "platform/graphics/StrokeData.h" | 43 #include "platform/graphics/StrokeData.h" |
| 43 #include "wtf/MathExtras.h" | 44 #include "wtf/MathExtras.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 SVGLayoutSupport::intersectPaintInvalidationRectWithResources(this, m_paintI
nvalidationBoundingBox); | 281 SVGLayoutSupport::intersectPaintInvalidationRectWithResources(this, m_paintI
nvalidationBoundingBox); |
| 281 } | 282 } |
| 282 | 283 |
| 283 float LayoutSVGShape::strokeWidth() const | 284 float LayoutSVGShape::strokeWidth() const |
| 284 { | 285 { |
| 285 SVGLengthContext lengthContext(element()); | 286 SVGLengthContext lengthContext(element()); |
| 286 return lengthContext.valueForLength(style()->svgStyle().strokeWidth()); | 287 return lengthContext.valueForLength(style()->svgStyle().strokeWidth()); |
| 287 } | 288 } |
| 288 | 289 |
| 289 } | 290 } |
| OLD | NEW |