Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.h |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.h |
index 839d6523ddf9f9ede931c46097e1ee134dcf5b4f..65fe28af4e709aa3f39df1134fe2a263c980bdc6 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.h |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourceMarker.h |
@@ -43,6 +43,7 @@ public: |
const AffineTransform& localToSVGParentTransform() const override; |
AffineTransform markerTransformation(const FloatPoint& origin, float angle, float strokeWidth) const; |
+ bool shouldPaint() const; |
FloatPoint referencePoint() const; |
float angle() const; |
@@ -59,9 +60,9 @@ private: |
void calcViewport() override; |
bool calculateLocalTransform() override; |
- // Generates a transformation matrix usable to layout marker content. Handles scaling the marker content |
- // acording to SVGs markerUnits="strokeWidth" concept, when a strokeWidth value != -1 is passed in. |
- AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const; |
+ // Generates a transformation matrix usable to layout marker content. |
+ AffineTransform markerContentTransformation( |
+ const AffineTransform& contentTransformation, const FloatPoint& origin, float markerScale) const; |
AffineTransform viewportTransform() const; |