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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 virtual bool isSVGRoot() const { return true; } | 45 virtual bool isSVGRoot() const { return true; } |
46 virtual const char* renderName() const { return "RenderSVGRoot"; } | 46 virtual const char* renderName() const { return "RenderSVGRoot"; } |
47 | 47 |
48 virtual int lineHeight(bool b, bool isRootLineBox = false) const; | 48 virtual int lineHeight(bool b, bool isRootLineBox = false) const; |
49 virtual int baselinePosition(bool b, bool isRootLineBox = false) const; | 49 virtual int baselinePosition(bool b, bool isRootLineBox = false) const; |
50 virtual void calcPrefWidths(); | 50 virtual void calcPrefWidths(); |
51 | 51 |
52 virtual void layout(); | 52 virtual void layout(); |
53 virtual void paint(PaintInfo&, int parentX, int parentY); | 53 virtual void paint(PaintInfo&, int parentX, int parentY); |
54 | 54 |
55 virtual IntRect clippedOverflowRectForRepaint(RenderBoxModelObject* repaintC
ontainer); | 55 virtual IntRect clippedOverflowRectForRepaint(RenderBox* repaintContainer); |
56 virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty); | 56 virtual void absoluteRects(Vector<IntRect>& rects, int tx, int ty); |
57 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); | 57 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); |
58 virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); | 58 virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); |
59 | 59 |
60 virtual TransformationMatrix absoluteTransform() const; | 60 virtual TransformationMatrix absoluteTransform() const; |
61 | 61 |
62 bool fillContains(const FloatPoint&) const; | 62 bool fillContains(const FloatPoint&) const; |
63 bool strokeContains(const FloatPoint&) const; | 63 bool strokeContains(const FloatPoint&) const; |
64 FloatRect relativeBBox(bool includeStroke = true) const; | 64 FloatRect relativeBBox(bool includeStroke = true) const; |
65 | 65 |
(...skipping 13 matching lines...) Expand all Loading... |
79 FloatRect m_viewport; | 79 FloatRect m_viewport; |
80 IntRect m_absoluteBounds; | 80 IntRect m_absoluteBounds; |
81 }; | 81 }; |
82 | 82 |
83 } // namespace WebCore | 83 } // namespace WebCore |
84 | 84 |
85 #endif // ENABLE(SVG) | 85 #endif // ENABLE(SVG) |
86 #endif // RenderSVGRoot_h | 86 #endif // RenderSVGRoot_h |
87 | 87 |
88 // vim:ts=4:noet | 88 // vim:ts=4:noet |
OLD | NEW |