LEFT | RIGHT |
(no file at all) | |
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 // Determines whether the passed point lies in a clipping area | 62 // Determines whether the passed point lies in a clipping area |
63 static bool pointInClippingArea(const RenderElement&, const FloatPoint&); | 63 static bool pointInClippingArea(const RenderElement&, const FloatPoint&); |
64 | 64 |
65 static void computeContainerBoundingBoxes(const RenderElement& container, Fl
oatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBound
ingBox, FloatRect& repaintBoundingBox); | 65 static void computeContainerBoundingBoxes(const RenderElement& container, Fl
oatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBound
ingBox, FloatRect& repaintBoundingBox); |
66 static bool paintInfoIntersectsRepaintRect(const FloatRect& localRepaintRect
, const AffineTransform& localTransform, const PaintInfo&); | 66 static bool paintInfoIntersectsRepaintRect(const FloatRect& localRepaintRect
, const AffineTransform& localTransform, const PaintInfo&); |
67 | 67 |
68 // Important functions used by nearly all SVG renderers centralizing coordin
ate transformations / repaint rect calculations | 68 // Important functions used by nearly all SVG renderers centralizing coordin
ate transformations / repaint rect calculations |
69 static FloatRect repaintRectForRendererInLocalCoordinatesExcludingSVGShadow(
const RenderElement&); | 69 static FloatRect repaintRectForRendererInLocalCoordinatesExcludingSVGShadow(
const RenderElement&); |
70 static LayoutRect clippedOverflowRectForRepaint(const RenderElement&, const
RenderLayerModelObject* repaintContainer); | 70 static LayoutRect clippedOverflowRectForRepaint(const RenderElement&, const
RenderLayerModelObject* repaintContainer); |
71 static FloatRect computeFloatRectForRepaint(const RenderElement&, const Floa
tRect&, const RenderLayerModelObject* repaintContainer, bool fixed); | 71 static FloatRect computeFloatRectForRepaint(const RenderElement&, const Floa
tRect&, const RenderLayerModelObject* repaintContainer, bool fixed, bool useIncl
usiveIntersection, bool* intersects); |
72 static const RenderElement& localToParentTransform(const RenderElement&, Aff
ineTransform &); | 72 static const RenderElement& localToParentTransform(const RenderElement&, Aff
ineTransform &); |
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*); |
(...skipping 15 matching lines...) Expand all Loading... |
97 static RenderSVGRoot* findTreeRootObject(RenderElement&); | 97 static RenderSVGRoot* findTreeRootObject(RenderElement&); |
98 static const RenderSVGRoot* findTreeRootObject(const RenderElement&); | 98 static const RenderSVGRoot* findTreeRootObject(const RenderElement&); |
99 | 99 |
100 private: | 100 private: |
101 // This class is not constructable. | 101 // This class is not constructable. |
102 SVGRenderSupport(); | 102 SVGRenderSupport(); |
103 ~SVGRenderSupport(); | 103 ~SVGRenderSupport(); |
104 }; | 104 }; |
105 | 105 |
106 } // namespace WebCore | 106 } // namespace WebCore |
LEFT | RIGHT |