std::drawLine improved