X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fvector-animation-renderer.cpp;h=f55d839b03881c6a51952f25b70d3208b10e8aa2;hb=cb24bde9744a7bd99793edc79d5180c0a1d3bed1;hp=c02bc162e750c21343f87b321c69946bf5f43ea6;hpb=45d666eb30e44b193fed75edd7907cb95d43a20c;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp b/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp index c02bc16..f55d839 100755 --- a/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp +++ b/dali/devel-api/adaptor-framework/vector-animation-renderer.cpp @@ -1,5 +1,5 @@ /* - * 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. @@ -69,29 +69,34 @@ void VectorAnimationRenderer::SetSize( uint32_t width, uint32_t height ) GetImplementation( *this ).SetSize( width, height ); } -bool VectorAnimationRenderer::StartRender() +bool VectorAnimationRenderer::Render( uint32_t frameNumber ) { - return GetImplementation( *this ).StartRender(); + return GetImplementation( *this ).Render( frameNumber ); } -void VectorAnimationRenderer::StopRender() +uint32_t VectorAnimationRenderer::GetTotalFrameNumber() const { - GetImplementation( *this ).StopRender(); + return GetImplementation( *this ).GetTotalFrameNumber(); } -void VectorAnimationRenderer::Render( uint32_t frameNumber ) +float VectorAnimationRenderer::GetFrameRate() const { - GetImplementation( *this ).Render( frameNumber ); + return GetImplementation( *this ).GetFrameRate(); } -uint32_t VectorAnimationRenderer::GetTotalFrameNumber() const +void VectorAnimationRenderer::GetDefaultSize( uint32_t& width, uint32_t& height ) const { - return GetImplementation( *this ).GetTotalFrameNumber(); + GetImplementation( *this ).GetDefaultSize( width, height ); } -float VectorAnimationRenderer::GetFrameRate() const +void VectorAnimationRenderer::GetLayerInfo( Property::Map& map ) const { - return GetImplementation( *this ).GetFrameRate(); + GetImplementation( *this ).GetLayerInfo( map ); +} + +VectorAnimationRenderer::UploadCompletedSignalType& VectorAnimationRenderer::UploadCompletedSignal() +{ + return GetImplementation( *this ).UploadCompletedSignal(); } } // namespace Dali