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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SVGMatrixTearOff* getCTMFromJavascript(); | 48 SVGMatrixTearOff* getCTMFromJavascript(); |
49 SVGMatrixTearOff* getScreenCTMFromJavascript(); | 49 SVGMatrixTearOff* getScreenCTMFromJavascript(); |
50 | 50 |
51 SVGElement* nearestViewportElement() const; | 51 SVGElement* nearestViewportElement() const; |
52 SVGElement* farthestViewportElement() const; | 52 SVGElement* farthestViewportElement() const; |
53 | 53 |
54 AffineTransform localCoordinateSpaceTransform( | 54 AffineTransform localCoordinateSpaceTransform() const override { |
55 SVGElement::CTMScope) const override { | |
56 return calculateTransform(IncludeMotionTransform); | 55 return calculateTransform(IncludeMotionTransform); |
57 } | 56 } |
58 AffineTransform* animateMotionTransform() override; | 57 AffineTransform* animateMotionTransform() override; |
59 | 58 |
60 virtual FloatRect getBBox(); | 59 virtual FloatRect getBBox(); |
61 SVGRectTearOff* getBBoxFromJavascript(); | 60 SVGRectTearOff* getBBoxFromJavascript(); |
62 | 61 |
63 bool isValid() const final { return SVGTests::isValid(); } | 62 bool isValid() const final { return SVGTests::isValid(); } |
64 | 63 |
65 SVGAnimatedTransformList* transform() { return m_transform.get(); } | 64 SVGAnimatedTransformList* transform() { return m_transform.get(); } |
(...skipping 29 matching lines...) Expand all Loading... |
95 | 94 |
96 inline bool isSVGGraphicsElement(const SVGElement& element) { | 95 inline bool isSVGGraphicsElement(const SVGElement& element) { |
97 return element.isSVGGraphicsElement(); | 96 return element.isSVGGraphicsElement(); |
98 } | 97 } |
99 | 98 |
100 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 99 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
101 | 100 |
102 } // namespace blink | 101 } // namespace blink |
103 | 102 |
104 #endif // SVGGraphicsElement_h | 103 #endif // SVGGraphicsElement_h |
OLD | NEW |