diff options
Diffstat (limited to 'WebCore/rendering/SVGRenderSupport.h')
-rw-r--r-- | WebCore/rendering/SVGRenderSupport.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/WebCore/rendering/SVGRenderSupport.h b/WebCore/rendering/SVGRenderSupport.h index 2de1e99..54622d2 100644 --- a/WebCore/rendering/SVGRenderSupport.h +++ b/WebCore/rendering/SVGRenderSupport.h @@ -58,15 +58,8 @@ public: // Determines whether the passed point lies in a clipping area static bool pointInClippingArea(RenderObject*, const FloatPoint&); - enum ContainerBoundingBoxMode { - ObjectBoundingBox, - StrokeBoundingBox, - RepaintBoundingBox - }; - - // Used to share the "walk all the children" logic between objectBoundingBox - // and repaintRectInLocalCoordinates in RenderSVGRoot and RenderSVGContainer - static FloatRect computeContainerBoundingBox(const RenderObject* container, ContainerBoundingBoxMode); + static void computeContainerBoundingBoxes(const RenderObject* container, FloatRect& objectBoundingBox, FloatRect& strokeBoundingBox, FloatRect& repaintBoundingBox); + static bool paintInfoIntersectsRepaintRect(const FloatRect& localRepaintRect, const AffineTransform& localTransform, const PaintInfo& paintInfo); // Important functions used by nearly all SVG renderers centralizing coordinate transformations / repaint rect calculations static IntRect clippedOverflowRectForRepaint(RenderObject*, RenderBoxModelObject* repaintContainer); |