| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 SVGElement* farthestViewportElement() const; | 53 SVGElement* farthestViewportElement() const; |
| 54 | 54 |
| 55 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const override { return calculateAnimatedLocalTransform(); } | 55 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope)
const override { return calculateAnimatedLocalTransform(); } |
| 56 bool hasAnimatedLocalTransform() const; | 56 bool hasAnimatedLocalTransform() const; |
| 57 AffineTransform calculateAnimatedLocalTransform() const; | 57 AffineTransform calculateAnimatedLocalTransform() const; |
| 58 virtual AffineTransform* animateMotionTransform() override; | 58 virtual AffineTransform* animateMotionTransform() override; |
| 59 | 59 |
| 60 virtual FloatRect getBBox(); | 60 virtual FloatRect getBBox(); |
| 61 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); | 61 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); |
| 62 | 62 |
| 63 // FIXME: This should only be defined on SVGGeometryElement. | |
| 64 virtual void toClipPath(Path&) { } | |
| 65 | |
| 66 virtual bool isValid() const override final { return SVGTests::isValid(docum
ent()); } | 63 virtual bool isValid() const override final { return SVGTests::isValid(docum
ent()); } |
| 67 | 64 |
| 68 SVGAnimatedTransformList* transform() { return m_transform.get(); } | 65 SVGAnimatedTransformList* transform() { return m_transform.get(); } |
| 69 const SVGAnimatedTransformList* transform() const { return m_transform.get()
; } | 66 const SVGAnimatedTransformList* transform() const { return m_transform.get()
; } |
| 70 | 67 |
| 71 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St
yleUpdateStrategy, | 68 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St
yleUpdateStrategy, |
| 72 const SVGGraphicsElement* ancestor = 0) const; | 69 const SVGGraphicsElement* ancestor = 0) const; |
| 73 | 70 |
| 74 DECLARE_VIRTUAL_TRACE(); | 71 DECLARE_VIRTUAL_TRACE(); |
| 75 | 72 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 89 inline bool isSVGGraphicsElement(const SVGElement& element) | 86 inline bool isSVGGraphicsElement(const SVGElement& element) |
| 90 { | 87 { |
| 91 return element.isSVGGraphicsElement(); | 88 return element.isSVGGraphicsElement(); |
| 92 } | 89 } |
| 93 | 90 |
| 94 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 91 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
| 95 | 92 |
| 96 } // namespace blink | 93 } // namespace blink |
| 97 | 94 |
| 98 #endif // SVGGraphicsElement_h | 95 #endif // SVGGraphicsElement_h |
| OLD | NEW |