10 inline float RealToFloat(Real r) {return r;}
12 typedef unsigned ObjectID;
16 Real x; Real y; Real w; Real h;
17 Rect(Real _x, Real _y, Real _w, Real _h) : x(_x), y(_y), w(_w), h(_h) {}
21 s << "{" << x << ", " << y << ", " << w << ", " << h << "}";
28 std::vector<Rect> bounds;