Esempio n. 1
0
bool WBrush::operator==(const WBrush& other) const
{
  return
       sameBindingAs(other)
    && color_ == other.color_
    && style_ == other.style_
    && gradient_ == other.gradient_;
}
Esempio n. 2
0
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;
}
Esempio n. 3
0
bool WPointF::operator== (const WPointF& other) const
{
  if (!sameBindingAs(other)) return false;

  return (x_ == other.x_) && (y_ == other.y_);
}