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, |
(...skipping 10 matching lines...) Expand all Loading... |
21 #ifndef FEDropShadow_h | 21 #ifndef FEDropShadow_h |
22 #define FEDropShadow_h | 22 #define FEDropShadow_h |
23 | 23 |
24 #include "platform/graphics/Color.h" | 24 #include "platform/graphics/Color.h" |
25 #include "platform/graphics/filters/FilterEffect.h" | 25 #include "platform/graphics/filters/FilterEffect.h" |
26 | 26 |
27 namespace blink { | 27 namespace blink { |
28 | 28 |
29 class PLATFORM_EXPORT FEDropShadow : public FilterEffect { | 29 class PLATFORM_EXPORT FEDropShadow : public FilterEffect { |
30 public: | 30 public: |
31 static PassRefPtr<FEDropShadow> create(Filter*, float, float, float, float,
const Color&, float); | 31 static PassRefPtrWillBeRawPtr<FEDropShadow> create(Filter*, float, float, fl
oat, float, const Color&, float); |
32 | 32 |
33 float stdDeviationX() const { return m_stdX; } | 33 float stdDeviationX() const { return m_stdX; } |
34 void setStdDeviationX(float stdX) { m_stdX = stdX; } | 34 void setStdDeviationX(float stdX) { m_stdX = stdX; } |
35 | 35 |
36 float stdDeviationY() const { return m_stdY; } | 36 float stdDeviationY() const { return m_stdY; } |
37 void setStdDeviationY(float stdY) { m_stdY = stdY; } | 37 void setStdDeviationY(float stdY) { m_stdY = stdY; } |
38 | 38 |
39 float dx() const { return m_dx; } | 39 float dx() const { return m_dx; } |
40 void setDx(float dx) { m_dx = dx; } | 40 void setDx(float dx) { m_dx = dx; } |
41 | 41 |
(...skipping 18 matching lines...) Expand all Loading... |
60 float m_stdY; | 60 float m_stdY; |
61 float m_dx; | 61 float m_dx; |
62 float m_dy; | 62 float m_dy; |
63 Color m_shadowColor; | 63 Color m_shadowColor; |
64 float m_shadowOpacity; | 64 float m_shadowOpacity; |
65 }; | 65 }; |
66 | 66 |
67 } // namespace blink | 67 } // namespace blink |
68 | 68 |
69 #endif // FEDropShadow_h | 69 #endif // FEDropShadow_h |
OLD | NEW |