| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 3 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 4 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 4 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #include "config.h" | 22 #include "config.h" |
| 23 | 23 |
| 24 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h" | 24 #include "core/rendering/svg/RenderSVGResourceRadialGradient.h" |
| 25 | 25 |
| 26 #include "core/svg/RadialGradientAttributes.h" | 26 #include "core/svg/RadialGradientAttributes.h" |
| 27 #include "core/svg/SVGRadialGradientElement.h" | 27 #include "core/svg/SVGRadialGradientElement.h" |
| 28 | 28 |
| 29 namespace WebCore { | 29 namespace WebCore { |
| 30 | 30 |
| 31 RenderSVGResourceType RenderSVGResourceRadialGradient::s_resourceType = RadialGr
adientResourceType; | 31 const RenderSVGResourceType RenderSVGResourceRadialGradient::s_resourceType = Ra
dialGradientResourceType; |
| 32 | 32 |
| 33 RenderSVGResourceRadialGradient::RenderSVGResourceRadialGradient(SVGRadialGradie
ntElement* node) | 33 RenderSVGResourceRadialGradient::RenderSVGResourceRadialGradient(SVGRadialGradie
ntElement* node) |
| 34 : RenderSVGResourceGradient(node) | 34 : RenderSVGResourceGradient(node) |
| 35 { | 35 { |
| 36 } | 36 } |
| 37 | 37 |
| 38 RenderSVGResourceRadialGradient::~RenderSVGResourceRadialGradient() | 38 RenderSVGResourceRadialGradient::~RenderSVGResourceRadialGradient() |
| 39 { | 39 { |
| 40 } | 40 } |
| 41 | 41 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 71 this->focalRadius(m_attributes), | 71 this->focalRadius(m_attributes), |
| 72 this->centerPoint(m_attributes), | 72 this->centerPoint(m_attributes), |
| 73 this->radius(m_attributes)); | 73 this->radius(m_attributes)); |
| 74 | 74 |
| 75 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_at
tributes.spreadMethod())); | 75 gradientData->gradient->setSpreadMethod(platformSpreadMethodFromSVGType(m_at
tributes.spreadMethod())); |
| 76 | 76 |
| 77 addStops(gradientData, m_attributes.stops()); | 77 addStops(gradientData, m_attributes.stops()); |
| 78 } | 78 } |
| 79 | 79 |
| 80 } | 80 } |
| OLD | NEW |