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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 | 46 |
47 ChannelSelectorType yChannelSelector() const; | 47 ChannelSelectorType yChannelSelector() const; |
48 bool setYChannelSelector(const ChannelSelectorType); | 48 bool setYChannelSelector(const ChannelSelectorType); |
49 | 49 |
50 float scale() const; | 50 float scale() const; |
51 bool setScale(float); | 51 bool setScale(float); |
52 | 52 |
53 virtual void apply(); | 53 virtual void apply(); |
54 virtual void dump(); | 54 virtual void dump(); |
55 | 55 |
56 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe
ct()); } | 56 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn
tRect(maxEffectRect())); } |
57 | 57 |
58 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 58 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
59 | 59 |
60 private: | 60 private: |
61 FEDisplacementMap(Filter*, ChannelSelectorType xChannelSelector, ChannelSele
ctorType yChannelSelector, float); | 61 FEDisplacementMap(Filter*, ChannelSelectorType xChannelSelector, ChannelSele
ctorType yChannelSelector, float); |
62 | 62 |
63 ChannelSelectorType m_xChannelSelector; | 63 ChannelSelectorType m_xChannelSelector; |
64 ChannelSelectorType m_yChannelSelector; | 64 ChannelSelectorType m_yChannelSelector; |
65 float m_scale; | 65 float m_scale; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace WebCore | 68 } // namespace WebCore |
69 | 69 |
70 #endif // ENABLE(FILTERS) | 70 #endif // ENABLE(FILTERS) |
71 | 71 |
72 #endif // FEDisplacementMap_h | 72 #endif // FEDisplacementMap_h |
OLD | NEW |