OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 | 43 |
44 class SVGSVGElement final : public SVGGraphicsElement, | 44 class SVGSVGElement final : public SVGGraphicsElement, |
45 public SVGFitToViewBox, | 45 public SVGFitToViewBox, |
46 public SVGZoomAndPan { | 46 public SVGZoomAndPan { |
47 DEFINE_WRAPPERTYPEINFO(); | 47 DEFINE_WRAPPERTYPEINFO(); |
48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement); | 48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement); |
49 public: | 49 public: |
50 DECLARE_NODE_FACTORY(SVGSVGElement); | 50 DECLARE_NODE_FACTORY(SVGSVGElement); |
51 | 51 |
52 // 'SVGSVGElement' functions | 52 // 'SVGSVGElement' functions |
53 SVGRectTearOff* viewport() const; | |
54 | |
55 bool useCurrentView() const { return m_useCurrentView; } | 53 bool useCurrentView() const { return m_useCurrentView; } |
56 SVGViewSpec* currentView(); | 54 SVGViewSpec* currentView(); |
57 | 55 |
58 float intrinsicWidth() const; | 56 float intrinsicWidth() const; |
59 float intrinsicHeight() const; | 57 float intrinsicHeight() const; |
60 FloatSize currentViewportSize() const; | 58 FloatSize currentViewportSize() const; |
61 FloatRect currentViewBoxRect() const; | 59 FloatRect currentViewBoxRect() const; |
62 SVGPreserveAspectRatio* currentPreserveAspectRatio() const; | 60 SVGPreserveAspectRatio* currentPreserveAspectRatio() const; |
63 | 61 |
64 float currentScale() const; | 62 float currentScale() const; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 Member<SVGPoint> m_translation; | 157 Member<SVGPoint> m_translation; |
160 Member<SVGViewSpec> m_viewSpec; | 158 Member<SVGViewSpec> m_viewSpec; |
161 float m_currentScale; | 159 float m_currentScale; |
162 | 160 |
163 friend class SVGCurrentTranslateTearOff; | 161 friend class SVGCurrentTranslateTearOff; |
164 }; | 162 }; |
165 | 163 |
166 } // namespace blink | 164 } // namespace blink |
167 | 165 |
168 #endif // SVGSVGElement_h | 166 #endif // SVGSVGElement_h |
OLD | NEW |