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 |
(...skipping 21 matching lines...) Expand all Loading... |
32 namespace blink { | 32 namespace blink { |
33 | 33 |
34 enum TurbulenceType { | 34 enum TurbulenceType { |
35 FETURBULENCE_TYPE_UNKNOWN = 0, | 35 FETURBULENCE_TYPE_UNKNOWN = 0, |
36 FETURBULENCE_TYPE_FRACTALNOISE = 1, | 36 FETURBULENCE_TYPE_FRACTALNOISE = 1, |
37 FETURBULENCE_TYPE_TURBULENCE = 2 | 37 FETURBULENCE_TYPE_TURBULENCE = 2 |
38 }; | 38 }; |
39 | 39 |
40 class PLATFORM_EXPORT FETurbulence : public FilterEffect { | 40 class PLATFORM_EXPORT FETurbulence : public FilterEffect { |
41 public: | 41 public: |
42 static PassRefPtr<FETurbulence> create(Filter*, TurbulenceType, float, float
, int, float, bool); | 42 static PassRefPtrWillBeRawPtr<FETurbulence> create(Filter*, TurbulenceType,
float, float, int, float, bool); |
43 | 43 |
44 TurbulenceType type() const; | 44 TurbulenceType type() const; |
45 bool setType(TurbulenceType); | 45 bool setType(TurbulenceType); |
46 | 46 |
47 float baseFrequencyY() const; | 47 float baseFrequencyY() const; |
48 bool setBaseFrequencyY(float); | 48 bool setBaseFrequencyY(float); |
49 | 49 |
50 float baseFrequencyX() const; | 50 float baseFrequencyX() const; |
51 bool setBaseFrequencyX(float); | 51 bool setBaseFrequencyX(float); |
52 | 52 |
(...skipping 20 matching lines...) Expand all Loading... |
73 float m_baseFrequencyX; | 73 float m_baseFrequencyX; |
74 float m_baseFrequencyY; | 74 float m_baseFrequencyY; |
75 int m_numOctaves; | 75 int m_numOctaves; |
76 float m_seed; | 76 float m_seed; |
77 bool m_stitchTiles; | 77 bool m_stitchTiles; |
78 }; | 78 }; |
79 | 79 |
80 } // namespace blink | 80 } // namespace blink |
81 | 81 |
82 #endif // FETurbulence_h | 82 #endif // FETurbulence_h |
OLD | NEW |