public override bool Equals(object o) { if (!(o is QPainterPath)) { return false; } return this == (QPainterPath) o; }