| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 void updateRepaintBoundingBox(); | 125 void updateRepaintBoundingBox(); |
| 126 | 126 |
| 127 bool setupNonScalingStrokeContext(AffineTransform&, GraphicsContextStateSave
r&); | 127 bool setupNonScalingStrokeContext(AffineTransform&, GraphicsContextStateSave
r&); |
| 128 | 128 |
| 129 bool shouldGenerateMarkerPositions() const; | 129 bool shouldGenerateMarkerPositions() const; |
| 130 FloatRect markerRect(float strokeWidth) const; | 130 FloatRect markerRect(float strokeWidth) const; |
| 131 void processMarkerPositions(); | 131 void processMarkerPositions(); |
| 132 | 132 |
| 133 void fillShape(RenderStyle*, GraphicsContext*); | 133 void fillShape(RenderStyle*, GraphicsContext*); |
| 134 void strokeShape(RenderStyle*, GraphicsContext*); | 134 void strokeShape(RenderStyle*, GraphicsContext*); |
| 135 void fillAndStrokeShape(GraphicsContext*); | |
| 136 void drawMarkers(PaintInfo&); | 135 void drawMarkers(PaintInfo&); |
| 137 | 136 |
| 138 private: | 137 private: |
| 139 FloatRect m_repaintBoundingBox; | 138 FloatRect m_repaintBoundingBox; |
| 140 FloatRect m_repaintBoundingBoxExcludingShadow; | 139 FloatRect m_repaintBoundingBoxExcludingShadow; |
| 141 AffineTransform m_localTransform; | 140 AffineTransform m_localTransform; |
| 142 OwnPtr<Path> m_path; | 141 OwnPtr<Path> m_path; |
| 143 Vector<MarkerPosition> m_markerPositions; | 142 Vector<MarkerPosition> m_markerPositions; |
| 144 | 143 |
| 145 bool m_needsBoundariesUpdate : 1; | 144 bool m_needsBoundariesUpdate : 1; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 159 return static_cast<const RenderSVGShape*>(object); | 158 return static_cast<const RenderSVGShape*>(object); |
| 160 } | 159 } |
| 161 | 160 |
| 162 // This will catch anyone doing an unnecessary cast. | 161 // This will catch anyone doing an unnecessary cast. |
| 163 void toRenderSVGShape(const RenderSVGShape*); | 162 void toRenderSVGShape(const RenderSVGShape*); |
| 164 | 163 |
| 165 } | 164 } |
| 166 | 165 |
| 167 #endif // ENABLE(SVG) | 166 #endif // ENABLE(SVG) |
| 168 #endif | 167 #endif |
| OLD | NEW |