[NUI] Fix Size2D not greater than int.MaxValue or less than int.MinValue
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Wed, 15 Dec 2021 07:08:19 +0000 (16:08 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 21 Dec 2021 09:32:16 +0000 (18:32 +0900)
commit0624e2c93bab235ffe26421685719cc439d56814
treea32c5edb9fb51a81ac89a26eebbceed3e43b4b2a
parent80e0044b9bcd385007d229cacfba050efd63d269
[NUI] Fix Size2D not greater than int.MaxValue or less than int.MinValue

Since Size2D converts Width/Height from float to int internally,
Width/Height values may be greater than int.MaxValue or less than
int.MinValue.

To resolve the above issue, Width/Height values are checked if they
are greater than int.MaxValue or less than int.MinValue.
src/Tizen.NUI/src/public/Common/Size2D.cs