diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-05 14:34:32 -0800 |
commit | 635860845790a19bf50bbc51ba8fb66a96dde068 (patch) | |
tree | ef6ad9ff73a5b57f65249d4232a202fa77e6a140 /WebCore/rendering/RenderSVGImage.h | |
parent | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (diff) | |
download | external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.zip external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.gz external_webkit-635860845790a19bf50bbc51ba8fb66a96dde068.tar.bz2 |
auto import from //depot/cupcake/@136594
Diffstat (limited to 'WebCore/rendering/RenderSVGImage.h')
-rw-r--r-- | WebCore/rendering/RenderSVGImage.h | 13 |
1 files changed, 7 insertions, 6 deletions
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<IntRect>&, int tx, int ty, bool topLevel = true); + virtual void absoluteQuads(Vector<FloatQuad>&, 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; }; |