Fix for mishandling disjoined Rectangles in Rectangle::intersect 42/152542/3
authorRadoslaw Cybulski <r.cybulski@partner.samsung.com>
Tue, 26 Sep 2017 09:43:49 +0000 (11:43 +0200)
committerLukasz Oleksak <l.oleksak@samsung.com>
Fri, 29 Sep 2017 11:27:26 +0000 (11:27 +0000)
commitdc8eb72a02a683e125dd9249d8ac17af11d23b9c
tree561a36fcff56f4a94d81572eaf7b937bc63851da
parent0481ff91e8f4b9d07683574e682679305482d998
Fix for mishandling disjoined Rectangles in Rectangle::intersect

Disjoined rectangles wont produce negate width and height values -
instead width and height are bound to minimum value 0.

Change-Id: I93402a1f9705fa1b98fce151f141496d56ae37cf
src/Geometry.cpp
src/Geometry.hpp