| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
| 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 3 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. All rights reserved. | 5 * Copyright (C) 2009 Google, Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 // Layout resources used by this node. | 55 // Layout resources used by this node. |
| 56 static void layoutResourcesIfNeeded(const LayoutObject*); | 56 static void layoutResourcesIfNeeded(const LayoutObject*); |
| 57 | 57 |
| 58 // Helper function determining whether overflow is hidden. | 58 // Helper function determining whether overflow is hidden. |
| 59 static bool isOverflowHidden(const LayoutObject*); | 59 static bool isOverflowHidden(const LayoutObject*); |
| 60 | 60 |
| 61 // Calculates the paintInvalidationRect in combination with filter, clipper
and masker in local coordinates. | 61 // Calculates the paintInvalidationRect in combination with filter, clipper
and masker in local coordinates. |
| 62 static void intersectPaintInvalidationRectWithResources(const LayoutObject*,
FloatRect&); | 62 static void intersectPaintInvalidationRectWithResources(const LayoutObject*,
FloatRect&); |
| 63 | 63 |
| 64 // Determines whether a container needs to be laid out because it's filtered
and a child is being laid out. | 64 // Determine if the LayoutObject references a filter resource object. |
| 65 static bool filtersForceContainerLayout(LayoutObject*); | 65 static bool hasFilterResource(const LayoutObject&); |
| 66 | 66 |
| 67 // Determines whether the passed point lies in a clipping area | 67 // Determines whether the passed point lies in a clipping area |
| 68 static bool pointInClippingArea(const LayoutObject*, const FloatPoint&); | 68 static bool pointInClippingArea(const LayoutObject*, const FloatPoint&); |
| 69 | 69 |
| 70 // Transform |pointInParent| to |object|'s user-space and check if it is | 70 // Transform |pointInParent| to |object|'s user-space and check if it is |
| 71 // within the clipping area. Returns false if the transform is singular or | 71 // within the clipping area. Returns false if the transform is singular or |
| 72 // the point is outside the clipping area. | 72 // the point is outside the clipping area. |
| 73 static bool transformToUserSpaceAndCheckClipping(const LayoutObject*, const
AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& lo
calPoint); | 73 static bool transformToUserSpaceAndCheckClipping(const LayoutObject*, const
AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& lo
calPoint); |
| 74 | 74 |
| 75 static void computeContainerBoundingBoxes(const LayoutObject* container, Flo
atRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundi
ngBox, FloatRect& paintInvalidationBoundingBox); | 75 static void computeContainerBoundingBoxes(const LayoutObject* container, Flo
atRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundi
ngBox, FloatRect& paintInvalidationBoundingBox); |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 return true; | 136 return true; |
| 137 if (child->hasNonIsolatedBlendingDescendants() && !willIsolateBlendingDe
scendantsForObject(child)) | 137 if (child->hasNonIsolatedBlendingDescendants() && !willIsolateBlendingDe
scendantsForObject(child)) |
| 138 return true; | 138 return true; |
| 139 } | 139 } |
| 140 return false; | 140 return false; |
| 141 } | 141 } |
| 142 | 142 |
| 143 } // namespace blink | 143 } // namespace blink |
| 144 | 144 |
| 145 #endif // SVGLayoutSupport_h | 145 #endif // SVGLayoutSupport_h |
| OLD | NEW |