From 635860845790a19bf50bbc51ba8fb66a96dde068 Mon Sep 17 00:00:00 2001 From: The Android Open Source Project Date: Thu, 5 Mar 2009 14:34:32 -0800 Subject: auto import from //depot/cupcake/@136594 --- WebCore/rendering/RenderSVGImage.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'WebCore/rendering/RenderSVGImage.h') diff --git a/WebCore/rendering/RenderSVGImage.h b/WebCore/rendering/RenderSVGImage.h index 4891306..cb440d2 100644 --- a/WebCore/rendering/RenderSVGImage.h +++ b/WebCore/rendering/RenderSVGImage.h @@ -26,7 +26,7 @@ #if ENABLE(SVG) -#include "AffineTransform.h" +#include "TransformationMatrix.h" #include "FloatRect.h" #include "RenderImage.h" @@ -40,20 +40,21 @@ namespace WebCore { RenderSVGImage(SVGImageElement*); virtual ~RenderSVGImage(); - virtual AffineTransform localTransform() const { return m_localTransform; } + virtual TransformationMatrix localTransform() const { return m_localTransform; } virtual FloatRect relativeBBox(bool includeStroke = true) const; - virtual IntRect absoluteClippedOverflowRect(); + virtual IntRect clippedOverflowRectForRepaint(RenderBox* repaintContainer); virtual void absoluteRects(Vector&, int tx, int ty, bool topLevel = true); + virtual void absoluteQuads(Vector&, bool topLevel = true); virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); - virtual void imageChanged(WrappedImagePtr); + virtual void imageChanged(WrappedImagePtr, const IntRect* = 0); void adjustRectsForAspectRatio(FloatRect& destRect, FloatRect& srcRect, SVGPreserveAspectRatio*); virtual void layout(); virtual void paint(PaintInfo&, int parentX, int parentY); - bool requiresLayer(); + bool requiresLayer() const { return false; } virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int _x, int _y, int _tx, int _ty, HitTestAction); @@ -61,7 +62,7 @@ namespace WebCore { private: void calculateAbsoluteBounds(); - AffineTransform m_localTransform; + TransformationMatrix m_localTransform; FloatRect m_localBounds; IntRect m_absoluteBounds; }; -- cgit v1.1