#define DALI_INTERNAL_VECTOR_ANIMATION_RENDERER_IMPL_H
/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
/**
* Dali internal VectorAnimationRenderer.
*/
-class VectorAnimationRenderer : public BaseObject
+class VectorAnimationRenderer : public BaseObject, public ConnectionTracker
{
public:
void SetSize( uint32_t width, uint32_t height );
/**
- * @copydoc Dali::VectorAnimationRenderer::StartRender()
+ * @copydoc Dali::VectorAnimationRenderer::Render()
*/
- bool StartRender();
+ bool Render( uint32_t frameNumber );
/**
- * @copydoc Dali::VectorAnimationRenderer::StopRender()
+ * @copydoc Dali::VectorAnimationRenderer::GetTotalFrameNumber()
*/
- void StopRender();
+ uint32_t GetTotalFrameNumber() const;
/**
- * @copydoc Dali::VectorAnimationRenderer::Render()
+ * @copydoc Dali::VectorAnimationRenderer::GetFrameRate()
*/
- void Render( uint32_t frameNumber );
+ float GetFrameRate() const;
/**
- * @copydoc Dali::VectorAnimationRenderer::GetTotalFrameNumber()
+ * @copydoc Dali::VectorAnimationRenderer::GetDefaultSize()
+ */
+ void GetDefaultSize( uint32_t& width, uint32_t& height ) const;
+
+ /**
+ * @copydoc Dali::VectorAnimationRenderer::GetLayerInfo()
+ */
+ void GetLayerInfo( Property::Map& map ) const;
+
+ /**
+ * @copydoc Dali::VectorAnimationRenderer::UploadCompletedSignal()
*/
- uint32_t GetTotalFrameNumber();
+ Dali::VectorAnimationRenderer::UploadCompletedSignalType& UploadCompletedSignal();
private: