diff options
Diffstat (limited to 'WebCore/rendering/RenderSVGViewportContainer.h')
-rw-r--r-- | WebCore/rendering/RenderSVGViewportContainer.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/WebCore/rendering/RenderSVGViewportContainer.h b/WebCore/rendering/RenderSVGViewportContainer.h index ee08b60..c4043ec 100644 --- a/WebCore/rendering/RenderSVGViewportContainer.h +++ b/WebCore/rendering/RenderSVGViewportContainer.h @@ -35,21 +35,18 @@ public: RenderSVGViewportContainer(SVGStyledElement*); // Calculates marker boundaries, mapped to the target element's coordinate space - FloatRect markerBoundaries(const TransformationMatrix& markerTransformation) const; + FloatRect markerBoundaries(const AffineTransform& markerTransformation) const; // Generates a transformation matrix usable to render marker content. Handles scaling the marker content // acording to SVGs markerUnits="strokeWidth" concept, when a strokeWidth value != -1 is passed in. - TransformationMatrix markerContentTransformation(const TransformationMatrix& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const; + AffineTransform markerContentTransformation(const AffineTransform& contentTransformation, const FloatPoint& origin, float strokeWidth = -1) const; private: virtual bool isSVGContainer() const { return true; } virtual const char* renderName() const { return "RenderSVGViewportContainer"; } - TransformationMatrix viewportTransform() const; - virtual const TransformationMatrix& localToParentTransform() const; - - // FIXME: This override should be removed once callers of RenderBox::absoluteTransform() can be removed. - virtual TransformationMatrix absoluteTransform() const; + AffineTransform viewportTransform() const; + virtual const AffineTransform& localToParentTransform() const; virtual void calcViewport(); @@ -57,7 +54,7 @@ private: virtual bool pointIsInsideViewportClip(const FloatPoint& pointInParent); FloatRect m_viewport; - mutable TransformationMatrix m_localToParentTransform; + mutable AffineTransform m_localToParentTransform; }; inline RenderSVGViewportContainer* toRenderSVGViewportContainer(RenderObject* object) |