From a0265a3f3ec4c1ed93f83c52e1eb799025ef10cc Mon Sep 17 00:00:00 2001 From: Lee Morgan Date: Wed, 23 Sep 2015 16:04:16 +0100 Subject: [PATCH] Marked new API's since 1.1.4 Change-Id: I36ed0f90917a19ed967948af2ae160657c02a227 --- dali/public-api/images/encoded-buffer-image.h | 2 ++ dali/public-api/images/nine-patch-image.h | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/dali/public-api/images/encoded-buffer-image.h b/dali/public-api/images/encoded-buffer-image.h index c4c1d86..396f6c7 100644 --- a/dali/public-api/images/encoded-buffer-image.h +++ b/dali/public-api/images/encoded-buffer-image.h @@ -129,6 +129,8 @@ public: * policy is set, a reload will not be possible, so the Image should never be * used once all actors using it have gone off-stage. * @return A handle to a newly allocated object. + * + * @since DALi 1.1.4 */ static EncodedBufferImage New( const uint8_t * const encodedImage, std::size_t encodedImageByteCount, ImageDimensions size, FittingMode::Type fittingMode, SamplingMode::Type samplingMode, bool orientationCorrection = true ); diff --git a/dali/public-api/images/nine-patch-image.h b/dali/public-api/images/nine-patch-image.h index f0c3a30..35849c4 100644 --- a/dali/public-api/images/nine-patch-image.h +++ b/dali/public-api/images/nine-patch-image.h @@ -119,6 +119,8 @@ public: * @brief Retrieves the horizontal stretch pixel ranges in the cropped image space * * @return the horizontal stretch pixel ranges in the cropped image space + * + * @since DALi 1.1.4 */ const StretchRanges& GetStretchPixelsX(); @@ -126,17 +128,21 @@ public: * @brief Retrieves the vertical stretch pixel ranges in the cropped image space * * @return the vertical stretch pixel ranges in the cropped image space + * + * @since DALi 1.1.4 */ const StretchRanges& GetStretchPixelsY(); /** - * Get the child rectangle + * @brief Get the child rectangle + * * @return the position and size of the child rectangle */ Rect GetChildRectangle(); /** - * Creates a buffer image from the bitmap with the 1 pixel border cropped off. + * @brief Creates a buffer image from the bitmap with the 1 pixel border cropped off. + * * This does not change the internal bitmap. * * @return The cropped BufferImage @@ -144,9 +150,12 @@ public: BufferImage CreateCroppedBufferImage(); /** - * Helper method to determine if the filename indicates that the image has a 9 patch or n patch border. + * @brief Helper method to determine if the filename indicates that the image has a 9 patch or n patch border. + * * @param [in] url The URL of the image file. * @return true if it is a 9 patch or n patch image + * + * @since DALi 1.1.4 */ static bool IsNinePatchUrl( const std::string& url ); -- 2.7.4