| 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 30 matching lines...) Expand all Loading... |
| 41 static FloatRect zeroLengthSubpathRect(const FloatPoint&, float); | 41 static FloatRect zeroLengthSubpathRect(const FloatPoint&, float); |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 virtual const char* renderName() const override { return "RenderSVGPath"; } | 44 virtual const char* renderName() const override { return "RenderSVGPath"; } |
| 45 | 45 |
| 46 virtual void updateShapeFromElement() override; | 46 virtual void updateShapeFromElement() override; |
| 47 FloatRect calculateUpdatedStrokeBoundingBox() const; | 47 FloatRect calculateUpdatedStrokeBoundingBox() const; |
| 48 | 48 |
| 49 virtual bool shapeDependentStrokeContains(const FloatPoint&) override; | 49 virtual bool shapeDependentStrokeContains(const FloatPoint&) override; |
| 50 | 50 |
| 51 virtual FloatRect actualStrokeBoundingBox() const; |
| 52 |
| 51 FloatRect markerRect(float strokeWidth) const; | 53 FloatRect markerRect(float strokeWidth) const; |
| 52 bool shouldGenerateMarkerPositions() const; | 54 bool shouldGenerateMarkerPositions() const; |
| 53 virtual void processMarkerPositions() override; | 55 virtual void processMarkerPositions() override; |
| 54 | 56 |
| 55 bool shouldStrokeZeroLengthSubpath() const; | 57 bool shouldStrokeZeroLengthSubpath() const; |
| 56 void updateZeroLengthSubpaths(); | 58 void updateZeroLengthSubpaths(); |
| 57 | 59 |
| 58 Vector<MarkerPosition> m_markerPositions; | 60 Vector<MarkerPosition> m_markerPositions; |
| 61 FloatRect m_markerRect; |
| 59 Vector<FloatPoint> m_zeroLengthLinecapLocations; | 62 Vector<FloatPoint> m_zeroLengthLinecapLocations; |
| 60 }; | 63 }; |
| 61 | 64 |
| 62 } | 65 } |
| 63 | 66 |
| 64 #endif | 67 #endif |
| OLD | NEW |