+ void OnRelayout(const Vector2& size, RelayoutContainer& container) override;
+
+ /**
+ * @copydoc Toolkit::Control::OnCreateTransitions()
+ */
+ virtual void OnCreateTransitions(std::vector<std::pair<Dali::Property::Index, Dali::Property::Map>>& sourceProperties,
+ std::vector<std::pair<Dali::Property::Index, Dali::Property::Map>>& destinationProperties,
+ Dali::Toolkit::Control source,
+ Dali::Toolkit::Control destination) override;
+
+ /**
+ * @copydoc Toolkit::Control::OnUpdateVisualProperties()
+ */
+ virtual void OnUpdateVisualProperties(const std::vector<std::pair<Dali::Property::Index, Dali::Property::Map>>& properties) override;
+
+private:
+ /**
+ * @brief Callback for ResourceReadySignal
+ * param[in] control signal prototype
+ */
+ void OnResourceReady(Toolkit::Control control);
+
+ /**
+ * @brief Set TransformMap for fittingMode
+ * param[in] finalSize The size for fittingMode
+ * param[in] textureSize The size of texture
+ * param[in] offset The offset for fittingMode
+ * param[in] fittingMode The mode for fitting image
+ * param[in] transformMap The map for fitting image
+ */
+ void SetTransformMapForFittingMode(Vector2 finalSize, Vector2 textureSize, Vector2 offset, Visual::FittingMode fittingMode, Property::Map& transformMap);
+
+ /**
+ * @brief Apply fittingMode
+ * param[in] finalSize The size for fittingMode
+ * param[in] textureSize The size of texture
+ * param[in] offset The offset for fittingMode
+ * param[in] zeroPadding whether padding is zero
+ * param[in] transformMap The map for fitting image
+ */
+ void ApplyFittingMode(Vector2 finalSize, Vector2 textureSize, Vector2 offset, bool zeroPadding, Property::Map& transformMap);