27 std::ostream&
operator<<(std::ostream& os,
const QPointF& point) {
28 os << point.x() <<
"," << point.y();
32 std::ostream&
operator<<(std::ostream& os,
const QRectF& rect) {
33 os << rect.topLeft() <<
"," << rect.bottomRight();
37 std::istream&
operator>>(std::istream& is, QPointF& point) {
45 point = QPointF(x, y);
49 std::istream&
operator>>(std::istream& is, QRectF& rect) {
57 rect = QRectF(tl, br);
std::ostream & operator<<(std::ostream &os, const QPointF &point)
Output of QPointF to std::ostream.
std::istream & operator>>(std::istream &is, QPointF &point)
Read a QPointF from a std::istream.