From c83c5b77371cd6820446a7b93145ac8fcfc75d94 Mon Sep 17 00:00:00 2001 From: "Seungho, Baek" Date: Thu, 2 Jul 2020 10:47:01 +0900 Subject: [PATCH] Add comments in the rect.h - Add @SINCE tag at the IsValid, Intersect, Merge, and Inset - Add @return comment at the Intersect Change-Id: I20943e1bdd448f40b75b133b0b3d816cbd7a15bc Signed-off-by: Seungho, Baek --- dali/public-api/math/rect.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dali/public-api/math/rect.h b/dali/public-api/math/rect.h index 8c4f616..8700fb2 100644 --- a/dali/public-api/math/rect.h +++ b/dali/public-api/math/rect.h @@ -168,6 +168,7 @@ struct Rect /** * @brief Determines whether or not this Rectangle is valid. * + * @SINCE_1_9.18 * @return True if width and height are not negative */ bool IsValid() const @@ -246,7 +247,9 @@ struct Rect * @brief Intersects this rectangle and the specified rectangle. * The result of the intersection is stored in this rectangle. * + * @SINCE_1_9.18 * @param[in] rect The other rectangle to intersect with + * @return True if the rectangles intersect */ bool Intersect(const Rect& rect) { @@ -273,6 +276,7 @@ struct Rect * @brief Merges this rectangle and the specified rectangle. * The result of the merge is stored in this rectangle. * + * @SINCE_1_9.18 * @param[in] rect The other rectangle to merge with */ void Merge(const Rect& rect) @@ -291,6 +295,7 @@ struct Rect * @brief Inset the rectangle by (dx,dy). If dx is positive, then the sides are moved inwards. * If dx is negative, then the sides are moved outwards. * The result of the inset is stored in this rectangle. + * @SINCE_1_9.18 */ void Inset(T dx, T dy) { -- 2.7.4