class Picture;
class Canvas;
+/**
+ * @defgroup ThorVG C++ APIs
+ */
+
+/**@{*/
/**
* @brief Enumeration specifying the result from the APIs.
/**
* @class Paint
*
- * @ingroup ThorVG
- *
* @brief A class for managing graphic elements.
*
* It enables duplication, transformation and composition.
/**
* @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
/**
* @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.
/**
* @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.
/**
* @class RadialGradient
*
- * @ingroup ThorVG
- *
* @brief A class representing the radial gradient fill of the Shape object.
*
*/
/**
* @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.
/**
* @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.
/**
* @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
/**
* @class SwCanvas
*
- * @ingroup ThorVG
- *
* @brief A class for the rasterisation of graphic elements with a software engine.
*
*/
/**
* @class GlCanvas
*
- * @ingroup ThorVG
- *
* @brief A class for the rasterisation of graphic elements with the OpenGL engine.
*
*/
/**
* @class Initializer
*
- * @ingroup ThorVG
- *
* @brief A class that enables initialization and termination of the ThorVG engine.
*
*/
_TVG_DISABLE_CTOR(Initializer);
};
+/** @}*/
+
} //namespace
#ifdef __cplusplus
typedef struct _Tvg_Paint Tvg_Paint;
typedef struct _Tvg_Gradient Tvg_Gradient;
+/**
+ * \defgroup ThorVGCapi C APIs
+ */
+
+/**@{*/
+
/*!
* \def TVG_ENGINE_SW
* Software raster engine type.
*/
TVG_EXPORT Tvg_Result tvg_scene_clear(Tvg_Paint* scene);
+/** \}*/
#ifdef __cplusplus
}