| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 4 | 4 |
| 5 This file is part of the KDE project | 5 This file is part of the KDE project |
| 6 | 6 |
| 7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
| 8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
| 9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
| 10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 virtual int lineHeight(bool b, bool isRootLineBox = false) const; | 43 virtual int lineHeight(bool b, bool isRootLineBox = false) const; |
| 44 virtual int baselinePosition(bool b, bool isRootLineBox = false) const; | 44 virtual int baselinePosition(bool b, bool isRootLineBox = false) const; |
| 45 virtual void calcPrefWidths(); | 45 virtual void calcPrefWidths(); |
| 46 | 46 |
| 47 virtual void layout(); | 47 virtual void layout(); |
| 48 virtual void paint(PaintInfo&, int parentX, int parentY); | 48 virtual void paint(PaintInfo&, int parentX, int parentY); |
| 49 | 49 |
| 50 virtual IntRect absoluteClippedOverflowRect(); | 50 virtual IntRect absoluteClippedOverflowRect(); |
| 51 virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty); | 51 virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty); |
| 52 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); |
| 52 virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); | 53 virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); |
| 53 | 54 |
| 54 virtual AffineTransform absoluteTransform() const; | 55 virtual AffineTransform absoluteTransform() const; |
| 55 | 56 |
| 56 bool fillContains(const FloatPoint&) const; | 57 bool fillContains(const FloatPoint&) const; |
| 57 bool strokeContains(const FloatPoint&) const; | 58 bool strokeContains(const FloatPoint&) const; |
| 58 FloatRect relativeBBox(bool includeStroke = true) const; | 59 FloatRect relativeBBox(bool includeStroke = true) const; |
| 59 | 60 |
| 60 virtual AffineTransform localTransform() const; | 61 virtual AffineTransform localTransform() const; |
| 61 | 62 |
| 62 FloatRect viewport() const; | 63 FloatRect viewport() const; |
| 63 | 64 |
| 64 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); | 65 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); |
| 65 | 66 |
| 66 private: | 67 private: |
| 67 void calcViewport(); | 68 void calcViewport(); |
| 68 void applyContentTransforms(PaintInfo&, int parentX, int parentY); | 69 void applyContentTransforms(PaintInfo&, int parentX, int parentY); |
| 69 | 70 |
| 70 FloatRect m_viewport; | 71 FloatRect m_viewport; |
| 71 IntRect m_absoluteBounds; | 72 IntRect m_absoluteBounds; |
| 72 }; | 73 }; |
| 73 | 74 |
| 74 } // namespace WebCore | 75 } // namespace WebCore |
| 75 | 76 |
| 76 #endif // ENABLE(SVG) | 77 #endif // ENABLE(SVG) |
| 77 #endif // RenderSVGRoot_h | 78 #endif // RenderSVGRoot_h |
| 78 | 79 |
| 79 // vim:ts=4:noet | 80 // vim:ts=4:noet |
| OLD | NEW |