LEFT | RIGHT |
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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 static void mapLocalToContainer(const RenderElement&, const RenderLayerModel
Object* repaintContainer, TransformState&, bool* wasFixed); | 73 static void mapLocalToContainer(const RenderElement&, const RenderLayerModel
Object* repaintContainer, TransformState&, bool* wasFixed); |
74 static const RenderElement* pushMappingToContainer(const RenderElement&, con
st RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&); | 74 static const RenderElement* pushMappingToContainer(const RenderElement&, con
st RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&); |
75 static bool checkForSVGRepaintDuringLayout(const RenderElement&); | 75 static bool checkForSVGRepaintDuringLayout(const RenderElement&); |
76 | 76 |
77 // Shared between SVG renderers and resources. | 77 // Shared between SVG renderers and resources. |
78 static void applyStrokeStyleToContext(GraphicsContext*, const RenderStyle&,
const RenderElement&); | 78 static void applyStrokeStyleToContext(GraphicsContext*, const RenderStyle&,
const RenderElement&); |
79 | 79 |
80 // Determines if any ancestor's transform has changed. | 80 // Determines if any ancestor's transform has changed. |
81 static bool transformToRootChanged(RenderElement*); | 81 static bool transformToRootChanged(RenderElement*); |
82 | 82 |
| 83 static void clipContextToCSSClippingArea(GraphicsContext&, const RenderEleme
nt& renderer); |
| 84 |
83 // Helper functions to keep track of whether a renderer has an SVG shadow ap
plied. | 85 // Helper functions to keep track of whether a renderer has an SVG shadow ap
plied. |
84 static bool rendererHasSVGShadow(const RenderObject&); | 86 static bool rendererHasSVGShadow(const RenderObject&); |
85 static void setRendererHasSVGShadow(RenderObject&, bool hasShadow); | 87 static void setRendererHasSVGShadow(RenderObject&, bool hasShadow); |
86 | 88 |
87 static void childAdded(RenderElement& parent, RenderObject& child); | 89 static void childAdded(RenderElement& parent, RenderObject& child); |
88 static void styleChanged(RenderElement&, const RenderStyle*); | 90 static void styleChanged(RenderElement&, const RenderStyle*); |
89 | 91 |
90 #if ENABLE(CSS_COMPOSITING) | 92 #if ENABLE(CSS_COMPOSITING) |
91 static bool isolatesBlending(const RenderStyle&); | 93 static bool isolatesBlending(const RenderStyle&); |
92 static void updateMaskedAncestorShouldIsolateBlending(const RenderElement&); | 94 static void updateMaskedAncestorShouldIsolateBlending(const RenderElement&); |
93 #endif | 95 #endif |
94 | 96 |
95 static RenderSVGRoot* findTreeRootObject(RenderElement&); | 97 static RenderSVGRoot* findTreeRootObject(RenderElement&); |
96 static const RenderSVGRoot* findTreeRootObject(const RenderElement&); | 98 static const RenderSVGRoot* findTreeRootObject(const RenderElement&); |
97 | 99 |
98 private: | 100 private: |
99 // This class is not constructable. | 101 // This class is not constructable. |
100 SVGRenderSupport(); | 102 SVGRenderSupport(); |
101 ~SVGRenderSupport(); | 103 ~SVGRenderSupport(); |
102 }; | 104 }; |
103 | 105 |
104 } // namespace WebCore | 106 } // namespace WebCore |
LEFT | RIGHT |