bool WBrush::operator==(const WBrush& other) const { return sameBindingAs(other) && color_ == other.color_ && style_ == other.style_ && gradient_ == other.gradient_; }
bool WTransform::operator== (const WTransform& rhs) const { if (!sameBindingAs(rhs)) return false; for (unsigned i = 0; i < 6; ++i) if (m_[i] != rhs.m_[i]) return false; return true; }
bool WPointF::operator== (const WPointF& other) const { if (!sameBindingAs(other)) return false; return (x_ == other.x_) && (y_ == other.y_); }