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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 FloatSize currentViewportSize() const; | 65 FloatSize currentViewportSize() const; |
66 FloatRect currentViewBoxRect() const; | 66 FloatRect currentViewBoxRect() const; |
67 | 67 |
68 float currentScale() const; | 68 float currentScale() const; |
69 void setCurrentScale(float scale); | 69 void setCurrentScale(float scale); |
70 | 70 |
71 FloatPoint currentTranslate() { return m_translation->value(); } | 71 FloatPoint currentTranslate() { return m_translation->value(); } |
72 void setCurrentTranslate(const FloatPoint&); | 72 void setCurrentTranslate(const FloatPoint&); |
73 PassRefPtrWillBeRawPtr<SVGPointTearOff> currentTranslateFromJavascript(); | 73 PassRefPtrWillBeRawPtr<SVGPointTearOff> currentTranslateFromJavascript(); |
74 | 74 |
75 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } | 75 SMILTimeContainer* timeContainer() const; |
76 | 76 |
77 void pauseAnimations(); | 77 void pauseAnimations(); |
78 void unpauseAnimations(); | 78 void unpauseAnimations(); |
79 bool animationsPaused() const; | 79 bool animationsPaused() const; |
80 | 80 |
81 float getCurrentTime() const; | 81 float getCurrentTime() const; |
82 void setCurrentTime(float seconds); | 82 void setCurrentTime(float seconds); |
83 | 83 |
84 // Stubs for the deprecated 'redraw' interface. | 84 // Stubs for the deprecated 'redraw' interface. |
85 unsigned suspendRedraw(unsigned) { return 1; } | 85 unsigned suspendRedraw(unsigned) { return 1; } |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; | 161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; |
162 RefPtrWillBeMember<SVGPoint> m_translation; | 162 RefPtrWillBeMember<SVGPoint> m_translation; |
163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; | 163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; |
164 | 164 |
165 friend class SVGCurrentTranslateTearOff; | 165 friend class SVGCurrentTranslateTearOff; |
166 }; | 166 }; |
167 | 167 |
168 } // namespace blink | 168 } // namespace blink |
169 | 169 |
170 #endif // SVGSVGElement_h | 170 #endif // SVGSVGElement_h |
OLD | NEW |