| 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, 2008 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2008 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 23 matching lines...) Expand all Loading... |
| 34 static PassRefPtr<SVGTextElement> create(const QualifiedName&, const Handle<
Document>&); | 34 static PassRefPtr<SVGTextElement> create(const QualifiedName&, const Handle<
Document>&); |
| 35 | 35 |
| 36 virtual SVGElement* nearestViewportElement() const; | 36 virtual SVGElement* nearestViewportElement() const; |
| 37 virtual SVGElement* farthestViewportElement() const; | 37 virtual SVGElement* farthestViewportElement() const; |
| 38 | 38 |
| 39 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); | 39 virtual FloatRect getBBox(StyleUpdateStrategy = AllowStyleUpdate); |
| 40 virtual AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); | 40 virtual AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); |
| 41 virtual AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate)
; | 41 virtual AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate)
; |
| 42 virtual AffineTransform animatedLocalTransform() const; | 42 virtual AffineTransform animatedLocalTransform() const; |
| 43 | 43 |
| 44 virtual void accept(Visitor* visitor) const OVERRIDE { SVGTextPositioningEle
ment::accept(visitor); } |
| 45 |
| 44 private: | 46 private: |
| 45 SVGTextElement(const QualifiedName&, const Handle<Document>&); | 47 SVGTextElement(const QualifiedName&, const Handle<Document>&); |
| 46 | 48 |
| 47 virtual bool supportsFocus() const { return true; } | 49 virtual bool supportsFocus() const { return true; } |
| 48 | 50 |
| 49 bool isSupportedAttribute(const QualifiedName&); | 51 bool isSupportedAttribute(const QualifiedName&); |
| 50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 51 | 53 |
| 52 virtual AffineTransform* supplementalTransform(); | 54 virtual AffineTransform* supplementalTransform(); |
| 53 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope
mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); } | 55 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope
mode) const { return SVGTransformable::localCoordinateSpaceTransform(mode); } |
| 54 | 56 |
| 55 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 57 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 56 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 58 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
| 57 | 59 |
| 58 virtual void svgAttributeChanged(const QualifiedName&); | 60 virtual void svgAttributeChanged(const QualifiedName&); |
| 59 | 61 |
| 60 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextElement) | 62 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextElement) |
| 61 DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform) | 63 DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform) |
| 62 END_DECLARE_ANIMATED_PROPERTIES | 64 END_DECLARE_ANIMATED_PROPERTIES |
| 63 | 65 |
| 64 // Used by <animateMotion> | 66 // Used by <animateMotion> |
| 65 OwnPtr<AffineTransform> m_supplementalTransform; | 67 OwnPtr<AffineTransform> m_supplementalTransform; |
| 66 }; | 68 }; |
| 67 | 69 |
| 68 } // namespace WebCore | 70 } // namespace WebCore |
| 69 | 71 |
| 70 #endif // ENABLE(SVG) | 72 #endif // ENABLE(SVG) |
| 71 #endif | 73 #endif |
| OLD | NEW |