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. All rights reserved. | 3 * Copyright (C) 2006 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 return textRoot->paintInvalidationRectInLocalCoordinates(); | 81 return textRoot->paintInvalidationRectInLocalCoordinates(); |
82 | 82 |
83 return FloatRect(); | 83 return FloatRect(); |
84 } | 84 } |
85 | 85 |
86 LayoutRect LayoutSVGInline::clippedOverflowRectForPaintInvalidation(const Layout
BoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintI
nvalidationState) const | 86 LayoutRect LayoutSVGInline::clippedOverflowRectForPaintInvalidation(const Layout
BoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintI
nvalidationState) const |
87 { | 87 { |
88 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, pain
tInvalidationContainer, paintInvalidationState); | 88 return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this, pain
tInvalidationContainer, paintInvalidationState); |
89 } | 89 } |
90 | 90 |
91 void LayoutSVGInline::mapLocalToContainer(const LayoutBoxModelObject* paintInval
idationContainer, TransformState& transformState, MapCoordinatesFlags, bool* was
Fixed, const PaintInvalidationState* paintInvalidationState) const | 91 void LayoutSVGInline::mapLocalToAncestor(const LayoutBoxModelObject* ancestor, T
ransformState& transformState, MapCoordinatesFlags, bool* wasFixed, const PaintI
nvalidationState* paintInvalidationState) const |
92 { | 92 { |
93 SVGLayoutSupport::mapLocalToContainer(this, paintInvalidationContainer, tran
sformState, wasFixed, paintInvalidationState); | 93 SVGLayoutSupport::mapLocalToAncestor(this, ancestor, transformState, wasFixe
d, paintInvalidationState); |
94 } | 94 } |
95 | 95 |
96 const LayoutObject* LayoutSVGInline::pushMappingToContainer(const LayoutBoxModel
Object* ancestorToStopAt, LayoutGeometryMap& geometryMap) const | 96 const LayoutObject* LayoutSVGInline::pushMappingToContainer(const LayoutBoxModel
Object* ancestorToStopAt, LayoutGeometryMap& geometryMap) const |
97 { | 97 { |
98 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); | 98 return SVGLayoutSupport::pushMappingToContainer(this, ancestorToStopAt, geom
etryMap); |
99 } | 99 } |
100 | 100 |
101 void LayoutSVGInline::absoluteQuads(Vector<FloatQuad>& quads, bool* wasFixed) co
nst | 101 void LayoutSVGInline::absoluteQuads(Vector<FloatQuad>& quads, bool* wasFixed) co
nst |
102 { | 102 { |
103 const LayoutSVGText* textRoot = LayoutSVGText::locateLayoutSVGTextAncestor(t
his); | 103 const LayoutSVGText* textRoot = LayoutSVGText::locateLayoutSVGTextAncestor(t
his); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 if (reason == PaintInvalidationDelayedFull) | 161 if (reason == PaintInvalidationDelayedFull) |
162 paintInvalidationState.pushDelayedPaintInvalidationTarget(*this); | 162 paintInvalidationState.pushDelayedPaintInvalidationTarget(*this); |
163 | 163 |
164 PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, pai
ntInvalidationState.paintInvalidationContainer()); | 164 PaintInvalidationState childTreeWalkState(paintInvalidationState, *this, pai
ntInvalidationState.paintInvalidationContainer()); |
165 if (reason == PaintInvalidationSVGResourceChange) | 165 if (reason == PaintInvalidationSVGResourceChange) |
166 childTreeWalkState.setForceSubtreeInvalidationWithinContainer(); | 166 childTreeWalkState.setForceSubtreeInvalidationWithinContainer(); |
167 invalidatePaintOfSubtreesIfNeeded(childTreeWalkState); | 167 invalidatePaintOfSubtreesIfNeeded(childTreeWalkState); |
168 } | 168 } |
169 | 169 |
170 } | 170 } |
OLD | NEW |