| 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 12 matching lines...) Expand all Loading... |
| 23 * Boston, MA 02110-1301, USA. | 23 * Boston, MA 02110-1301, USA. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #ifndef RenderSVGPath_h | 26 #ifndef RenderSVGPath_h |
| 27 #define RenderSVGPath_h | 27 #define RenderSVGPath_h |
| 28 | 28 |
| 29 #include "core/rendering/svg/RenderSVGShape.h" | 29 #include "core/rendering/svg/RenderSVGShape.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class RenderSVGPath FINAL : public RenderSVGShape { | 33 class RenderSVGPath final : public RenderSVGShape { |
| 34 public: | 34 public: |
| 35 explicit RenderSVGPath(SVGGraphicsElement*); | 35 explicit RenderSVGPath(SVGGraphicsElement*); |
| 36 virtual ~RenderSVGPath(); | 36 virtual ~RenderSVGPath(); |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 virtual const char* renderName() const OVERRIDE { return "RenderSVGPath"; } | 39 virtual const char* renderName() const override { return "RenderSVGPath"; } |
| 40 | 40 |
| 41 virtual void updateShapeFromElement() OVERRIDE; | 41 virtual void updateShapeFromElement() override; |
| 42 FloatRect calculateUpdatedStrokeBoundingBox() const; | 42 FloatRect calculateUpdatedStrokeBoundingBox() const; |
| 43 | 43 |
| 44 virtual void strokeShape(GraphicsContext*) const OVERRIDE; | 44 virtual void strokeShape(GraphicsContext*) const override; |
| 45 virtual bool shapeDependentStrokeContains(const FloatPoint&) OVERRIDE; | 45 virtual bool shapeDependentStrokeContains(const FloatPoint&) override; |
| 46 | 46 |
| 47 bool shouldStrokeZeroLengthSubpath() const; | 47 bool shouldStrokeZeroLengthSubpath() const; |
| 48 Path* zeroLengthLinecapPath(const FloatPoint&) const; | 48 Path* zeroLengthLinecapPath(const FloatPoint&) const; |
| 49 FloatRect zeroLengthSubpathRect(const FloatPoint&, float) const; | 49 FloatRect zeroLengthSubpathRect(const FloatPoint&, float) const; |
| 50 void updateZeroLengthSubpaths(); | 50 void updateZeroLengthSubpaths(); |
| 51 | 51 |
| 52 Vector<FloatPoint> m_zeroLengthLinecapLocations; | 52 Vector<FloatPoint> m_zeroLengthLinecapLocations; |
| 53 }; | 53 }; |
| 54 | 54 |
| 55 } | 55 } |
| 56 | 56 |
| 57 #endif | 57 #endif |
| OLD | NEW |