Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool operator < (const QPointF& lhs, const QPointF& rhs)
- {
- return lhs.x() < rhs.x() || (lhs.x() == rhs.x() && lhs.y() < rhs.y());
- }
- bool operator > (const QPointF& lhs, const QPointF& rhs)
- {
- return rhs < lhs;
- }
- for (; i != enumerated.end(); ++i) {
- if (**i < **j) {
- painter.drawPoint(**i);
- } else {
- while (**i > **j) {
- notInRect.push_back(*j);
- ++j;
- }
- while (**i == **j)
- ++j;
- }
- }
Add Comment
Please, Sign In to add comment