~inkscape.dev/inkscape/eraser_improvements

« back to all changes in this revision

Viewing changes to src/2geom/generic-rect.h

  • Committer: jabiertxof
  • Date: 2016-03-01 01:42:13 UTC
  • mfrom: (14648.1.28 inkscape)
  • Revision ID: info@marker.es-20160301014213-ewfxjn3ohelo104c
update to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#define LIB2GEOM_SEEN_GENERIC_RECT_H
42
42
 
43
43
#include <limits>
 
44
#include <iostream>
44
45
#include <boost/optional.hpp>
45
46
#include <2geom/coord.h>
46
47
 
513
514
    return !r || contains(*r);
514
515
}
515
516
 
516
 
#ifdef _GLIBCXX_IOSTREAM
517
517
template <typename C>
518
518
inline std::ostream &operator<<(std::ostream &out, GenericRect<C> const &r) {
519
 
    out << "X: " << r[X] << "  Y: " << r[Y];
 
519
    out << "Rect " << r[X] << " x " << r[Y];
520
520
    return out;
521
521
}
522
 
#endif
523
522
 
524
523
} // end namespace Geom
525
524