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 30 matching lines...) Expand all Loading... |
41 USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement); | 41 USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement); |
42 USING_PRE_FINALIZER(SVGUseElement, dispose); | 42 USING_PRE_FINALIZER(SVGUseElement, dispose); |
43 public: | 43 public: |
44 static SVGUseElement* create(Document&); | 44 static SVGUseElement* create(Document&); |
45 ~SVGUseElement() override; | 45 ~SVGUseElement() override; |
46 | 46 |
47 void invalidateShadowTree(); | 47 void invalidateShadowTree(); |
48 | 48 |
49 // Return the element that should be used for clipping, | 49 // Return the element that should be used for clipping, |
50 // or null if a valid clip element is not directly referenced. | 50 // or null if a valid clip element is not directly referenced. |
51 SVGGraphicsElement* targetGraphicsElementForClipping() const; | 51 SVGGraphicsElement* visibleTargetGraphicsElementForClipping() 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 void toClipPath(Path&) const; | 61 void toClipPath(Path&) const; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 | 115 |
116 bool m_haveFiredLoadEvent; | 116 bool m_haveFiredLoadEvent; |
117 bool m_needsShadowTreeRecreation; | 117 bool m_needsShadowTreeRecreation; |
118 Member<SVGElement> m_targetElementInstance; | 118 Member<SVGElement> m_targetElementInstance; |
119 Member<DocumentResource> m_resource; | 119 Member<DocumentResource> m_resource; |
120 }; | 120 }; |
121 | 121 |
122 } // namespace blink | 122 } // namespace blink |
123 | 123 |
124 #endif // SVGUseElement_h | 124 #endif // SVGUseElement_h |
OLD | NEW |