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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 namespace WebCore { | 29 namespace WebCore { |
30 | 30 |
31 class FETile : public FilterEffect { | 31 class FETile : public FilterEffect { |
32 public: | 32 public: |
33 static PassRefPtr<FETile> create(Filter* filter); | 33 static PassRefPtr<FETile> create(Filter* filter); |
34 | 34 |
35 virtual void apply(); | 35 virtual void apply(); |
36 virtual void dump(); | 36 virtual void dump(); |
37 | 37 |
38 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe
ct()); } | 38 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn
tRect(maxEffectRect())); } |
39 | 39 |
40 virtual FilterEffectType filterEffectType() const { return FilterEffectTypeT
ile; } | 40 virtual FilterEffectType filterEffectType() const { return FilterEffectTypeT
ile; } |
41 | 41 |
42 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 42 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
43 | 43 |
44 private: | 44 private: |
45 FETile(Filter*); | 45 FETile(Filter*); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace WebCore | 48 } // namespace WebCore |
49 | 49 |
50 #endif // ENABLE(FILTERS) | 50 #endif // ENABLE(FILTERS) |
51 | 51 |
52 #endif // FETile_h | 52 #endif // FETile_h |
OLD | NEW |