#define DALI_VECTOR_ANIMATION_RENDERER_PLUGIN_H
/*
- * Copyright (c) 2022 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
virtual bool Load(const std::string& url) = 0;
/**
+ * @brief Loads the animation file by buffer.
+ *
+ * @param[in] data The raw buffer of the vector animation file
+ * @return True if loading success, false otherwise.
+ */
+ virtual bool Load(const Dali::Vector<uint8_t>& data) = 0;
+
+ /**
* @brief Sets the renderer used to display the result image.
*
* @param[in] renderer The renderer used to display the result image
virtual bool GetMarkerInfo(const std::string& marker, uint32_t& startFrame, uint32_t& endFrame) const = 0;
/**
+ * @brief Gets the all composition marker informations.
+ *
+ * @param[out] map The marker information
+ */
+ virtual void GetMarkerInfo(Property::Map& map) const = 0;
+
+ /**
* @brief Invalidates the rendered buffer.
* @note The upload completed signal will be emitted again.
*/
*/
virtual void AddPropertyValueCallback(const std::string& keyPath, VectorProperty property, CallbackBase* callback, int32_t id) = 0;
+ virtual void KeepRasterizedBuffer() = 0;
+
/**
* @brief Connect to this signal to be notified when the texture upload is completed.
*