X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fatlas%2Fatlas-mesh-factory.h;h=a8f8d80e7106d99a2491f2a24345509e20dc41f1;hb=b8da2e53925b9abb9fa362560069e8ca4aa62f81;hp=f3a953c969124f28c1ee10e46ce371409c12612a;hpb=aae67693a392087235a203195366691f2dc9f91f;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/rendering/atlas/atlas-mesh-factory.h b/dali-toolkit/internal/text/rendering/atlas/atlas-mesh-factory.h index f3a953c..a8f8d80 100644 --- a/dali-toolkit/internal/text/rendering/atlas/atlas-mesh-factory.h +++ b/dali-toolkit/internal/text/rendering/atlas/atlas-mesh-factory.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_ATLAS_MESH_FACTORY_H__ -#define __DALI_TOOLKIT_ATLAS_MESH_FACTORY_H__ +#ifndef DALI_TOOLKIT_ATLAS_MESH_FACTORY_H +#define DALI_TOOLKIT_ATLAS_MESH_FACTORY_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -22,18 +22,15 @@ namespace Dali { - namespace Toolkit { - namespace Internal { - namespace AtlasMeshFactory { - typedef uint32_t SizeType; +typedef uint32_t SizeType; - /** +/** * @brief Create a Quad that describes an area in an atlas and a position. * * @param[in] width Width of area in pixels. @@ -43,21 +40,21 @@ namespace AtlasMeshFactory * @param[in] position Position to place area in space. * @param[out] mesh Mesh object to hold created quad. */ - void CreateQuad( SizeType width, - SizeType height, - SizeType block, - const Toolkit::AtlasManager::AtlasSize& atlasSize, - const Vector2& position, - Toolkit::AtlasManager::Mesh2D& mesh ); +void CreateQuad(SizeType width, + SizeType height, + SizeType block, + const Toolkit::AtlasManager::AtlasSize& atlasSize, + const Vector2& position, + Toolkit::AtlasManager::Mesh2D& mesh); - /** +/** * @brief Append one mesh to another. * * @param[in,out] first Mesh to append to. * @param[in] second Mesh to append. */ - void AppendMesh( Toolkit::AtlasManager::Mesh2D& first, - const Toolkit::AtlasManager::Mesh2D& second ); +void AppendMesh(Toolkit::AtlasManager::Mesh2D& first, + const Toolkit::AtlasManager::Mesh2D& second); } // namespace AtlasMeshFactory @@ -67,4 +64,4 @@ namespace AtlasMeshFactory } // namespace Dali -#endif // __DALI_TOOLKIT_ATLAS_MESH_FACTORY_H__ +#endif // DALI_TOOLKIT_ATLAS_MESH_FACTORY_H