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 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
6 * Copyright (C) 2010 Renata Hodovan <reni@inf.u-szeged.hu> | 6 * Copyright (C) 2010 Renata Hodovan <reni@inf.u-szeged.hu> |
7 * | 7 * |
8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 54 |
55 int numOctaves() const; | 55 int numOctaves() const; |
56 bool setNumOctaves(int); | 56 bool setNumOctaves(int); |
57 | 57 |
58 bool stitchTiles() const; | 58 bool stitchTiles() const; |
59 bool setStitchTiles(bool); | 59 bool setStitchTiles(bool); |
60 | 60 |
61 virtual void apply(); | 61 virtual void apply(); |
62 virtual void dump(); | 62 virtual void dump(); |
63 | 63 |
64 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(maxEffectRe
ct()); } | 64 virtual void determineAbsolutePaintRect() { setAbsolutePaintRect(enclosingIn
tRect(maxEffectRect())); } |
65 | 65 |
66 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; | 66 virtual TextStream& externalRepresentation(TextStream&, int indention) const
; |
67 | 67 |
68 private: | 68 private: |
69 static const int s_blockSize = 256; | 69 static const int s_blockSize = 256; |
70 static const int s_blockMask = s_blockSize - 1; | 70 static const int s_blockMask = s_blockSize - 1; |
71 | 71 |
72 struct PaintingData { | 72 struct PaintingData { |
73 long seed; | 73 long seed; |
74 int latticeSelector[2 * s_blockSize + 2]; | 74 int latticeSelector[2 * s_blockSize + 2]; |
(...skipping 21 matching lines...) Expand all Loading... |
96 int m_numOctaves; | 96 int m_numOctaves; |
97 float m_seed; | 97 float m_seed; |
98 bool m_stitchTiles; | 98 bool m_stitchTiles; |
99 }; | 99 }; |
100 | 100 |
101 } // namespace WebCore | 101 } // namespace WebCore |
102 | 102 |
103 #endif // ENABLE(FILTERS) | 103 #endif // ENABLE(FILTERS) |
104 | 104 |
105 #endif // FETurbulence_h | 105 #endif // FETurbulence_h |
OLD | NEW |