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 Computer Inc. | 3 * Copyright (C) 2006 Apple Computer 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 27 matching lines...) Expand all Loading... |
38 // Chapter 10.4 of the SVG Specification say that we should use the | 38 // Chapter 10.4 of the SVG Specification say that we should use the |
39 // object bounding box of the parent text element. | 39 // object bounding box of the parent text element. |
40 // We search for the root text element and take its bounding box. | 40 // We search for the root text element and take its bounding box. |
41 // It is also necessary to take the stroke and paint invalidation rect of | 41 // It is also necessary to take the stroke and paint invalidation rect of |
42 // this element, since we need it for filters. | 42 // this element, since we need it for filters. |
43 virtual FloatRect objectBoundingBox() const override final; | 43 virtual FloatRect objectBoundingBox() const override final; |
44 virtual FloatRect strokeBoundingBox() const override final; | 44 virtual FloatRect strokeBoundingBox() const override final; |
45 virtual FloatRect paintInvalidationRectInLocalCoordinates() const override f
inal; | 45 virtual FloatRect paintInvalidationRectInLocalCoordinates() const override f
inal; |
46 | 46 |
47 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override final; | 47 virtual LayoutRect clippedOverflowRectForPaintInvalidation(const RenderLayer
ModelObject* paintInvalidationContainer, const PaintInvalidationState* = 0) cons
t override final; |
48 virtual void computeFloatRectForPaintInvalidation(const RenderLayerModelObje
ct* paintInvalidationContainer, FloatRect&, const PaintInvalidationState*) const
override final; | |
49 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool*
wasFixed = 0, const PaintInvalidationState* = 0) const override final; | 48 virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalida
tionContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool*
wasFixed = 0, const PaintInvalidationState* = 0) const override final; |
50 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const override final; | 49 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const override final; |
51 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const overrid
e final; | 50 virtual void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const overrid
e final; |
52 | 51 |
53 private: | 52 private: |
54 virtual InlineFlowBox* createInlineFlowBox() override final; | 53 virtual InlineFlowBox* createInlineFlowBox() override final; |
55 | 54 |
56 virtual void willBeDestroyed() override final; | 55 virtual void willBeDestroyed() override final; |
57 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride final; | 56 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) ov
erride final; |
58 | 57 |
59 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride final; | 58 virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) ov
erride final; |
60 virtual void removeChild(RenderObject*) override final; | 59 virtual void removeChild(RenderObject*) override final; |
61 }; | 60 }; |
62 | 61 |
63 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGInline, isSVGInline()); | 62 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGInline, isSVGInline()); |
64 | 63 |
65 } | 64 } |
66 | 65 |
67 #endif // !RenderSVGTSpan_H | 66 #endif // !RenderSVGTSpan_H |
OLD | NEW |