OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 #ifndef FEDropShadow_h | 21 #ifndef FEDropShadow_h |
22 #define FEDropShadow_h | 22 #define FEDropShadow_h |
23 | 23 |
24 #include "core/platform/graphics/filters/Filter.h" | |
25 #include "core/platform/graphics/filters/FilterEffect.h" | |
26 #include "platform/graphics/Color.h" | 24 #include "platform/graphics/Color.h" |
| 25 #include "platform/graphics/filters/Filter.h" |
| 26 #include "platform/graphics/filters/FilterEffect.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class FEDropShadow : public FilterEffect { | 30 class FEDropShadow : public FilterEffect { |
31 public: | 31 public: |
32 static PassRefPtr<FEDropShadow> create(Filter*, float, float, float, float,
const Color&, float); | 32 static PassRefPtr<FEDropShadow> create(Filter*, float, float, float, float,
const Color&, float); |
33 | 33 |
34 float stdDeviationX() const { return m_stdX; } | 34 float stdDeviationX() const { return m_stdX; } |
35 void setStdDeviationX(float stdX) { m_stdX = stdX; } | 35 void setStdDeviationX(float stdX) { m_stdX = stdX; } |
36 | 36 |
(...skipping 29 matching lines...) Expand all Loading... |
66 float m_stdY; | 66 float m_stdY; |
67 float m_dx; | 67 float m_dx; |
68 float m_dy; | 68 float m_dy; |
69 Color m_shadowColor; | 69 Color m_shadowColor; |
70 float m_shadowOpacity; | 70 float m_shadowOpacity; |
71 }; | 71 }; |
72 | 72 |
73 } // namespace WebCore | 73 } // namespace WebCore |
74 | 74 |
75 #endif // FEDropShadow_h | 75 #endif // FEDropShadow_h |
OLD | NEW |