Merge "Update UTC for ItemView, ScrollView and FocusManager" into tizen
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / text / rendering / atlas / atlas-glyph-manager.h
index 6a53481..ad2c5ea 100644 (file)
@@ -34,7 +34,7 @@ class AtlasGlyphManager;
 }
 
 
-class DALI_IMPORT_API AtlasGlyphManager : public BaseHandle
+class AtlasGlyphManager : public BaseHandle
 {
 public:
 
@@ -111,13 +111,23 @@ public:
                AtlasManager::AtlasSlot& slot );
 
   /**
-   * @brief Set the Atlas size and block size for subsequent atlas generation
+   * @brief Retrieve the size of an atlas
    *
-   * @param[in] size size of the atlas in pixels
-   * @param[in] blockSize size of a block in this atlas in pixels
+   * @param[in] atlasId Id of the atlas to interrogate
+   *
+   * @return The pixel size of the atlas
    */
-  void SetNewAtlasSize( const Vector2& size,
-                        const Vector2& blockSize );
+  Vector2 GetAtlasSize( uint32_t atlasId );
+
+   /**
+    * @brief Set the atlas size and block size for subsequent Atlas generation
+    *
+    * @param[in] width width of atlas in pixels
+    * @param[in] height height of atlas in pixels
+    * @param[in] blockWidth width of a block in pixels
+    * @param[in] blockHeight height of a block in pixels
+    */
+  void SetNewAtlasSize( uint32_t width, uint32_t height, uint32_t blockWidth, uint32_t blockHeight );
 
   /**
    * @brief Unreference an image from the atlas and remove from cache if no longer needed