| 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 * | 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 reportAttributeParsingError(parseError, name, value); | 76 reportAttributeParsingError(parseError, name, value); |
| 77 } | 77 } |
| 78 | 78 |
| 79 void SVGCircleElement::svgAttributeChanged(const QualifiedName& attrName) | 79 void SVGCircleElement::svgAttributeChanged(const QualifiedName& attrName) |
| 80 { | 80 { |
| 81 if (!isSupportedAttribute(attrName)) { | 81 if (!isSupportedAttribute(attrName)) { |
| 82 SVGGeometryElement::svgAttributeChanged(attrName); | 82 SVGGeometryElement::svgAttributeChanged(attrName); |
| 83 return; | 83 return; |
| 84 } | 84 } |
| 85 | 85 |
| 86 SVGElementInstance::InvalidationGuard invalidationGuard(this); | 86 SVGElement::InvalidationGuard invalidationGuard(this); |
| 87 | 87 |
| 88 bool isLengthAttribute = attrName == SVGNames::cxAttr | 88 bool isLengthAttribute = attrName == SVGNames::cxAttr |
| 89 || attrName == SVGNames::cyAttr | 89 || attrName == SVGNames::cyAttr |
| 90 || attrName == SVGNames::rAttr; | 90 || attrName == SVGNames::rAttr; |
| 91 | 91 |
| 92 if (isLengthAttribute) | 92 if (isLengthAttribute) |
| 93 updateRelativeLengthsInformation(); | 93 updateRelativeLengthsInformation(); |
| 94 | 94 |
| 95 RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); | 95 RenderSVGShape* renderer = toRenderSVGShape(this->renderer()); |
| 96 if (!renderer) | 96 if (!renderer) |
| (...skipping 14 matching lines...) Expand all Loading... |
| 111 || m_cy->currentValue()->isRelative() | 111 || m_cy->currentValue()->isRelative() |
| 112 || m_r->currentValue()->isRelative(); | 112 || m_r->currentValue()->isRelative(); |
| 113 } | 113 } |
| 114 | 114 |
| 115 RenderObject* SVGCircleElement::createRenderer(RenderStyle*) | 115 RenderObject* SVGCircleElement::createRenderer(RenderStyle*) |
| 116 { | 116 { |
| 117 return new RenderSVGEllipse(this); | 117 return new RenderSVGEllipse(this); |
| 118 } | 118 } |
| 119 | 119 |
| 120 } | 120 } |
| OLD | NEW |