Lines Matching refs:other

44 StyleFillData::StyleFillData(const StyleFillData& other)
46 , opacity(other.opacity)
47 , paint(other.paint)
51 bool StyleFillData::operator==(const StyleFillData& other) const
53 if (opacity != other.opacity)
56 if (!paint || !other.paint)
57 return paint == other.paint;
59 if (paint->paintType() != other.paint->paintType())
63 return paint->uri() == other.paint->uri();
66 return paint->color() == other.paint->color();
68 return paint == other.paint;
81 StyleStrokeData::StyleStrokeData(const StyleStrokeData& other)
83 , opacity(other.opacity)
84 , miterLimit(other.miterLimit)
85 , width(other.width)
86 , dashOffset(other.dashOffset)
87 , dashArray(other.dashArray)
88 , paint(other.paint)
92 bool StyleStrokeData::operator==(const StyleStrokeData& other) const
94 return paint == other.paint
95 && width == other.width
96 && opacity == other.opacity
97 && miterLimit == other.miterLimit
98 && dashOffset == other.dashOffset
99 && dashArray == other.dashArray;
108 StyleStopData::StyleStopData(const StyleStopData& other)
110 , opacity(other.opacity)
111 , color(other.color)
115 bool StyleStopData::operator==(const StyleStopData& other) const
117 return color == other.color
118 && opacity == other.opacity;
126 StyleTextData::StyleTextData(const StyleTextData& other)
128 , kerning(other.kerning)
132 bool StyleTextData::operator==(const StyleTextData& other) const
134 return kerning == other.kerning;
145 StyleMiscData::StyleMiscData(const StyleMiscData& other)
147 , floodColor(other.floodColor)
148 , floodOpacity(other.floodOpacity)
149 , lightingColor(other.lightingColor)
150 , baselineShiftValue(other.baselineShiftValue)
154 bool StyleMiscData::operator==(const StyleMiscData& other) const
156 return floodOpacity == other.floodOpacity
157 && floodColor == other.floodColor
158 && lightingColor == other.lightingColor
159 && baselineShiftValue == other.baselineShiftValue;
166 StyleShadowSVGData::StyleShadowSVGData(const StyleShadowSVGData& other)
168 , shadow(other.shadow ? new ShadowData(*other.shadow) : 0)
172 bool StyleShadowSVGData::operator==(const StyleShadowSVGData& other) const
174 if ((!shadow && other.shadow) || (shadow && !other.shadow))
176 if (shadow && other.shadow && (*shadow != *other.shadow))
188 StyleResourceData::StyleResourceData(const StyleResourceData& other)
190 , clipper(other.clipper)
191 , filter(other.filter)
192 , masker(other.masker)
196 bool StyleResourceData::operator==(const StyleResourceData& other) const
198 return clipper == other.clipper
199 && filter == other.filter
200 && masker == other.masker;
210 StyleInheritedResourceData::StyleInheritedResourceData(const StyleInheritedResourceData& other)
212 , markerStart(other.markerStart)
213 , markerMid(other.markerMid)
214 , markerEnd(other.markerEnd)
218 bool StyleInheritedResourceData::operator==(const StyleInheritedResourceData& other) const
220 return markerStart == other.markerStart
221 && markerMid == other.markerMid
222 && markerEnd == other.markerEnd;