Change-Id: Iae97934376eb91ba1cc511fe751a6479aad80075
return image;
}
+Any PixmapImage::GetPixmap()
+{
+ return mImpl->GetPixmap();
+}
+
PixmapImagePtr PixmapImage::New( Any pixmap )
{
PixmapImagePtr image = new PixmapImage(0, 0, COLOR_DEPTH_DEFAULT, pixmap);
static PixmapImagePtr New( Any pixmap );
/**
+ * @brief Retrieve the internal pixmap
+ *
+ * @return pixmap any object containing the internal pixmap
+ */
+ Any GetPixmap();
+
+ /**
* @brief Get a copy of the pixels used by PixmapImage.
*
* This is only supported for 24 bit RGB and 32 bit RGBA internal formats
}
}
+Any PixmapImage::GetPixmap() const
+{
+ // return ecore x11 type
+ return Any(mPixmap);
+}
+
bool PixmapImage::GetPixels(std::vector<unsigned char>& pixbuf, unsigned& width, unsigned& height, Pixel::Format& pixelFormat) const
{
DALI_ASSERT_DEBUG(sizeof(unsigned) == 4);
unsigned int height,
Dali::PixmapImage::ColorDepth depth,
Any pixmap);
+ /**
+ * @copydoc Dali::PixmapImage::GetPixmap()
+ */
+ Any GetPixmap() const;
/**
* @copydoc Dali::PixmapImage::GetPixels()