X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fimage-loader%2Fsync-image-loader.h;h=ae922a8376874161b398ef0fb14684f7700a61b8;hb=d0c8d5e919188a5be7b42f8de86a43ba6b6290fa;hp=9d0a820e7e514a759b6f3088c3ec8703f11d3d44;hpb=8747c12ce2d714ea694401ee435e78de1fd0653e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/image-loader/sync-image-loader.h b/dali-toolkit/public-api/image-loader/sync-image-loader.h index 9d0a820..ae922a8 100644 --- a/dali-toolkit/public-api/image-loader/sync-image-loader.h +++ b/dali-toolkit/public-api/image-loader/sync-image-loader.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_SYNC_IMAGE_LOADER_H /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -18,19 +18,24 @@ */ // EXTERNAL INCLUDES -#include #include #include +#include + +// INTERNAL INCLUDES +#include namespace Dali { - namespace Toolkit { +/** + * @addtogroup dali_toolkit_image_loader + * @{ + */ namespace SyncImageLoader { - /** * @brief The methods in the SyncImageLoader namespace are used to load pixel data from a URL synchronously. * @@ -61,7 +66,7 @@ namespace SyncImageLoader * @param[in] url The URL of the image file to load * @return A PixelData object containing the image, or an invalid object on failure */ -DALI_IMPORT_API PixelData Load( const std::string& url ); +DALI_TOOLKIT_API PixelData Load(const std::string& url); /** * @brief Loads an image synchronously by specifying the target dimensions. @@ -77,7 +82,7 @@ DALI_IMPORT_API PixelData Load( const std::string& url ); * @param[in] dimensions The width and height to fit the loaded image to * @return A PixelData object containing the image, or an invalid object on failure */ -DALI_IMPORT_API PixelData Load( const std::string& url, ImageDimensions dimensions ); +DALI_TOOLKIT_API PixelData Load(const std::string& url, ImageDimensions dimensions); /** * @brief Loads an image synchronously by specifying the target dimensions and options. @@ -91,14 +96,17 @@ DALI_IMPORT_API PixelData Load( const std::string& url, ImageDimensions dimensio * @param[in] orientationCorrection Reorient the image to respect any orientation metadata in its header * @return A PixelData object containing the image, or an invalid object on failure */ -DALI_IMPORT_API PixelData Load( const std::string& url, - ImageDimensions dimensions, - FittingMode::Type fittingMode, - SamplingMode::Type samplingMode, - bool orientationCorrection ); +DALI_TOOLKIT_API PixelData Load(const std::string& url, + ImageDimensions dimensions, + FittingMode::Type fittingMode, + SamplingMode::Type samplingMode, + bool orientationCorrection); } // namespace SyncImageLoader +/** + * @} + */ } // namespace Toolkit } // namespace Dali