X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fimage-loader%2Fimage-atlas.h;h=a0305fd1b9e8561eadc33953856bc261aee75b29;hb=21f60153d688233c47b7e86dfe1d6e06450ed3a0;hp=98796bdfeacceac46b766879315a1007e42d854d;hpb=1ff26466c5458cda1de2997cd4e27b014ff0275a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/image-loader/image-atlas.h b/dali-toolkit/devel-api/image-loader/image-atlas.h index 98796bd..a0305fd 100644 --- a/dali-toolkit/devel-api/image-loader/image-atlas.h +++ b/dali-toolkit/devel-api/image-loader/image-atlas.h @@ -20,6 +20,7 @@ // EXTERNAL INCLUDES #include #include +#include #include #include #include @@ -34,6 +35,7 @@ namespace Dali namespace Toolkit { + namespace Internal DALI_INTERNAL { class ImageAtlas; @@ -54,6 +56,14 @@ public: public: /** + * @brief Pack a group of pixel data into atlas. + * @param[in] pixelData The group of the pixel data to be packed into the atlas. + * @param[out] textureRects The list of texture areas where each frame is located inside the atlas. + * @return The atlas texture. + */ + static Texture PackToAtlas( const std::vector& pixelData, Dali::Vector& textureRects ); + + /** * @brief Create a new ImageAtlas. * * @param [in] width The atlas width in pixels.