OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Inc. | 2 * Copyright (C) 2006 Apple Inc. |
3 * Copyright (C) 2009 Google, Inc. | 3 * Copyright (C) 2009 Google, Inc. |
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 RenderBlock::paint(childPaintInfo, childPoint); | 91 RenderBlock::paint(childPaintInfo, childPoint); |
92 childPaintInfo.phase = PaintPhase::Outline; | 92 childPaintInfo.phase = PaintPhase::Outline; |
93 RenderBlock::paint(childPaintInfo, childPoint); | 93 RenderBlock::paint(childPaintInfo, childPoint); |
94 } | 94 } |
95 | 95 |
96 LayoutRect RenderSVGForeignObject::clippedOverflowRectForRepaint(const RenderLay
erModelObject* repaintContainer) const | 96 LayoutRect RenderSVGForeignObject::clippedOverflowRectForRepaint(const RenderLay
erModelObject* repaintContainer) const |
97 { | 97 { |
98 return SVGRenderSupport::clippedOverflowRectForRepaint(*this, repaintContain
er); | 98 return SVGRenderSupport::clippedOverflowRectForRepaint(*this, repaintContain
er); |
99 } | 99 } |
100 | 100 |
101 FloatRect RenderSVGForeignObject::computeFloatRectForRepaint(const FloatRect& re
paintRect, const RenderLayerModelObject* repaintContainer, bool fixed) const | 101 FloatRect RenderSVGForeignObject::computeFloatRectForRepaint(const FloatRect& re
paintRect, const RenderLayerModelObject* repaintContainer, bool fixed, bool useE
dgeInclusiveIntersection, bool* intersects) const |
102 { | 102 { |
103 return SVGRenderSupport::computeFloatRectForRepaint(*this, repaintRect, repa
intContainer, fixed); | 103 return SVGRenderSupport::computeFloatRectForRepaint(*this, repaintRect, repa
intContainer, fixed, useEdgeInclusiveIntersection, intersects); |
104 } | 104 } |
105 | 105 |
106 LayoutRect RenderSVGForeignObject::computeRectForRepaint(const LayoutRect& repai
ntRect, const RenderLayerModelObject* repaintContainer, RepaintContext context)
const | 106 LayoutRect RenderSVGForeignObject::computeRectForRepaint(const LayoutRect& repai
ntRect, const RenderLayerModelObject* repaintContainer, RepaintContext context,
bool* intersects) const |
107 { | 107 { |
108 return enclosingLayoutRect(computeFloatRectForRepaint(repaintRect, repaintCo
ntainer, context.m_hasPositionFixedDescendant)); | 108 return enclosingLayoutRect(computeFloatRectForRepaint(repaintRect, repaintCo
ntainer, context.m_hasPositionFixedDescendant, context.m_useEdgeInclusiveInterse
ction, intersects)); |
109 } | 109 } |
110 | 110 |
111 const AffineTransform& RenderSVGForeignObject::localToParentTransform() const | 111 const AffineTransform& RenderSVGForeignObject::localToParentTransform() const |
112 { | 112 { |
113 m_localToParentTransform = localTransform(); | 113 m_localToParentTransform = localTransform(); |
114 m_localToParentTransform.translate(m_viewport.location()); | 114 m_localToParentTransform.translate(m_viewport.location()); |
115 return m_localToParentTransform; | 115 return m_localToParentTransform; |
116 } | 116 } |
117 | 117 |
118 void RenderSVGForeignObject::updateLogicalWidth() | 118 void RenderSVGForeignObject::updateLogicalWidth() |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 { | 205 { |
206 SVGRenderSupport::mapLocalToContainer(*this, repaintContainer, transformStat
e, wasFixed); | 206 SVGRenderSupport::mapLocalToContainer(*this, repaintContainer, transformStat
e, wasFixed); |
207 } | 207 } |
208 | 208 |
209 const RenderObject* RenderSVGForeignObject::pushMappingToContainer(const RenderL
ayerModelObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const | 209 const RenderObject* RenderSVGForeignObject::pushMappingToContainer(const RenderL
ayerModelObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const |
210 { | 210 { |
211 return SVGRenderSupport::pushMappingToContainer(*this, ancestorToStopAt, geo
metryMap); | 211 return SVGRenderSupport::pushMappingToContainer(*this, ancestorToStopAt, geo
metryMap); |
212 } | 212 } |
213 | 213 |
214 } | 214 } |
OLD | NEW |