| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2008 Dirk Schulze <krit@webkit.org> | 5 * Copyright (C) 2008 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 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h" | 28 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h" |
| 29 #include "core/svg/RadialGradientAttributes.h" | 29 #include "core/svg/RadialGradientAttributes.h" |
| 30 #include "core/svg/SVGElementInstance.h" | 30 #include "core/svg/SVGElementInstance.h" |
| 31 #include "core/svg/SVGTransformList.h" | 31 #include "core/svg/SVGTransformList.h" |
| 32 | 32 |
| 33 namespace WebCore { | 33 namespace WebCore { |
| 34 | 34 |
| 35 // Animated property definitions | 35 // Animated property definitions |
| 36 | 36 |
| 37 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGRadialGradientElement) | |
| 38 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGGradientElement) | |
| 39 END_REGISTER_ANIMATED_PROPERTIES | |
| 40 | 37 |
| 41 inline SVGRadialGradientElement::SVGRadialGradientElement(Document& document) | 38 inline SVGRadialGradientElement::SVGRadialGradientElement(Document& document) |
| 42 : SVGGradientElement(SVGNames::radialGradientTag, document) | 39 : SVGGradientElement(SVGNames::radialGradientTag, document) |
| 43 , m_cx(SVGAnimatedLength::create(this, SVGNames::cxAttr, SVGLength::create(L
engthModeWidth))) | 40 , m_cx(SVGAnimatedLength::create(this, SVGNames::cxAttr, SVGLength::create(L
engthModeWidth))) |
| 44 , m_cy(SVGAnimatedLength::create(this, SVGNames::cyAttr, SVGLength::create(L
engthModeHeight))) | 41 , m_cy(SVGAnimatedLength::create(this, SVGNames::cyAttr, SVGLength::create(L
engthModeHeight))) |
| 45 , m_r(SVGAnimatedLength::create(this, SVGNames::rAttr, SVGLength::create(Len
gthModeOther))) | 42 , m_r(SVGAnimatedLength::create(this, SVGNames::rAttr, SVGLength::create(Len
gthModeOther))) |
| 46 , m_fx(SVGAnimatedLength::create(this, SVGNames::fxAttr, SVGLength::create(L
engthModeWidth))) | 43 , m_fx(SVGAnimatedLength::create(this, SVGNames::fxAttr, SVGLength::create(L
engthModeWidth))) |
| 47 , m_fy(SVGAnimatedLength::create(this, SVGNames::fyAttr, SVGLength::create(L
engthModeHeight))) | 44 , m_fy(SVGAnimatedLength::create(this, SVGNames::fyAttr, SVGLength::create(L
engthModeHeight))) |
| 48 , m_fr(SVGAnimatedLength::create(this, SVGNames::frAttr, SVGLength::create(L
engthModeOther))) | 45 , m_fr(SVGAnimatedLength::create(this, SVGNames::frAttr, SVGLength::create(L
engthModeOther))) |
| 49 { | 46 { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 { | 214 { |
| 218 return m_cx->currentValue()->isRelative() | 215 return m_cx->currentValue()->isRelative() |
| 219 || m_cy->currentValue()->isRelative() | 216 || m_cy->currentValue()->isRelative() |
| 220 || m_r->currentValue()->isRelative() | 217 || m_r->currentValue()->isRelative() |
| 221 || m_fx->currentValue()->isRelative() | 218 || m_fx->currentValue()->isRelative() |
| 222 || m_fy->currentValue()->isRelative() | 219 || m_fy->currentValue()->isRelative() |
| 223 || m_fr->currentValue()->isRelative(); | 220 || m_fr->currentValue()->isRelative(); |
| 224 } | 221 } |
| 225 | 222 |
| 226 } | 223 } |
| OLD | NEW |