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 Igalia, S.L. | 6 * Copyright (C) 2010 Igalia, S.L. |
7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
8 * Copyright (C) 2013 Google Inc. All rights reserved. | 8 * Copyright (C) 2013 Google Inc. All rights reserved. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 namespace blink { | 43 namespace blink { |
44 | 44 |
45 FEGaussianBlur::FEGaussianBlur(Filter* filter, float x, float y) | 45 FEGaussianBlur::FEGaussianBlur(Filter* filter, float x, float y) |
46 : FilterEffect(filter) | 46 : FilterEffect(filter) |
47 , m_stdX(x) | 47 , m_stdX(x) |
48 , m_stdY(y) | 48 , m_stdY(y) |
49 { | 49 { |
50 } | 50 } |
51 | 51 |
52 PassRefPtr<FEGaussianBlur> FEGaussianBlur::create(Filter* filter, float x, float
y) | 52 PassRefPtrWillBeRawPtr<FEGaussianBlur> FEGaussianBlur::create(Filter* filter, fl
oat x, float y) |
53 { | 53 { |
54 return adoptRef(new FEGaussianBlur(filter, x, y)); | 54 return adoptRefWillBeNoop(new FEGaussianBlur(filter, x, y)); |
55 } | 55 } |
56 | 56 |
57 float FEGaussianBlur::stdDeviationX() const | 57 float FEGaussianBlur::stdDeviationX() const |
58 { | 58 { |
59 return m_stdX; | 59 return m_stdX; |
60 } | 60 } |
61 | 61 |
62 void FEGaussianBlur::setStdDeviationX(float x) | 62 void FEGaussianBlur::setStdDeviationX(float x) |
63 { | 63 { |
64 m_stdX = x; | 64 m_stdX = x; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 { | 145 { |
146 writeIndent(ts, indent); | 146 writeIndent(ts, indent); |
147 ts << "[feGaussianBlur"; | 147 ts << "[feGaussianBlur"; |
148 FilterEffect::externalRepresentation(ts); | 148 FilterEffect::externalRepresentation(ts); |
149 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\"]\n"; | 149 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\"]\n"; |
150 inputEffect(0)->externalRepresentation(ts, indent + 1); | 150 inputEffect(0)->externalRepresentation(ts, indent + 1); |
151 return ts; | 151 return ts; |
152 } | 152 } |
153 | 153 |
154 } // namespace blink | 154 } // namespace blink |
OLD | NEW |