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) Research In Motion Limited 2010. All rights reserved. | 4 Copyright (C) Research In Motion Limited 2010. All rights reserved. |
5 | 5 |
6 Based on khtml code by: | 6 Based on khtml code by: |
7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) | 7 Copyright (C) 2000-2003 Lars Knoll (knoll@kde.org) |
8 (C) 2000 Antti Koivisto (koivisto@kde.org) | 8 (C) 2000 Antti Koivisto (koivisto@kde.org) |
9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) | 9 (C) 2000-2003 Dirk Mueller (mueller@kde.org) |
10 (C) 2002-2003 Apple Computer, Inc. | 10 (C) 2002-2003 Apple Computer, Inc. |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 PT_NONE = 0, | 97 PT_NONE = 0, |
98 PT_FILL = 1, | 98 PT_FILL = 1, |
99 PT_STROKE = 2, | 99 PT_STROKE = 2, |
100 PT_MARKERS = 3 | 100 PT_MARKERS = 3 |
101 }; | 101 }; |
102 | 102 |
103 const int kPaintOrderBitwidth = 2; | 103 const int kPaintOrderBitwidth = 2; |
104 typedef unsigned EPaintOrder; | 104 typedef unsigned EPaintOrder; |
105 const unsigned PO_NORMAL = PT_FILL | PT_STROKE << 2 | PT_MARKERS << 4; | 105 const unsigned PO_NORMAL = PT_FILL | PT_STROKE << 2 | PT_MARKERS << 4; |
106 | 106 |
107 class CSSValue; | |
108 class CSSValueList; | |
109 class SVGPaint; | |
110 | |
111 // Inherited/Non-Inherited Style Datastructures | 107 // Inherited/Non-Inherited Style Datastructures |
112 class StyleFillData : public RefCounted<StyleFillData> { | 108 class StyleFillData : public RefCounted<StyleFillData> { |
113 public: | 109 public: |
114 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFil
lData); } | 110 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFil
lData); } |
115 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillDa
ta(*this)); } | 111 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillDa
ta(*this)); } |
116 | 112 |
117 bool operator==(const StyleFillData&) const; | 113 bool operator==(const StyleFillData&) const; |
118 bool operator!=(const StyleFillData& other) const | 114 bool operator!=(const StyleFillData& other) const |
119 { | 115 { |
120 return !(*this == other); | 116 return !(*this == other); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 AtomicString markerEnd; | 239 AtomicString markerEnd; |
244 | 240 |
245 private: | 241 private: |
246 StyleInheritedResourceData(); | 242 StyleInheritedResourceData(); |
247 StyleInheritedResourceData(const StyleInheritedResourceData&); | 243 StyleInheritedResourceData(const StyleInheritedResourceData&); |
248 }; | 244 }; |
249 | 245 |
250 } // namespace WebCore | 246 } // namespace WebCore |
251 | 247 |
252 #endif // SVGRenderStyleDefs_h | 248 #endif // SVGRenderStyleDefs_h |
OLD | NEW |