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 24 matching lines...) Expand all Loading... |
35 namespace blink { | 35 namespace blink { |
36 | 36 |
37 class SVGLayoutStyle : public RefCounted<SVGLayoutStyle> { | 37 class SVGLayoutStyle : public RefCounted<SVGLayoutStyle> { |
38 public: | 38 public: |
39 static PassRefPtr<SVGLayoutStyle> create() { return adoptRef(new SVGLayoutSt
yle); } | 39 static PassRefPtr<SVGLayoutStyle> create() { return adoptRef(new SVGLayoutSt
yle); } |
40 PassRefPtr<SVGLayoutStyle> copy() const { return adoptRef(new SVGLayoutStyle
(*this));} | 40 PassRefPtr<SVGLayoutStyle> copy() const { return adoptRef(new SVGLayoutStyle
(*this));} |
41 ~SVGLayoutStyle(); | 41 ~SVGLayoutStyle(); |
42 | 42 |
43 bool inheritedNotEqual(const SVGLayoutStyle*) const; | 43 bool inheritedNotEqual(const SVGLayoutStyle*) const; |
44 void inheritFrom(const SVGLayoutStyle*); | 44 void inheritFrom(const SVGLayoutStyle*); |
45 void copyNonInheritedFrom(const SVGLayoutStyle*); | 45 void copyNonInheritedFromCached(const SVGLayoutStyle*); |
46 | 46 |
47 StyleDifference diff(const SVGLayoutStyle*) const; | 47 StyleDifference diff(const SVGLayoutStyle*) const; |
48 | 48 |
49 bool operator==(const SVGLayoutStyle&) const; | 49 bool operator==(const SVGLayoutStyle&) const; |
50 bool operator!=(const SVGLayoutStyle& o) const { return !(*this == o); } | 50 bool operator!=(const SVGLayoutStyle& o) const { return !(*this == o); } |
51 | 51 |
52 // Initial values for all the properties | 52 // Initial values for all the properties |
53 static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; } | 53 static EAlignmentBaseline initialAlignmentBaseline() { return AB_AUTO; } |
54 static EDominantBaseline initialDominantBaseline() { return DB_AUTO; } | 54 static EDominantBaseline initialDominantBaseline() { return DB_AUTO; } |
55 static EBaselineShift initialBaselineShift() { return BS_BASELINE; } | 55 static EBaselineShift initialBaselineShift() { return BS_BASELINE; } |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); | 448 svg_noninherited_flags.f._baselineShift = initialBaselineShift(); |
449 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); | 449 svg_noninherited_flags.f._vectorEffect = initialVectorEffect(); |
450 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); | 450 svg_noninherited_flags.f.bufferedRendering = initialBufferedRendering(); |
451 svg_noninherited_flags.f.maskType = initialMaskType(); | 451 svg_noninherited_flags.f.maskType = initialMaskType(); |
452 } | 452 } |
453 }; | 453 }; |
454 | 454 |
455 } // namespace blink | 455 } // namespace blink |
456 | 456 |
457 #endif // SVGLayoutStyle_h | 457 #endif // SVGLayoutStyle_h |
OLD | NEW |