| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 MT_ALPHA | 107 MT_ALPHA |
| 108 }; | 108 }; |
| 109 | 109 |
| 110 enum EPaintOrderType { | 110 enum EPaintOrderType { |
| 111 PT_NONE = 0, | 111 PT_NONE = 0, |
| 112 PT_FILL = 1, | 112 PT_FILL = 1, |
| 113 PT_STROKE = 2, | 113 PT_STROKE = 2, |
| 114 PT_MARKERS = 3 | 114 PT_MARKERS = 3 |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 const int kPaintOrderBitwidth = 2; | 117 enum EPaintOrder { |
| 118 typedef unsigned EPaintOrder; | 118 PaintOrderNormal = 0, |
| 119 const unsigned PO_NORMAL = PT_FILL | PT_STROKE << 2 | PT_MARKERS << 4; | 119 PaintOrderFillStrokeMarkers = 1, |
| 120 PaintOrderFillMarkersStroke = 2, |
| 121 PaintOrderStrokeFillMarkers = 3, |
| 122 PaintOrderStrokeMarkersFill = 4, |
| 123 PaintOrderMarkersFillStroke = 5, |
| 124 PaintOrderMarkersStrokeFill = 6 |
| 125 }; |
| 120 | 126 |
| 121 // Inherited/Non-Inherited Style Datastructures | 127 // Inherited/Non-Inherited Style Datastructures |
| 122 class StyleFillData : public RefCounted<StyleFillData> { | 128 class StyleFillData : public RefCounted<StyleFillData> { |
| 123 public: | 129 public: |
| 124 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFillDat
a); } | 130 static PassRefPtr<StyleFillData> create() { return adoptRef(new StyleFillDat
a); } |
| 125 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillData(*
this)); } | 131 PassRefPtr<StyleFillData> copy() const { return adoptRef(new StyleFillData(*
this)); } |
| 126 | 132 |
| 127 bool operator==(const StyleFillData&) const; | 133 bool operator==(const StyleFillData&) const; |
| 128 bool operator!=(const StyleFillData& other) const | 134 bool operator!=(const StyleFillData& other) const |
| 129 { | 135 { |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 Length rx; | 303 Length rx; |
| 298 Length ry; | 304 Length ry; |
| 299 private: | 305 private: |
| 300 StyleLayoutData(); | 306 StyleLayoutData(); |
| 301 StyleLayoutData(const StyleLayoutData&); | 307 StyleLayoutData(const StyleLayoutData&); |
| 302 }; | 308 }; |
| 303 | 309 |
| 304 } // namespace blink | 310 } // namespace blink |
| 305 | 311 |
| 306 #endif // SVGComputedStyleDefs_h | 312 #endif // SVGComputedStyleDefs_h |
| OLD | NEW |