| 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 30 matching lines...) Expand all Loading... |
| 41 public: | 41 public: |
| 42 ~SVGGraphicsElement() override; | 42 ~SVGGraphicsElement() override; |
| 43 | 43 |
| 44 enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate }; | 44 enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate }; |
| 45 | 45 |
| 46 AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); | 46 AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); |
| 47 AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate); | 47 AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate); |
| 48 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> getCTMFromJavascript(); | 48 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> getCTMFromJavascript(); |
| 49 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> getScreenCTMFromJavascript(); | 49 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> getScreenCTMFromJavascript(); |
| 50 | 50 |
| 51 PassRefPtrWillBeRawPtr<SVGMatrixTearOff> getTransformToElement(SVGElement*,
ExceptionState&); | |
| 52 | |
| 53 SVGElement* nearestViewportElement() const; | 51 SVGElement* nearestViewportElement() const; |
| 54 SVGElement* farthestViewportElement() const; | 52 SVGElement* farthestViewportElement() const; |
| 55 | 53 |
| 56 AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const ov
erride { return calculateAnimatedLocalTransform(); } | 54 AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const ov
erride { return calculateAnimatedLocalTransform(); } |
| 57 bool hasAnimatedLocalTransform() const; | 55 bool hasAnimatedLocalTransform() const; |
| 58 AffineTransform calculateAnimatedLocalTransform() const; | 56 AffineTransform calculateAnimatedLocalTransform() const; |
| 59 AffineTransform* animateMotionTransform() override; | 57 AffineTransform* animateMotionTransform() override; |
| 60 | 58 |
| 61 virtual FloatRect getBBox(); | 59 virtual FloatRect getBBox(); |
| 62 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); | 60 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 87 inline bool isSVGGraphicsElement(const SVGElement& element) | 85 inline bool isSVGGraphicsElement(const SVGElement& element) |
| 88 { | 86 { |
| 89 return element.isSVGGraphicsElement(); | 87 return element.isSVGGraphicsElement(); |
| 90 } | 88 } |
| 91 | 89 |
| 92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 90 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
| 93 | 91 |
| 94 } // namespace blink | 92 } // namespace blink |
| 95 | 93 |
| 96 #endif // SVGGraphicsElement_h | 94 #endif // SVGGraphicsElement_h |
| OLD | NEW |