virtual float GetFrameRate() const = 0;
/**
- * @brief Gets the default size of the file,.
+ * @brief Gets the default size of the file.
*
- * @return The default size of the file
+ * @param[out] width The default width of the file
+ * @param[out] height The default height of the file
*/
virtual void GetDefaultSize( uint32_t& width, uint32_t& height ) const = 0;
/**
+ * @brief Gets the layer information of all the child layers.
+ *
+ * @param[out] map The layer information
+ */
+ virtual void GetLayerInfo( Property::Map& map ) const = 0;
+
+ /**
* @brief Connect to this signal to be notified when the texture upload is completed.
*
* @return The signal to connect to.
GetImplementation( *this ).GetDefaultSize( width, height );
}
+void VectorAnimationRenderer::GetLayerInfo( Property::Map& map ) const
+{
+ GetImplementation( *this ).GetLayerInfo( map );
+}
+
VectorAnimationRenderer::UploadCompletedSignalType& VectorAnimationRenderer::UploadCompletedSignal()
{
return GetImplementation( *this ).UploadCompletedSignal();
float GetFrameRate() const;
/**
- * @brief Gets the default size of the file,.
+ * @brief Gets the default size of the file.
*
- * @return The default size of the file
+ * @param[out] width The default width of the file
+ * @param[out] height The default height of the file
*/
void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
+ /**
+ * @brief Gets the layer information of all the child layers.
+ *
+ * @param[out] map The layer information
+ */
+ void GetLayerInfo( Property::Map& map ) const;
+
public: // Signals
/**
mPlugin.GetDefaultSize( width, height );
}
+void VectorAnimationRenderer::GetLayerInfo( Property::Map& map ) const
+{
+ mPlugin.GetLayerInfo( map );
+}
+
Dali::VectorAnimationRenderer::UploadCompletedSignalType& VectorAnimationRenderer::UploadCompletedSignal()
{
return mPlugin.UploadCompletedSignal();
void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
/**
+ * @copydoc Dali::VectorAnimationRenderer::GetLayerInfo()
+ */
+ void GetLayerInfo( Property::Map& map ) const;
+
+ /**
* @copydoc Dali::VectorAnimationRenderer::UploadCompletedSignal()
*/
Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal();
}
}
+void VectorAnimationRendererPluginProxy::GetLayerInfo( Property::Map& map ) const
+{
+ if( mPlugin )
+ {
+ mPlugin->GetLayerInfo( map );
+ }
+}
+
VectorAnimationRendererPlugin::UploadCompletedSignalType& VectorAnimationRendererPluginProxy::UploadCompletedSignal()
{
if( mPlugin )
void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
/**
+ * @copydoc Dali::VectorAnimationRendererPlugin::GetLayerInfo()
+ */
+ void GetLayerInfo( Property::Map& map ) const;
+
+ /**
* @copydoc Dali::VectorAnimationRendererPlugin::UploadCompletedSignal()
*/
VectorAnimationRendererPlugin::UploadCompletedSignalType& UploadCompletedSignal();