Mir

Code review comment for lp:~vanvugt/mir/fix-1398294

Revision history for this message
Alan Griffiths (alan-griffiths) wrote :

19 rect.size =
22 + geom::Size{br_closed.x.as_int() - tl_closed.x.as_int() + 1,
23 + br_closed.y.as_int() - tl_closed.y.as_int() + 1};

Isn't that easier to read as:

     rect.size = geom::Point{1, 1} + (br_closed - tl_closed);

« Back to merge proposal