| 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) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 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 20 matching lines...) Expand all Loading... |
| 31 | 31 |
| 32 namespace blink { | 32 namespace blink { |
| 33 | 33 |
| 34 FEOffset::FEOffset(Filter* filter, float dx, float dy) | 34 FEOffset::FEOffset(Filter* filter, float dx, float dy) |
| 35 : FilterEffect(filter) | 35 : FilterEffect(filter) |
| 36 , m_dx(dx) | 36 , m_dx(dx) |
| 37 , m_dy(dy) | 37 , m_dy(dy) |
| 38 { | 38 { |
| 39 } | 39 } |
| 40 | 40 |
| 41 RawPtr<FEOffset> FEOffset::create(Filter* filter, float dx, float dy) | 41 FEOffset* FEOffset::create(Filter* filter, float dx, float dy) |
| 42 { | 42 { |
| 43 return new FEOffset(filter, dx, dy); | 43 return new FEOffset(filter, dx, dy); |
| 44 } | 44 } |
| 45 | 45 |
| 46 float FEOffset::dx() const | 46 float FEOffset::dx() const |
| 47 { | 47 { |
| 48 return m_dx; | 48 return m_dx; |
| 49 } | 49 } |
| 50 | 50 |
| 51 void FEOffset::setDx(float dx) | 51 void FEOffset::setDx(float dx) |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 { | 85 { |
| 86 writeIndent(ts, indent); | 86 writeIndent(ts, indent); |
| 87 ts << "[feOffset"; | 87 ts << "[feOffset"; |
| 88 FilterEffect::externalRepresentation(ts); | 88 FilterEffect::externalRepresentation(ts); |
| 89 ts << " dx=\"" << dx() << "\" dy=\"" << dy() << "\"]\n"; | 89 ts << " dx=\"" << dx() << "\" dy=\"" << dy() << "\"]\n"; |
| 90 inputEffect(0)->externalRepresentation(ts, indent + 1); | 90 inputEffect(0)->externalRepresentation(ts, indent + 1); |
| 91 return ts; | 91 return ts; |
| 92 } | 92 } |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| OLD | NEW |