| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 // Shares child layouting code between RenderSVGRoot/RenderSVG(Hidden)Contai
ner | 47 // Shares child layouting code between RenderSVGRoot/RenderSVG(Hidden)Contai
ner |
| 48 static void layoutChildren(RenderObject*, bool selfNeedsLayout); | 48 static void layoutChildren(RenderObject*, bool selfNeedsLayout); |
| 49 | 49 |
| 50 // Layout resources used by this node. | 50 // Layout resources used by this node. |
| 51 static void layoutResourcesIfNeeded(const RenderObject*); | 51 static void layoutResourcesIfNeeded(const RenderObject*); |
| 52 | 52 |
| 53 // Helper function determining whether overflow is hidden. | 53 // Helper function determining whether overflow is hidden. |
| 54 static bool isOverflowHidden(const RenderObject*); | 54 static bool isOverflowHidden(const RenderObject*); |
| 55 | 55 |
| 56 // Returns true if we're currently within the rendering of a clip-path as a
mask. | 56 // Returns true if we're currently within the rendering of a clip-path as a
mask. |
| 57 static bool isRenderingMaskImage(const RenderObject&); | 57 static bool isRenderingClipPathAsMaskImage(const RenderObject&); |
| 58 | 58 |
| 59 // Calculates the paintInvalidationRect in combination with filter, clipper
and masker in local coordinates. | 59 // Calculates the paintInvalidationRect in combination with filter, clipper
and masker in local coordinates. |
| 60 static void intersectPaintInvalidationRectWithResources(const RenderObject*,
FloatRect&); | 60 static void intersectPaintInvalidationRectWithResources(const RenderObject*,
FloatRect&); |
| 61 | 61 |
| 62 // Determines whether a container needs to be laid out because it's filtered
and a child is being laid out. | 62 // Determines whether a container needs to be laid out because it's filtered
and a child is being laid out. |
| 63 static bool filtersForceContainerLayout(RenderObject*); | 63 static bool filtersForceContainerLayout(RenderObject*); |
| 64 | 64 |
| 65 // Determines whether the passed point lies in a clipping area | 65 // Determines whether the passed point lies in a clipping area |
| 66 static bool pointInClippingArea(RenderObject*, const FloatPoint&); | 66 static bool pointInClippingArea(RenderObject*, const FloatPoint&); |
| 67 | 67 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 98 static bool isRenderableTextNode(const RenderObject*); | 98 static bool isRenderableTextNode(const RenderObject*); |
| 99 | 99 |
| 100 private: | 100 private: |
| 101 static void updateObjectBoundingBox(FloatRect& objectBoundingBox, bool& obje
ctBoundingBoxValid, RenderObject* other, FloatRect otherBoundingBox); | 101 static void updateObjectBoundingBox(FloatRect& objectBoundingBox, bool& obje
ctBoundingBoxValid, RenderObject* other, FloatRect otherBoundingBox); |
| 102 static bool layoutSizeOfNearestViewportChanged(const RenderObject* start); | 102 static bool layoutSizeOfNearestViewportChanged(const RenderObject* start); |
| 103 }; | 103 }; |
| 104 | 104 |
| 105 } // namespace blink | 105 } // namespace blink |
| 106 | 106 |
| 107 #endif // SVGRenderSupport_h | 107 #endif // SVGRenderSupport_h |
| OLD | NEW |