Index: Source/core/rendering/svg/SVGRenderSupport.h |
diff --git a/Source/core/rendering/svg/SVGRenderSupport.h b/Source/core/rendering/svg/SVGRenderSupport.h |
index 32accba3a3af4223e5aecc54a7894b40f7a3c26e..e7caabeaa967182472b1e8306de93dfa0765fdc9 100644 |
--- a/Source/core/rendering/svg/SVGRenderSupport.h |
+++ b/Source/core/rendering/svg/SVGRenderSupport.h |
@@ -61,6 +61,11 @@ public: |
// Determines whether the passed point lies in a clipping area |
static bool pointInClippingArea(RenderObject*, const FloatPoint&); |
+ // Transform |pointInParent| to |object|'s user-space and check if it is |
+ // within the clipping area. Returns false if the transform is singular or |
+ // the point is outside the clipping area. |
+ static bool transformToUserSpaceAndCheckClipping(RenderObject*, const AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& localPoint); |
+ |
static void computeContainerBoundingBoxes(const RenderObject* container, FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundingBox, FloatRect& repaintBoundingBox); |
static bool paintInfoIntersectsRepaintRect(const FloatRect& localRepaintRect, const AffineTransform& localTransform, const PaintInfo&); |