| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde
.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007, 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 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 SVGGraphicsElement* targetGraphicsElementForClipping() const; | 51 SVGGraphicsElement* targetGraphicsElementForClipping() const; |
| 52 | 52 |
| 53 SVGAnimatedLength* x() const { return m_x.get(); } | 53 SVGAnimatedLength* x() const { return m_x.get(); } |
| 54 SVGAnimatedLength* y() const { return m_y.get(); } | 54 SVGAnimatedLength* y() const { return m_y.get(); } |
| 55 SVGAnimatedLength* width() const { return m_width.get(); } | 55 SVGAnimatedLength* width() const { return m_width.get(); } |
| 56 SVGAnimatedLength* height() const { return m_height.get(); } | 56 SVGAnimatedLength* height() const { return m_height.get(); } |
| 57 | 57 |
| 58 void buildPendingResource() override; | 58 void buildPendingResource() override; |
| 59 | 59 |
| 60 void dispatchPendingEvent(SVGUseEventSender*); | 60 void dispatchPendingEvent(SVGUseEventSender*); |
| 61 bool isVisibleGraphicsElementForClipping(); |
| 61 void toClipPath(Path&) const; | 62 void toClipPath(Path&) const; |
| 62 | 63 |
| 63 DECLARE_VIRTUAL_TRACE(); | 64 DECLARE_VIRTUAL_TRACE(); |
| 64 | 65 |
| 65 private: | 66 private: |
| 66 explicit SVGUseElement(Document&); | 67 explicit SVGUseElement(Document&); |
| 67 | 68 |
| 68 void dispose(); | 69 void dispose(); |
| 69 | 70 |
| 70 FloatRect getBBox() override; | 71 FloatRect getBBox() override; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 | 116 |
| 116 bool m_haveFiredLoadEvent; | 117 bool m_haveFiredLoadEvent; |
| 117 bool m_needsShadowTreeRecreation; | 118 bool m_needsShadowTreeRecreation; |
| 118 Member<SVGElement> m_targetElementInstance; | 119 Member<SVGElement> m_targetElementInstance; |
| 119 Member<DocumentResource> m_resource; | 120 Member<DocumentResource> m_resource; |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace blink | 123 } // namespace blink |
| 123 | 124 |
| 124 #endif // SVGUseElement_h | 125 #endif // SVGUseElement_h |
| OLD | NEW |