Tizen Native API  6.5
Dali::Toolkit::Image Namespace Reference

Functions

DALI_TOOLKIT_API std::string GenerateUrl (const Dali::FrameBuffer frameBuffer, Pixel::Format pixelFormat, uint32_t width, uint32_t height)
 Generate a Url from frame buffer.
DALI_TOOLKIT_API std::string GenerateUrl (const Dali::FrameBuffer frameBuffer, uint8_t index)
 Generate a Url from frame buffer.
DALI_TOOLKIT_API std::string GenerateUrl (const Dali::PixelData pixelData)
 Generate a Url from Pixel data.
DALI_TOOLKIT_API std::string GenerateUrl (const Dali::NativeImageSourcePtr nativeImageSource)
 Generate a Url from native image source.

Detailed Description

API to interface with the toolkit image Allows developers to add FrameBuffer, PixelData and NativeImageSource to toolkit so that visuals can use them to render


Function Documentation

DALI_TOOLKIT_API std::string Dali::Toolkit::Image::GenerateUrl ( const Dali::FrameBuffer  frameBuffer,
Pixel::Format  pixelFormat,
uint32_t  width,
uint32_t  height 
)

Generate a Url from frame buffer.

Since:
6.0, DALi version 1.5.15

This Url can be used in visuals to render the frame buffer.

Note:
Any color textures already attached in this freme buffer are not converted to the Url by this method. This method does not check for duplicates, If same frame buffer is entered multiple times, a different URL is returned each time.
Parameters:
[in]frameBufferthe frame buffer to converted to Url
[in]pixelFormatthe pixel format for this frame buffer
[in]widththe width for this frame buffer
[in]heightthe height for this frame buffer
Returns:
the Url string representing this frame buffer
DALI_TOOLKIT_API std::string Dali::Toolkit::Image::GenerateUrl ( const Dali::FrameBuffer  frameBuffer,
uint8_t  index 
)

Generate a Url from frame buffer.

Since:
6.0, DALi version 1.5.15

This Url can be used in visuals to render the frame buffer.

Note:
Only an color texture already attached in this frame buffer can be convert to Url by this method. This method does not check for duplicates, If same frame buffer is entered multiple times, a different URL is returned each time.
Parameters:
[in]frameBufferthe frame buffer to converted to Url
[in]indexthe index of the attached color texture.
Returns:
the Url string representing this frame buffer
DALI_TOOLKIT_API std::string Dali::Toolkit::Image::GenerateUrl ( const Dali::PixelData  pixelData)

Generate a Url from Pixel data.

Since:
6.0, DALi version 1.5.15

This Url can be used in visuals to render the pixel data.

Note:
This method does not check for duplicates, If same pixel data is entered multiple times, a different URL is returned each time.
Parameters:
[in]pixelDatathe pixel data to converted to Url
Returns:
the Url string representing this pixel data
DALI_TOOLKIT_API std::string Dali::Toolkit::Image::GenerateUrl ( const Dali::NativeImageSourcePtr  nativeImageSource)

Generate a Url from native image source.

Since:
6.0, DALi version 1.5.15

This Url can be used in visuals to render the native image source.

Note:
This method does not check for duplicates, If same native image source is entered multiple times, a different URL is returned each time.
Parameters:
[in]nativeImageSourcethe native image source to converted to Url
Returns:
the Url string representing this native image source