| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 if (!strokeTransform.isInvertible()) | 186 if (!strokeTransform.isInvertible()) |
| 187 return false; | 187 return false; |
| 188 | 188 |
| 189 stateSaver.save(); | 189 stateSaver.save(); |
| 190 stateSaver.context()->concatCTM(strokeTransform.inverse()); | 190 stateSaver.context()->concatCTM(strokeTransform.inverse()); |
| 191 return true; | 191 return true; |
| 192 } | 192 } |
| 193 | 193 |
| 194 AffineTransform RenderSVGShape::nonScalingStrokeTransform() const | 194 AffineTransform RenderSVGShape::nonScalingStrokeTransform() const |
| 195 { | 195 { |
| 196 return toSVGGraphicsElement(element())->getScreenCTM(SVGLocatable::DisallowS
tyleUpdate); | 196 return toSVGGraphicsElement(element())->getScreenCTM(SVGGraphicsElement::Dis
allowStyleUpdate); |
| 197 } | 197 } |
| 198 | 198 |
| 199 bool RenderSVGShape::shouldGenerateMarkerPositions() const | 199 bool RenderSVGShape::shouldGenerateMarkerPositions() const |
| 200 { | 200 { |
| 201 if (!style()->svgStyle()->hasMarkers()) | 201 if (!style()->svgStyle()->hasMarkers()) |
| 202 return false; | 202 return false; |
| 203 | 203 |
| 204 if (!toSVGGraphicsElement(element())->supportsMarkers()) | 204 if (!toSVGGraphicsElement(element())->supportsMarkers()) |
| 205 return false; | 205 return false; |
| 206 | 206 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 return; | 458 return; |
| 459 | 459 |
| 460 ASSERT(m_path); | 460 ASSERT(m_path); |
| 461 | 461 |
| 462 SVGMarkerData markerData(m_markerPositions); | 462 SVGMarkerData markerData(m_markerPositions); |
| 463 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement); | 463 m_path->apply(&markerData, SVGMarkerData::updateFromPathElement); |
| 464 markerData.pathIsDone(); | 464 markerData.pathIsDone(); |
| 465 } | 465 } |
| 466 | 466 |
| 467 } | 467 } |
| OLD | NEW |