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 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
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 |
11 * License as published by the Free Software Foundation; either | 11 * License as published by the Free Software Foundation; either |
12 * version 2 of the License, or (at your option) any later version. | 12 * version 2 of the License, or (at your option) any later version. |
13 * | 13 * |
14 * This library is distributed in the hope that it will be useful, | 14 * This library is distributed in the hope that it will be useful, |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
17 * Library General Public License for more details. | 17 * Library General Public License for more details. |
18 * | 18 * |
19 * You should have received a copy of the GNU Library General Public License | 19 * You should have received a copy of the GNU Library General Public License |
20 * along with this library; see the file COPYING.LIB. If not, write to | 20 * along with this library; see the file COPYING.LIB. If not, write to |
21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 21 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
22 * Boston, MA 02110-1301, USA. | 22 * Boston, MA 02110-1301, USA. |
23 */ | 23 */ |
24 | 24 |
25 #ifndef FETurbulence_h | 25 #ifndef FETurbulence_h |
26 #define FETurbulence_h | 26 #define FETurbulence_h |
27 | 27 |
28 #include "core/platform/graphics/filters/Filter.h" | 28 #include "platform/graphics/filters/Filter.h" |
29 #include "core/platform/graphics/filters/FilterEffect.h" | 29 #include "platform/graphics/filters/FilterEffect.h" |
30 | 30 |
31 namespace WebCore { | 31 namespace WebCore { |
32 | 32 |
33 enum TurbulenceType { | 33 enum TurbulenceType { |
34 FETURBULENCE_TYPE_UNKNOWN = 0, | 34 FETURBULENCE_TYPE_UNKNOWN = 0, |
35 FETURBULENCE_TYPE_FRACTALNOISE = 1, | 35 FETURBULENCE_TYPE_FRACTALNOISE = 1, |
36 FETURBULENCE_TYPE_TURBULENCE = 2 | 36 FETURBULENCE_TYPE_TURBULENCE = 2 |
37 }; | 37 }; |
38 | 38 |
39 class FETurbulence : public FilterEffect { | 39 class FETurbulence : public FilterEffect { |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 float m_baseFrequencyX; | 131 float m_baseFrequencyX; |
132 float m_baseFrequencyY; | 132 float m_baseFrequencyY; |
133 int m_numOctaves; | 133 int m_numOctaves; |
134 float m_seed; | 134 float m_seed; |
135 bool m_stitchTiles; | 135 bool m_stitchTiles; |
136 }; | 136 }; |
137 | 137 |
138 } // namespace WebCore | 138 } // namespace WebCore |
139 | 139 |
140 #endif // FETurbulence_h | 140 #endif // FETurbulence_h |
OLD | NEW |