Index: Source/core/rendering/svg/RenderSVGPath.h |
diff --git a/Source/core/rendering/svg/RenderSVGPath.h b/Source/core/rendering/svg/RenderSVGPath.h |
index 7e34de9c8506b9d02649a93961792094eac01d9c..0a0e6ccb0dc27e993a680f82416e75ea4a949635 100644 |
--- a/Source/core/rendering/svg/RenderSVGPath.h |
+++ b/Source/core/rendering/svg/RenderSVGPath.h |
@@ -35,20 +35,27 @@ public: |
explicit RenderSVGPath(SVGGraphicsElement*); |
virtual ~RenderSVGPath(); |
+ virtual const Vector<MarkerPosition>* markerPositions() const override { return &m_markerPositions; } |
+ |
+ virtual const Vector<FloatPoint>* zeroLengthLineCaps() const override { return &m_zeroLengthLinecapLocations; }; |
fs
2014/10/27 12:36:27
Nit: Redundant ';'.
pdr.
2014/10/27 22:29:43
Done
|
+ static FloatRect zeroLengthSubpathRect(const FloatPoint&, float); |
+ |
private: |
virtual const char* renderName() const override { return "RenderSVGPath"; } |
virtual void updateShapeFromElement() override; |
FloatRect calculateUpdatedStrokeBoundingBox() const; |
- virtual void strokeShape(GraphicsContext*) const override; |
virtual bool shapeDependentStrokeContains(const FloatPoint&) override; |
+ FloatRect markerRect(float strokeWidth) const; |
+ bool shouldGenerateMarkerPositions() const; |
+ virtual void processMarkerPositions() override; |
+ |
bool shouldStrokeZeroLengthSubpath() const; |
- Path* zeroLengthLinecapPath(const FloatPoint&) const; |
- FloatRect zeroLengthSubpathRect(const FloatPoint&, float) const; |
void updateZeroLengthSubpaths(); |
+ Vector<MarkerPosition> m_markerPositions; |
Vector<FloatPoint> m_zeroLengthLinecapLocations; |
}; |