OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv
ed. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv
ed. |
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 m_data.access()->outset = outset; | 48 m_data.access()->outset = outset; |
49 m_data.access()->fill = fill; | 49 m_data.access()->fill = fill; |
50 m_data.access()->horizontalRule = horizontalRule; | 50 m_data.access()->horizontalRule = horizontalRule; |
51 m_data.access()->verticalRule = verticalRule; | 51 m_data.access()->verticalRule = verticalRule; |
52 } | 52 } |
53 | 53 |
54 NinePieceImageData::NinePieceImageData() | 54 NinePieceImageData::NinePieceImageData() |
55 : fill(false) | 55 : fill(false) |
56 , horizontalRule(StretchImageRule) | 56 , horizontalRule(StretchImageRule) |
57 , verticalRule(StretchImageRule) | 57 , verticalRule(StretchImageRule) |
58 , image(0) | 58 , image(nullptr) |
59 , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percen
t), Length(100, Percent)) | 59 , imageSlices(Length(100, Percent), Length(100, Percent), Length(100, Percen
t), Length(100, Percent)) |
60 , borderSlices(1.0, 1.0, 1.0, 1.0) | 60 , borderSlices(1.0, 1.0, 1.0, 1.0) |
61 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fix
ed)) | 61 , outset(Length(0, Fixed), Length(0, Fixed), Length(0, Fixed), Length(0, Fix
ed)) |
62 { | 62 { |
63 } | 63 } |
64 | 64 |
65 NinePieceImageData::NinePieceImageData(const NinePieceImageData& other) | 65 NinePieceImageData::NinePieceImageData(const NinePieceImageData& other) |
66 : RefCounted<NinePieceImageData>() | 66 : RefCounted<NinePieceImageData>() |
67 , fill(other.fill) | 67 , fill(other.fill) |
68 , horizontalRule(other.horizontalRule) | 68 , horizontalRule(other.horizontalRule) |
(...skipping 10 matching lines...) Expand all Loading... |
79 return StyleImage::imagesEquivalent(image.get(), other.image.get()) | 79 return StyleImage::imagesEquivalent(image.get(), other.image.get()) |
80 && imageSlices == other.imageSlices | 80 && imageSlices == other.imageSlices |
81 && fill == other.fill | 81 && fill == other.fill |
82 && borderSlices == other.borderSlices | 82 && borderSlices == other.borderSlices |
83 && outset == other.outset | 83 && outset == other.outset |
84 && horizontalRule == other.horizontalRule | 84 && horizontalRule == other.horizontalRule |
85 && verticalRule == other.verticalRule; | 85 && verticalRule == other.verticalRule; |
86 } | 86 } |
87 | 87 |
88 } | 88 } |
OLD | NEW |