LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (c) 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2009, Google Inc. All rights reserved. |
3 *· | 3 *· |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 *· | 7 *· |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 : RenderElement(element, WTFMove(style), 0) | 46 : RenderElement(element, WTFMove(style), 0) |
47 , m_hasSVGShadow(false) | 47 , m_hasSVGShadow(false) |
48 { | 48 { |
49 } | 49 } |
50 | 50 |
51 LayoutRect RenderSVGModelObject::clippedOverflowRectForRepaint(const RenderLayer
ModelObject* repaintContainer) const | 51 LayoutRect RenderSVGModelObject::clippedOverflowRectForRepaint(const RenderLayer
ModelObject* repaintContainer) const |
52 { | 52 { |
53 return SVGRenderSupport::clippedOverflowRectForRepaint(*this, repaintContain
er); | 53 return SVGRenderSupport::clippedOverflowRectForRepaint(*this, repaintContain
er); |
54 } | 54 } |
55 | 55 |
56 FloatRect RenderSVGModelObject::computeFloatRectForRepaint(const FloatRect& repa
intRect, const RenderLayerModelObject* repaintContainer, bool fixed) const | 56 FloatRect RenderSVGModelObject::computeFloatRectForRepaint(const FloatRect& repa
intRect, const RenderLayerModelObject* repaintContainer, bool fixed, bool useInc
lusiveIntersection, bool* intersects) const |
57 { | 57 { |
58 return SVGRenderSupport::computeFloatRectForRepaint(*this, repaintRect, repa
intContainer, fixed); | 58 return SVGRenderSupport::computeFloatRectForRepaint(*this, repaintRect, repa
intContainer, fixed, useInclusiveIntersection, intersects); |
59 } | 59 } |
60 | 60 |
61 void RenderSVGModelObject::mapLocalToContainer(const RenderLayerModelObject* rep
aintContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFix
ed) const | 61 void RenderSVGModelObject::mapLocalToContainer(const RenderLayerModelObject* rep
aintContainer, TransformState& transformState, MapCoordinatesFlags, bool* wasFix
ed) const |
62 { | 62 { |
63 SVGRenderSupport::mapLocalToContainer(*this, repaintContainer, transformStat
e, wasFixed); | 63 SVGRenderSupport::mapLocalToContainer(*this, repaintContainer, transformStat
e, wasFixed); |
64 } | 64 } |
65 | 65 |
66 const RenderObject* RenderSVGModelObject::pushMappingToContainer(const RenderLay
erModelObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const | 66 const RenderObject* RenderSVGModelObject::pushMappingToContainer(const RenderLay
erModelObject* ancestorToStopAt, RenderGeometryMap& geometryMap) const |
67 { | 67 { |
68 return SVGRenderSupport::pushMappingToContainer(*this, ancestorToStopAt, geo
metryMap); | 68 return SVGRenderSupport::pushMappingToContainer(*this, ancestorToStopAt, geo
metryMap); |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 if (!isGraphicsElement(*renderer)) | 186 if (!isGraphicsElement(*renderer)) |
187 return false; | 187 return false; |
188 AffineTransform ctm; | 188 AffineTransform ctm; |
189 SVGElement* svgElement = downcast<SVGElement>(renderer->element()); | 189 SVGElement* svgElement = downcast<SVGElement>(renderer->element()); |
190 getElementCTM(svgElement, ctm); | 190 getElementCTM(svgElement, ctm); |
191 ASSERT(svgElement->renderer()); | 191 ASSERT(svgElement->renderer()); |
192 return rect.contains(ctm.mapRect(svgElement->renderer()->repaintRectInLocalC
oordinates())); | 192 return rect.contains(ctm.mapRect(svgElement->renderer()->repaintRectInLocalC
oordinates())); |
193 } | 193 } |
194 | 194 |
195 } // namespace WebCore | 195 } // namespace WebCore |
LEFT | RIGHT |