| 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 * Copyright (C) 2014 Google, Inc. | 4 * Copyright (C) 2014 Google, Inc. |
| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 AffineTransform calculateAnimatedLocalTransform() const; | 54 AffineTransform calculateAnimatedLocalTransform() const; |
| 55 virtual AffineTransform* animateMotionTransform() override; | 55 virtual AffineTransform* animateMotionTransform() override; |
| 56 | 56 |
| 57 virtual FloatRect getBBox(); | 57 virtual FloatRect getBBox(); |
| 58 PassRefPtr<SVGRectTearOff> getBBoxFromJavascript(); | 58 PassRefPtr<SVGRectTearOff> getBBoxFromJavascript(); |
| 59 | 59 |
| 60 // "base class" methods for all the elements which render as paths | 60 // "base class" methods for all the elements which render as paths |
| 61 virtual void toClipPath(Path&); | 61 virtual void toClipPath(Path&); |
| 62 virtual RenderObject* createRenderer(RenderStyle*) override; | 62 virtual RenderObject* createRenderer(RenderStyle*) override; |
| 63 | 63 |
| 64 virtual bool isValid() const override final { return SVGTests::isValid(); } | 64 virtual bool isValid() const override final { return SVGTests::isValid(docum
ent()); } |
| 65 | 65 |
| 66 SVGAnimatedTransformList* transform() { return m_transform.get(); } | 66 SVGAnimatedTransformList* transform() { return m_transform.get(); } |
| 67 const SVGAnimatedTransformList* transform() const { return m_transform.get()
; } | 67 const SVGAnimatedTransformList* transform() const { return m_transform.get()
; } |
| 68 | 68 |
| 69 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St
yleUpdateStrategy, | 69 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St
yleUpdateStrategy, |
| 70 const SVGGraphicsElement* ancestor = 0) const; | 70 const SVGGraphicsElement* ancestor = 0) const; |
| 71 | 71 |
| 72 protected: | 72 protected: |
| 73 SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = Creat
eSVGElement); | 73 SVGGraphicsElement(const QualifiedName&, Document&, ConstructionType = Creat
eSVGElement); |
| 74 | 74 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 87 inline bool isSVGGraphicsElement(const SVGElement& element) | 87 inline bool isSVGGraphicsElement(const SVGElement& element) |
| 88 { | 88 { |
| 89 return element.isSVGGraphicsElement(); | 89 return element.isSVGGraphicsElement(); |
| 90 } | 90 } |
| 91 | 91 |
| 92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
| 93 | 93 |
| 94 } // namespace blink | 94 } // namespace blink |
| 95 | 95 |
| 96 #endif // SVGGraphicsElement_h | 96 #endif // SVGGraphicsElement_h |
| OLD | NEW |