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 Rob Buis <buis@kde.org> | 3 2004, 2005 Rob Buis <buis@kde.org> |
4 2005 Eric Seidel <eric@webkit.org> | 4 2005 Eric Seidel <eric@webkit.org> |
5 2006 Apple Computer, Inc | 5 2006 Apple Computer, Inc |
6 | 6 |
7 This file is part of the KDE project | 7 This file is part of the KDE project |
8 | 8 |
9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 virtual AffineTransform localTransform() const; | 62 virtual AffineTransform localTransform() const; |
63 | 63 |
64 virtual void layout(); | 64 virtual void layout(); |
65 virtual IntRect absoluteClippedOverflowRect(); | 65 virtual IntRect absoluteClippedOverflowRect(); |
66 virtual bool requiresLayer(); | 66 virtual bool requiresLayer(); |
67 virtual int lineHeight(bool b, bool isRootLineBox = false) const; | 67 virtual int lineHeight(bool b, bool isRootLineBox = false) const; |
68 virtual int baselinePosition(bool b, bool isRootLineBox = false) const; | 68 virtual int baselinePosition(bool b, bool isRootLineBox = false) const; |
69 virtual void paint(PaintInfo&, int parentX, int parentY); | 69 virtual void paint(PaintInfo&, int parentX, int parentY); |
70 | 70 |
71 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel =
true); | 71 virtual void absoluteRects(Vector<IntRect>&, int tx, int ty, bool topLevel =
true); |
| 72 virtual void absoluteQuads(Vector<FloatQuad>&, bool topLevel = true); |
72 virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); | 73 virtual void addFocusRingRects(GraphicsContext*, int tx, int ty); |
73 | 74 |
74 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); | 75 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); |
75 | 76 |
76 FloatRect drawMarkersIfNeeded(GraphicsContext*, const FloatRect&, const Path
&) const; | 77 FloatRect drawMarkersIfNeeded(GraphicsContext*, const FloatRect&, const Path
&) const; |
77 virtual FloatRect strokeBBox() const; | 78 virtual FloatRect strokeBBox() const; |
78 | 79 |
79 private: | 80 private: |
80 FloatPoint mapAbsolutePointToLocal(const FloatPoint&) const; | 81 FloatPoint mapAbsolutePointToLocal(const FloatPoint&) const; |
81 | 82 |
82 mutable Path m_path; | 83 mutable Path m_path; |
83 mutable FloatRect m_fillBBox; | 84 mutable FloatRect m_fillBBox; |
84 mutable FloatRect m_strokeBbox; | 85 mutable FloatRect m_strokeBbox; |
85 FloatRect m_markerBounds; | 86 FloatRect m_markerBounds; |
86 AffineTransform m_localTransform; | 87 AffineTransform m_localTransform; |
87 IntRect m_absoluteBounds; | 88 IntRect m_absoluteBounds; |
88 }; | 89 }; |
89 | 90 |
90 } | 91 } |
91 | 92 |
92 #endif // ENABLE(SVG) | 93 #endif // ENABLE(SVG) |
93 #endif | 94 #endif |
94 | 95 |
95 // vim:ts=4:noet | 96 // vim:ts=4:noet |
OLD | NEW |