OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 2004, 2005 Rob Buis <buis@kde.org> | 3 2004, 2005 Rob Buis <buis@kde.org> |
4 Copyright (C) 2005, 2006 Apple Computer, Inc. | 4 Copyright (C) 2005, 2006 Apple Computer, Inc. |
5 Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
6 | 6 |
7 This library is free software; you can redistribute it and/or | 7 This library is free software; you can redistribute it and/or |
8 modify it under the terms of the GNU Library General Public | 8 modify it under the terms of the GNU Library General Public |
9 License as published by the Free Software Foundation; either | 9 License as published by the Free Software Foundation; either |
10 version 2 of the License, or (at your option) any later version. | 10 version 2 of the License, or (at your option) any later version. |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "core/rendering/style/DataRef.h" | 28 #include "core/rendering/style/DataRef.h" |
29 #include "core/rendering/style/RenderStyleConstants.h" | 29 #include "core/rendering/style/RenderStyleConstants.h" |
30 #include "core/rendering/style/SVGRenderStyleDefs.h" | 30 #include "core/rendering/style/SVGRenderStyleDefs.h" |
31 #include "core/rendering/style/StyleDifference.h" | 31 #include "core/rendering/style/StyleDifference.h" |
32 #include "core/svg/SVGPaint.h" | 32 #include "core/svg/SVGPaint.h" |
33 #include "platform/graphics/GraphicsTypes.h" | 33 #include "platform/graphics/GraphicsTypes.h" |
34 #include "platform/graphics/Path.h" | 34 #include "platform/graphics/Path.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 class FloatRect; | |
39 class IntRect; | |
40 class RenderObject; | |
41 | |
42 class SVGRenderStyle : public RefCounted<SVGRenderStyle> { | 38 class SVGRenderStyle : public RefCounted<SVGRenderStyle> { |
43 public: | 39 public: |
44 static PassRefPtr<SVGRenderStyle> create() { return adoptRef(new SVGRenderSt
yle); } | 40 static PassRefPtr<SVGRenderStyle> create() { return adoptRef(new SVGRenderSt
yle); } |
45 PassRefPtr<SVGRenderStyle> copy() const { return adoptRef(new SVGRenderStyle
(*this));} | 41 PassRefPtr<SVGRenderStyle> copy() const { return adoptRef(new SVGRenderStyle
(*this));} |
46 ~SVGRenderStyle(); | 42 ~SVGRenderStyle(); |
47 | 43 |
48 bool inheritedNotEqual(const SVGRenderStyle*) const; | 44 bool inheritedNotEqual(const SVGRenderStyle*) const; |
49 void inheritFrom(const SVGRenderStyle*); | 45 void inheritFrom(const SVGRenderStyle*); |
50 void copyNonInheritedFrom(const SVGRenderStyle*); | 46 void copyNonInheritedFrom(const SVGRenderStyle*); |
51 | 47 |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); | 449 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); |
454 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); | 450 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); |
455 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); | 451 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); |
456 svg_noninherited_flags.f.maskType = initialMaskType(); | 452 svg_noninherited_flags.f.maskType = initialMaskType(); |
457 } | 453 } |
458 }; | 454 }; |
459 | 455 |
460 } // namespace WebCore | 456 } // namespace WebCore |
461 | 457 |
462 #endif // SVGRenderStyle_h | 458 #endif // SVGRenderStyle_h |
OLD | NEW |