X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Frect.h;h=46aa5fb510ef149048902b461f99ad27fcfc4d47;hp=1373c6fc217ae267462cf5267cefa21639b66a30;hb=0361b11485ec41d2c2ddeb279abf846f777f5363;hpb=e7066887c0d142ddef87ec9ae07ef08ff31573dc diff --git a/src/rect.h b/src/rect.h index 1373c6f..46aa5fb 100644 --- a/src/rect.h +++ b/src/rect.h @@ -15,7 +15,7 @@ namespace IPDF { std::stringstream s; // float conversion needed because it is fucking impossible to get ostreams working with template classes - s << "{" << Float(x) << ", " << Float(y) << ", " << Float(w) << ", " << Float(h) << "}"; + s << "{" << Float(x) << ", " << Float(y) << ", " << Float(x + w) << ", " << Float(y + h) << " (w: " << Float(w) <<", h: " << Float(h) <<")}"; return s.str(); } inline bool PointIn(Real pt_x, Real pt_y) const