/**
* @brief Used for displaying native images.
*
- * The native image source can be created internally or
- * externally by X11 or ECORE-X11.
+ * NativeImageSource can be created internally or
+ * externally by native image source.
*
* @since DALi 1.1.4
*/
static NativeImageSourcePtr New( unsigned int width, unsigned int height, ColorDepth depth );
/**
- * @brief Create a new NativeImageSource from an existing native image.
+ * @brief Create a new NativeImageSource from an existing native image source.
*
* @param[in] nativeImageSource must be a X11 pixmap or a Ecore_X_Pixmap
* @return A smart-pointer to a newly allocated image.
*/
bool EncodeToFile(const std::string& filename) const;
+ /**
+ * @brief Set an existing native image source
+ *
+ * @param[in] source Any handle with native image source
+ */
+ void SetNativeImageSource( Any source );
+
private: // native image
/**
*/
virtual bool RequiresBlending() const;
+ /**
+ * @copydoc Dali::NativeImageInterface::GetExtension()
+ */
+ NativeImageInterface::Extension* GetExtension();
+
private:
/**
* @param[in] width The width of the image.
* @param[in] height The height of the image.
* @param[in] depth color depth of the image.
- * @param[in] nativeImageSource contains either: pixmap of type X11 Pixmap , a Ecore_X_Pixmap or is empty
+ * @param[in] nativeImageSource contains either: native image source or is empty
*/
DALI_INTERNAL NativeImageSource( unsigned int width, unsigned int height, ColorDepth depth, Any nativeImageSource );