| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 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 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 virtual AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); | 38 virtual AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); |
| 39 virtual AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate)
; | 39 virtual AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate)
; |
| 40 virtual SVGElement* nearestViewportElement() const; | 40 virtual SVGElement* nearestViewportElement() const; |
| 41 virtual SVGElement* farthestViewportElement() const; | 41 virtual SVGElement* farthestViewportElement() const; |
| 42 | 42 |
| 43 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope
mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); } | 43 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope
mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); } |
| 44 virtual AffineTransform animatedLocalTransform() const; | 44 virtual AffineTransform animatedLocalTransform() const; |
| 45 virtual AffineTransform* supplementalTransform(); | 45 virtual AffineTransform* supplementalTransform(); |
| 46 | 46 |
| 47 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); | 47 virtual SVGRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); |
| 48 | 48 |
| 49 // "base class" methods for all the elements which render as paths | 49 // "base class" methods for all the elements which render as paths |
| 50 virtual void toClipPath(Path&); | 50 virtual void toClipPath(Path&); |
| 51 virtual RenderObject* createRenderer(RenderStyle*); | 51 virtual RenderObject* createRenderer(RenderStyle*); |
| 52 | 52 |
| 53 protected: | 53 protected: |
| 54 SVGGraphicsElement(const QualifiedName&, Document*, ConstructionType = Creat
eSVGElement); | 54 SVGGraphicsElement(const QualifiedName&, Document*, ConstructionType = Creat
eSVGElement); |
| 55 | 55 |
| 56 bool isSupportedAttribute(const QualifiedName&); | 56 bool isSupportedAttribute(const QualifiedName&); |
| 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| (...skipping 18 matching lines...) Expand all Loading... |
| 76 inline SVGGraphicsElement* toSVGGraphicsElement(Node* node) | 76 inline SVGGraphicsElement* toSVGGraphicsElement(Node* node) |
| 77 { | 77 { |
| 78 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); | 78 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isSVGElement()); |
| 79 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGGraphicsE
lement()); | 79 ASSERT_WITH_SECURITY_IMPLICATION(!node || toSVGElement(node)->isSVGGraphicsE
lement()); |
| 80 return static_cast<SVGGraphicsElement*>(node); | 80 return static_cast<SVGGraphicsElement*>(node); |
| 81 } | 81 } |
| 82 | 82 |
| 83 } // namespace WebCore | 83 } // namespace WebCore |
| 84 | 84 |
| 85 #endif // SVGGraphicsElement_h | 85 #endif // SVGGraphicsElement_h |
| OLD | NEW |