From: JunsuChoi Date: Thu, 29 Apr 2021 02:36:12 +0000 (+0900) Subject: doc common: Add grouping of C++ api and C api X-Git-Tag: accepted/tizen/unified/20210502.124132~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=45f1fbe6b75cfc0310e421706f9600818c9c7145;p=platform%2Fcore%2Fgraphics%2Ftizenvg.git doc common: Add grouping of C++ api and C api group ThorVG C++ APIs group ThorVGCapi C APIs --- diff --git a/inc/thorvg.h b/inc/thorvg.h index 030eac9..91798eb 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -49,6 +49,11 @@ class Scene; class Picture; class Canvas; +/** + * @defgroup ThorVG C++ APIs + */ + +/**@{*/ /** * @brief Enumeration specifying the result from the APIs. @@ -161,8 +166,6 @@ struct Matrix /** * @class Paint * - * @ingroup ThorVG - * * @brief A class for managing graphic elements. * * It enables duplication, transformation and composition. @@ -264,8 +267,6 @@ public: /** * @class Fill * - * @ingroup ThorVG - * * @brief A class representing the gradient fill of the Shape object. * * It contains the information about the gradient colors and their arrangement @@ -333,8 +334,6 @@ public: /** * @class Canvas * - * @ingroup ThorVG - * * @brief A class for drawing graphic elements. * * It stores all Paint objects (Shape, Scene, Picture) and creates the buffer, which can be drawn on the screen. @@ -412,8 +411,6 @@ public: /** * @class LinearGradient * - * @ingroup ThorVG - * * @brief A class representing the linear gradient fill of the Shape object. * * Besides the APIs inherited from the Fill class, it enables setting and getting the linear gradient bounds. @@ -467,8 +464,6 @@ public: /** * @class RadialGradient * - * @ingroup ThorVG - * * @brief A class representing the radial gradient fill of the Shape object. * */ @@ -516,8 +511,6 @@ public: /** * @class Shape * - * @ingroup ThorVG - * * @brief A class representing two-dimensional figures and their properties. * * The shapes of the figures in the Shape object are stored as the sub-paths in the path. @@ -853,8 +846,6 @@ public: /** * @class Picture * - * @ingroup ThorVG - * * @brief A class representing an image read in one of the supported formats: svg, png and raw. * Besides the methods inherited from the Paint, it provides methods to load the image, * to change its size and to get the basic information. @@ -968,8 +959,6 @@ public: /** * @class Scene * - * @ingroup ThorVG - * * @brief A class enabling to hold many Paint objects. * * As a whole they can be transformed, their transparency can be changed, or the composition @@ -1024,8 +1013,6 @@ public: /** * @class SwCanvas * - * @ingroup ThorVG - * * @brief A class for the rasterisation of graphic elements with a software engine. * */ @@ -1073,8 +1060,6 @@ public: /** * @class GlCanvas * - * @ingroup ThorVG - * * @brief A class for the rasterisation of graphic elements with the OpenGL engine. * */ @@ -1102,8 +1087,6 @@ public: /** * @class Initializer * - * @ingroup ThorVG - * * @brief A class that enables initialization and termination of the ThorVG engine. * */ @@ -1136,6 +1119,8 @@ public: _TVG_DISABLE_CTOR(Initializer); }; +/** @}*/ + } //namespace #ifdef __cplusplus diff --git a/inc/thorvg_capi.h b/inc/thorvg_capi.h index 6aae0f8..fce9c43 100644 --- a/inc/thorvg_capi.h +++ b/inc/thorvg_capi.h @@ -38,6 +38,12 @@ typedef struct _Tvg_Canvas Tvg_Canvas; typedef struct _Tvg_Paint Tvg_Paint; typedef struct _Tvg_Gradient Tvg_Gradient; +/** + * \defgroup ThorVGCapi C APIs + */ + +/**@{*/ + /*! * \def TVG_ENGINE_SW * Software raster engine type. @@ -1299,6 +1305,7 @@ TVG_EXPORT Tvg_Result tvg_scene_push(Tvg_Paint* scene, Tvg_Paint* paint); */ TVG_EXPORT Tvg_Result tvg_scene_clear(Tvg_Paint* scene); +/** \}*/ #ifdef __cplusplus }