| 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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2006 Apple Computer, Inc | 5 * Copyright (C) 2006 Apple Computer, Inc |
| 6 * Copyright (C) 2009 Google, Inc. | 6 * Copyright (C) 2009 Google, Inc. |
| 7 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> | 7 * Copyright (C) 2011 Renata Hodovan <reni@webkit.org> |
| 8 * Copyright (C) 2011 University of Szeged | 8 * Copyright (C) 2011 University of Szeged |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 void updateRepaintBoundingBox(); | 124 void updateRepaintBoundingBox(); |
| 125 | 125 |
| 126 bool setupNonScalingStrokeContext(AffineTransform&, GraphicsContextStateSave
r&); | 126 bool setupNonScalingStrokeContext(AffineTransform&, GraphicsContextStateSave
r&); |
| 127 | 127 |
| 128 bool shouldGenerateMarkerPositions() const; | 128 bool shouldGenerateMarkerPositions() const; |
| 129 FloatRect markerRect(float strokeWidth) const; | 129 FloatRect markerRect(float strokeWidth) const; |
| 130 void processMarkerPositions(); | 130 void processMarkerPositions(); |
| 131 | 131 |
| 132 void fillShape(RenderStyle*, GraphicsContext*); | 132 void fillShape(RenderStyle*, GraphicsContext*); |
| 133 void strokeShape(RenderStyle*, GraphicsContext*); | 133 void strokeShape(RenderStyle*, GraphicsContext*); |
| 134 void fillAndStrokeShape(GraphicsContext*); | |
| 135 void drawMarkers(PaintInfo&); | 134 void drawMarkers(PaintInfo&); |
| 136 | 135 |
| 137 private: | 136 private: |
| 138 FloatRect m_repaintBoundingBox; | 137 FloatRect m_repaintBoundingBox; |
| 139 FloatRect m_repaintBoundingBoxExcludingShadow; | 138 FloatRect m_repaintBoundingBoxExcludingShadow; |
| 140 AffineTransform m_localTransform; | 139 AffineTransform m_localTransform; |
| 141 OwnPtr<Path> m_path; | 140 OwnPtr<Path> m_path; |
| 142 Vector<MarkerPosition> m_markerPositions; | 141 Vector<MarkerPosition> m_markerPositions; |
| 143 | 142 |
| 144 bool m_needsBoundariesUpdate : 1; | 143 bool m_needsBoundariesUpdate : 1; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 157 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isSVGShape()); | 156 ASSERT_WITH_SECURITY_IMPLICATION(!object || object->isSVGShape()); |
| 158 return static_cast<const RenderSVGShape*>(object); | 157 return static_cast<const RenderSVGShape*>(object); |
| 159 } | 158 } |
| 160 | 159 |
| 161 // This will catch anyone doing an unnecessary cast. | 160 // This will catch anyone doing an unnecessary cast. |
| 162 void toRenderSVGShape(const RenderSVGShape*); | 161 void toRenderSVGShape(const RenderSVGShape*); |
| 163 | 162 |
| 164 } | 163 } |
| 165 | 164 |
| 166 #endif | 165 #endif |
| OLD | NEW |