#define DALI_TOOLKIT_NPATCH_HELPER_H
/*
- * Copyright (c) 2021 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.
*/
// EXTERNAL INCLUDES
+#include <dali/devel-api/rendering/renderer-devel.h>
#include <dali/public-api/math/uint-16-pair.h>
#include <dali/public-api/rendering/geometry.h>
-#include <dali/devel-api/rendering/renderer-devel.h>
// INTERNAL INCLUDES
+#include <dali-toolkit/devel-api/utility/npatch-utilities.h>
#include <dali-toolkit/public-api/dali-toolkit-common.h>
-#include <dali-toolkit/internal/visuals/npatch-data.h>
namespace Dali
{
namespace Toolkit
{
-namespace NPatchHelper
+namespace Internal
{
-/**
- * The list that includes stretch pixel ranges
- */
-using StretchRanges = Dali::Vector<Uint16Pair>;
+class NPatchData;
+}
+namespace NPatchHelper
+{
/**
* @brief Creates a Npatch Geometry object
*
*/
DALI_TOOLKIT_API Geometry CreateBorderGeometry(Uint16Pair gridSize);
-
/**
* @brief Registers a properties for Stretch Ranges
*
*/
void ApplyTextureAndUniforms(Renderer& renderer, const Internal::NPatchData* data);
-} // namespace NPatchUtility
+} // namespace NPatchHelper
} // namespace Toolkit