OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
3 * Copyright (C) 2006 Apple Inc. | 3 * Copyright (C) 2006 Apple Inc. |
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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 // Chapter 10.4 of the SVG Specification say that we should use the | 44 // Chapter 10.4 of the SVG Specification say that we should use the |
45 // object bounding box of the parent text element. | 45 // object bounding box of the parent text element. |
46 // We search for the root text element and take its bounding box. | 46 // We search for the root text element and take its bounding box. |
47 // It is also necessary to take the stroke and repaint rect of | 47 // It is also necessary to take the stroke and repaint rect of |
48 // this element, since we need it for filters. | 48 // this element, since we need it for filters. |
49 FloatRect objectBoundingBox() const final; | 49 FloatRect objectBoundingBox() const final; |
50 FloatRect strokeBoundingBox() const final; | 50 FloatRect strokeBoundingBox() const final; |
51 FloatRect repaintRectInLocalCoordinates() const final; | 51 FloatRect repaintRectInLocalCoordinates() const final; |
52 | 52 |
53 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const final; | 53 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const final; |
54 FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerMode
lObject* repaintContainer, bool fixed = false) const final; | 54 FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerMode
lObject* repaintContainer, bool fixed = false, bool useInclusiveIntersection = f
alse, bool* intersects = nullptr) const final; |
55 void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, Tra
nsformState&, MapCoordinatesFlags, bool* wasFixed) const final; | 55 void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, Tra
nsformState&, MapCoordinatesFlags, bool* wasFixed) const final; |
56 const RenderObject* pushMappingToContainer(const RenderLayerModelObject* anc
estorToStopAt, RenderGeometryMap&) const final; | 56 const RenderObject* pushMappingToContainer(const RenderLayerModelObject* anc
estorToStopAt, RenderGeometryMap&) const final; |
57 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const final; | 57 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const final; |
58 | 58 |
59 std::unique_ptr<InlineFlowBox> createInlineFlowBox() final; | 59 std::unique_ptr<InlineFlowBox> createInlineFlowBox() final; |
60 | 60 |
61 void willBeDestroyed() final; | 61 void willBeDestroyed() final; |
62 void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final; | 62 void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final; |
63 }; | 63 }; |
64 | 64 |
65 } // namespace WebCore | 65 } // namespace WebCore |
66 | 66 |
67 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderSVGInline, isSVGInline()) | 67 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderSVGInline, isSVGInline()) |
OLD | NEW |