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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 float seed() const; | 53 float seed() const; |
54 bool setSeed(float); | 54 bool setSeed(float); |
55 | 55 |
56 int numOctaves() const; | 56 int numOctaves() const; |
57 bool setNumOctaves(int); | 57 bool setNumOctaves(int); |
58 | 58 |
59 bool stitchTiles() const; | 59 bool stitchTiles() const; |
60 bool setStitchTiles(bool); | 60 bool setStitchTiles(bool); |
61 | 61 |
62 static void fillRegionWorker(void*); | |
63 | |
64 virtual TextStream& externalRepresentation(TextStream&, int indention) const
override; | 62 virtual TextStream& externalRepresentation(TextStream&, int indention) const
override; |
65 | 63 |
66 private: | 64 private: |
67 FETurbulence(Filter*, TurbulenceType, float, float, int, float, bool); | 65 FETurbulence(Filter*, TurbulenceType, float, float, int, float, bool); |
68 | 66 |
69 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*)
override; | 67 virtual PassRefPtr<SkImageFilter> createImageFilter(SkiaImageFilterBuilder*)
override; |
70 SkShader* createShader(); | 68 SkShader* createShader(); |
71 | 69 |
72 TurbulenceType m_type; | 70 TurbulenceType m_type; |
73 float m_baseFrequencyX; | 71 float m_baseFrequencyX; |
74 float m_baseFrequencyY; | 72 float m_baseFrequencyY; |
75 int m_numOctaves; | 73 int m_numOctaves; |
76 float m_seed; | 74 float m_seed; |
77 bool m_stitchTiles; | 75 bool m_stitchTiles; |
78 }; | 76 }; |
79 | 77 |
80 } // namespace blink | 78 } // namespace blink |
81 | 79 |
82 #endif // FETurbulence_h | 80 #endif // FETurbulence_h |
OLD | NEW |