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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 // Shared between SVG renderers and resources. | 74 // Shared between SVG renderers and resources. |
75 static void applyStrokeStyleToContext(GraphicsContext*, const RenderStyle*,
const RenderObject*); | 75 static void applyStrokeStyleToContext(GraphicsContext*, const RenderStyle*,
const RenderObject*); |
76 static void applyStrokeStyleToStrokeData(StrokeData*, const RenderStyle*, co
nst RenderObject*); | 76 static void applyStrokeStyleToStrokeData(StrokeData*, const RenderStyle*, co
nst RenderObject*); |
77 | 77 |
78 // Determines if any ancestor's transform has changed. | 78 // Determines if any ancestor's transform has changed. |
79 static bool transformToRootChanged(RenderObject*); | 79 static bool transformToRootChanged(RenderObject*); |
80 | 80 |
81 // FIXME: These methods do not belong here. | 81 // FIXME: These methods do not belong here. |
82 static const RenderSVGRoot* findTreeRootObject(const RenderObject*); | 82 static const RenderSVGRoot* findTreeRootObject(const RenderObject*); |
83 | 83 |
84 // Helper method for determining whether an RenderSVGInlineText object has z
ero length text. | |
85 static bool isEmptySVGInlineText(const RenderObject*); | |
86 | |
87 // Helper method for determining if a RenderObject marked as text (isText()=
= true) | 84 // Helper method for determining if a RenderObject marked as text (isText()=
= true) |
88 // can/will be rendered as part of a <text>. | 85 // can/will be rendered as part of a <text>. |
89 static bool isRenderableTextNode(const RenderObject*); | 86 static bool isRenderableTextNode(const RenderObject*); |
90 | 87 |
91 private: | 88 private: |
92 // This class is not constructable. | 89 // This class is not constructable. |
93 SVGRenderSupport(); | 90 SVGRenderSupport(); |
94 ~SVGRenderSupport(); | 91 ~SVGRenderSupport(); |
95 }; | 92 }; |
96 | 93 |
97 } // namespace WebCore | 94 } // namespace WebCore |
98 | 95 |
99 #endif // SVGRenderSupport_h | 96 #endif // SVGRenderSupport_h |
OLD | NEW |