OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 Color floodColor() const; | 36 Color floodColor() const; |
37 bool setFloodColor(const Color &); | 37 bool setFloodColor(const Color &); |
38 | 38 |
39 float floodOpacity() const; | 39 float floodOpacity() const; |
40 bool setFloodOpacity(float); | 40 bool setFloodOpacity(float); |
41 | 41 |
42 virtual void apply(); | 42 virtual void apply(); |
43 virtual void dump(); | 43 virtual void dump(); |
44 | 44 |
45 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe
ct()); } | 45 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn
tRect(maxEffectRect())); } |
46 | 46 |
47 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 47 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
48 | 48 |
49 private: | 49 private: |
50 FEFlood(Filter*, const Color&, float); | 50 FEFlood(Filter*, const Color&, float); |
51 | 51 |
52 Color m_floodColor; | 52 Color m_floodColor; |
53 float m_floodOpacity; | 53 float m_floodOpacity; |
54 }; | 54 }; |
55 | 55 |
56 } // namespace WebCore | 56 } // namespace WebCore |
57 | 57 |
58 #endif // ENABLE(FILTERS) | 58 #endif // ENABLE(FILTERS) |
59 | 59 |
60 #endif // FEFlood_h | 60 #endif // FEFlood_h |
OLD | NEW |